apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patai Sangbutsarakum" <pata...@gmail.com>
Subject Re: apr-util with Openldap 2.3.27 compilation error --- text...
Date Sat, 18 Nov 2006 08:17:51 GMT
Oh no,
wrongly copy/paste, ok...

[patrick@zeus apr-util]$ ./configure --enable-layout=RedHat
--with-ldap-include=/usr/include \
> --with-ldap-lib=/usr/lib --with-ldap=/usr/lib/libldap-2.3.so.0.2.15 \
> --with-apr=/usr/bin
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 a BSD-compatible install... /usr/bin/install -c
checking for working mkdir -p... yes
APR-util Version: 1.3.0
checking for chosen layout... RedHat
Applying apr-util hints file rules for i686-pc-linux-gnu
checking for APR... yes
  setting CC to "gcc"
  setting CPP to "gcc -E"
  setting CFLAGS to " -g -O2 -pthread"
  setting CPPFLAGS to " -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE
-D_LARGEFILE64_SOURCE"
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 ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for ldap support...
  setting APRUTIL_INCLUDES to "-I/usr/include"
  setting APRUTIL_LDFLAGS to "-L/usr/lib"
./configure: line 10612: unset:
`ac_cv_lib_/usr/lib/libldap-2.3.so.0.2.15_ldap_init': not a valid
identifier
./configure: line 10613: unset:
`ac_cv_lib_/usr/lib/libldap-2.3.so.0.2.15___ldap_init': not a valid
identifier
checking for ldap_init in -l/usr/lib/libldap-2.3.so.0.2.15... no
./configure: line 11216: unset:
`ac_cv_lib_/usr/lib/libldap-2.3.so.0.2.15_ldap_init': not a valid
identifier
./configure: line 11217: unset:
`ac_cv_lib_/usr/lib/libldap-2.3.so.0.2.15___ldap_init': not a valid
identifier
checking for ldap_init in -l/usr/lib/libldap-2.3.so.0.2.15... (cached) no
./configure: line 11820: unset:
`ac_cv_lib_/usr/lib/libldap-2.3.so.0.2.15_ldap_init': not a valid
identifier
./configure: line 11821: unset:
`ac_cv_lib_/usr/lib/libldap-2.3.so.0.2.15___ldap_init': not a valid
identifier
checking for ldap_init in -l/usr/lib/libldap-2.3.so.0.2.15... (cached) no
./configure: line 12424: unset:
`ac_cv_lib_/usr/lib/libldap-2.3.so.0.2.15_ldap_init': not a valid
identifier
./configure: line 12425: unset:
`ac_cv_lib_/usr/lib/libldap-2.3.so.0.2.15___ldap_init': not a valid
identifier
checking for ldap_init in -l/usr/lib/libldap-2.3.so.0.2.15... (cached) no
configure: error: could not find an LDAP library

hope this help
P.

>On 11/17/06, Patai Sangbutsarakum <patai.s@gmail.com> wrote:
>
> I have probem in making apr-util has ldap support.
>
> $ ./configure --enable-layout=RedHat
> --with-ldap-inclub=/usr/lib --with-apr=/usr/bin
                          ^^^^ huh?

-- 
Eric Covener
covener@gmail.com

On 11/17/06, Patai Sangbutsarakum <patai.s@gmail.com> wrote:
> Dear gurus,
>
> So sorry for previously eye sore html email ...
> I just could not figure out the mail client on how to turn of rich text...
>
> I have probem in making apr-util has ldap support.
> I tried with the version of 0.9.12, 1.2.7, and finally subversion (by
> svn co http:// .... command)
>
> here is my snipped output
>
> [patrick@zeus apr-util]$ ./configure --enable-layout=RedHat
> --with-ldap-inclub=/usr/lib --with-apr=/usr/bin
> --with-ldap=libldap-2.3.so.0.2.18
> 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 a BSD-compatible install... /usr/bin/install -c
> checking for working mkdir -p... yes
> APR-util Version: 1.3.0
> checking for chosen layout... RedHat
> Applying apr-util hints file rules for i686-pc-linux-gnu
> checking for APR... yes
>   setting CC to "gcc"
>   setting CPP to "gcc -E"
>   setting CFLAGS to " -g -O2 -pthread"
>   setting CPPFLAGS to " -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE
> -D_LARGEFILE64_SOURCE"
> 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 ANSI C... none needed
> checking how to run the C preprocessor... gcc -E
> checking for egrep... grep -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking for ldap support...
> ./configure: line 10612: unset:
> `ac_cv_lib_libldap-2.3.so.0.2.15_ldap_init': not a valid identifier
> ./configure: line 10613: unset:
> `ac_cv_lib_libldap-2.3.so.0.2.15___ldap_init': not a valid identifier
> checking for ldap_init in -llibldap-2.3.so.0.2.15... no
> ./configure: line 11216: unset:
> `ac_cv_lib_libldap-2.3.so.0.2.15_ldap_init': not a valid identifier
> ./configure: line 11217: unset:
> `ac_cv_lib_libldap-2.3.so.0.2.15___ldap_init': not a valid identifier
> checking for ldap_init in -llibldap-2.3.so.0.2.15... (cached) no
> ./configure: line 11820: unset:
> `ac_cv_lib_libldap-2.3.so.0.2.15_ldap_init': not a valid identifier
> ./configure: line 11821: unset:
> `ac_cv_lib_libldap-2.3.so.0.2.15___ldap_init': not a valid identifier
> checking for ldap_init in -llibldap-2.3.so.0.2.15... (cached) no
> ./configure: line 12424: unset:
> `ac_cv_lib_libldap-2.3.so.0.2.15_ldap_init': not a valid identifier
> ./configure: line 12425: unset:
> `ac_cv_lib_libldap-2.3.so.0.2.15___ldap_init': not a valid identifier
> checking for ldap_init in -llibldap-2.3.so.0.2.15... (cached) no
> configure: error: could not find an LDAP library
>
>
> Really surprised libldap is there
>
> [root@zeus ~]# ls -al /usr/lib |grep libldap-2.3.so*
> lrwxrwxrwx    1 root root          21 Nov 16 01:18 libldap-2.3.so.0 ->
> libldap-2.3.so.0.2.18
> -rw-r--r--    1 root root      685869 Nov 16 01:18 libldap-2.3.so.0.2.18
> lrwxrwxrwx    1 root root          21 Nov 16 01:18 libldap.so ->
> libldap-2.3.so.0.2.18
>
> and in subversion source code include/apr_ldap.h.in was
> there since it has been checked out
>
> [root@zeus include]# grep DEPRECATED apr_ldap.h.in
>  * The following #defines are DEPRECATED and should not be used for
> #if APR_HAS_OPENLDAP_LDAPSDK && !defined(LDAP_DEPRECATED)
> #define LDAP_DEPRECATED 1
>
> pls, pls suggest
>
> Pat.
>

Mime
View raw message