openVPN authentication through openLDAP
I'm trying to install openvpn-auth-ldap to work with my openLDAP and have a SSO feature in my company:
http://code.google.local/p/openvpn-auth-ldap/ However when I do this, I'm runnng across this error: root@ldapsrv1:~/auth-ldap-2.0.3# ./configure --prefix=/usr/local --with-openldap=/usr/local --with-openvpn=/usr/ports/security/openvpn/work/openvpn-2.0.2 checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for gcc... gcc checking whether we are using the GNU Objective C compiler... no checking whether gcc accepts -x objective-c... no checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether make sets $(MAKE)... yes checking for re2c... /usr/bin/re2c checking for doxygen... no checking for dot... no checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for BSD pf(4) support... no configure: WARNING: pf(4) table support will not be included. checking for strlcpy... no checking for openldap... no configure: error: Could not locate a working OpenLDAP library installation. Try --with-openldap= See `config.log' for more details. Here's my config.log: his 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; Please advise… Cheers, DB |
Quote:
That package should give you the libraries you need. - Arch .. sry, I hope you've already got yourself sorted out, I know this thread is a bit old ;) |
All times are GMT -5. The time now is 07:00 AM. |