nagyistoce / openvpn-auth-ldap

Automatically exported from code.google.com/p/openvpn-auth-ldap
Other
0 stars 0 forks source link

openVPN authentication through openLDAP #17

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. ./configure --prefix=/usr/local --with-openldap=/usr/local --with-
openvpn=/usr/ports/security/openvpn/work/openvpn-2.0.2

What is the expected output? What do you see instead?
configure: error: Could not locate a working OpenLDAP library installation. Try 
--with-
openldap=
See `config.log' for more details.

What version of the product are you using? On what operating system?
auth-ldap configure 2.0 Ubuntu Server

Please provide any additional information below.
Here's my config.log:
this file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by auth-ldap configure 2.0, which was
generated by GNU Autoconf 2.60. Invocation command line was

$ ./configure --prefix=/usr/local --with-openldap=/usr/local --with-
openvpn=/usr/ports/security/openvpn/work/openvpn-2.0.2

## --------- ##
## Platform. ##
## --------- ##

hostname = ldapsrv1.csaa.local
uname -m = i686
uname -r = 2.6.24-23-server
uname -s = Linux
uname -v = #1 SMP Thu Nov 27 19:19:15 UTC 2008

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games

## ----------- ##
## Core tests. ##
## ----------- ##

configure:1781: checking build system type
configure:1799: result: i686-pc-linux-gnu
configure:1821: checking host system type
configure:1836: result: i686-pc-linux-gnu
configure:1858: checking target system type
configure:1873: result: i686-pc-linux-gnu
configure:1951: checking for gcc
"config.log" 688L, 22406C
configure:2426: result:
configure:2432: checking for suffix of object files
configure:2458: gcc -c conftest.c >&5
configure:2461: $? = 0
configure:2484: result: o
configure:2488: checking whether we are using the GNU C compiler
configure:2517: gcc -c conftest.c >&5
configure:2523: $? = 0
configure:2530: test -z "$ac_c_werror_flag" || test ! -s conftest.err
configure:2533: $? = 0
configure:2540: test -s conftest.o
configure:2543: $? = 0
configure:2557: result: yes
configure:2562: checking whether gcc accepts -g
configure:2592: gcc -c -g conftest.c >&5
configure:2598: $? = 0
configure:2605: test -z "$ac_c_werror_flag" || test ! -s conftest.err
configure:2608: $? = 0
configure:2615: test -s conftest.o
configure:2618: $? = 0
configure:2748: result: yes
configure:2765: checking for gcc option to accept ISO C89
configure:2839: gcc -c -g -O2 conftest.c >&5
configure:2845: $? = 0
configure:2852: test -z "$ac_c_werror_flag" || test ! -s conftest.err
configure:2855: $? = 0
configure:2862: test -s conftest.o
configure:2865: $? = 0
configure:2885: result: none needed
configure:2957: checking for gcc
configure:2973: found /usr/bin/gcc
configure:2984: result: gcc
configure:3014: checking for Objective C compiler version
configure:3017: gcc --version </dev/null >&5
gcc (GCC) 4.2.4 (Ubuntu 4.2.4-1ubuntu4)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3020: $? = 0
configure:3022: gcc -v </dev/null >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v 
--enable-languages=c,c++,fortran,objc,obj-c++,treelang 
--prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib 
--without-
included-gettext --enable-threads=posix --enable-nls --with-gxx-include-
dir=/usr/include/c++/4.2 --program-suffix=-4.2 --enable-clocale=gnu 
--enable-libstdcxx-
debug --enable-objc-gc --enable-mpfr --enable-targets=all 
--enable-checking=release --
build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu4)
configure:3025: $? = 0
configure:3027: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:3030: $? = 1
configure:3033: checking whether we are using the GNU Objective C compiler
configure:3062: gcc -c conftest.m >&5
gcc: error trying to exec 'cc1obj': execvp: No such file or directory
configure:3068: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "auth-ldap"
| #define PACKAGE_TARNAME "auth-ldap"
| #define PACKAGE_VERSION "2.0"
| #define PACKAGE_STRING "auth-ldap 2.0"
| #define PACKAGE_BUGREPORT "landonf@opendarwin.org"
| /* end confdefs.h. */
|
| int
| main ()
| {
| #ifndef __GNUC__
| choke me
| #endif
|
| ;
| return 0;
| }
configure:3102: result: no
configure:3108: checking whether gcc accepts -x objective-c
configure:3134: gcc -c -x objective-c conftest.m >&5
gcc: error trying to exec 'cc1obj': execvp: No such file or directory
configure:3140: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "auth-ldap"
| #define PACKAGE_TARNAME "auth-ldap"
| #define PACKAGE_VERSION "2.0"
| #define PACKAGE_STRING "auth-ldap 2.0"
| #define PACKAGE_BUGREPORT "landonf@opendarwin.org"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;

Original issue reported on code.google.com by deibert...@yahoo.com on 16 Oct 2009 at 4:10

GoogleCodeExporter commented 9 years ago
1. Install the openldap development files for your distribution.
2. Try leaving off the '--with-openldap=/usr/local' part. autoconf should find 
it if
it is in the 'stardard library location'. Installing openldap-dev(el) via your
distribution should put the libs in the ld search path directory.

Original comment by elij...@gmail.com on 1 Jan 2010 at 12:44