Cliff Woolley wrote:
> 
> On Wed, 26 Feb 2003, Trevor Hurst wrote:
> 
> > > Because when I run the make I get the following errors:
> > >
> > > -static -c mod_auth_ldap.c && touch mod_auth_ldap.lo
> > > mod_auth_ldap.c:82:2: #error mod_auth_ldap requires APR-util to have LDAP
> > > support built in
> 
> If you go into the apr-util directory and run ./configure --help, among
> other things it will tell you:
> 
>   --with-ldap-include=path  path to ldap include files with trailing slash
>   --with-ldap-lib=path    path to ldap lib file
>   --with-ldap=library     ldap library to use
> 
> Go back to the top-level Apache directory and pass ./configure these
> arguments, and it will pass them through to apr-util for you.
> 
> I admit this is not entirely obvious, but it's just the way it is.
> 
> --Cliff

Man this is frustrating. I went ahead and installed LDAP and point the
proper parameters as you suggested to the locations where ldap is
installed and it complains of not finding ldap.. 

Here's the output from:--with-ldap-lib=/usr/freeware/lib32/libldap.so.3

./configure --with-ldap-include=/usr/freeware/include/
--with-ldap-lib=/usr/freeware/lib32/
--with-ldap=libldap.so.3 --enable-auth-ldap

and get the following:

APR-util Version: 0.9.2
checking for chosen layout... apr-util
Applying apr-util hints file rules for mips-sgi-irix6.5
checking for APR... yes
checking for gcc... gcc
checking for C compiler default output... 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... no
checking for unistd.h... yes
checking for ldap support...
  setting APRUTIL_INCLUDES to "-I/usr/freeware/include/"
  setting APRUTIL_LDFLAGS to "-L/usr/freeware/lib32/libldap.so.3"
checking for ldap_init in -lldap50... no
checking for ldap_init in -lldapssl41... no
checking for ldap_init in -lldapssl40... no
checking for ldap_init in -lldapssl30... no
checking for ldap_init in -lldapssl20... no
checking for ldap_init in -lldap... no
checking for ldap_init in -lldap... (cached) no
checking for ldap_init in -lldap... (cached) no
configure: error: could not find an LDAP library
configure failed for srclib/apr-util


Any ideas now? I am running out of ideas.... ;-/

Thanks,

-- Trev

-- 
Trevor Hurst
Senior Systems Administrator
DCO Unix Production Systems
Silicon Graphics
Office Ph: 650.933.6144
e-mail: [EMAIL PROTECTED]
pager: [EMAIL PROTECTED]

--
Thus a mind that is free from passion is a very citadel;
man has no stronger fortress in which to seek shelter and
defy every assault. Failure to perceive this is ignorance;
but to perceive it, and still not to seek its refuge, is
misfortune indeed. --Marcus Aurelius

Reply via email to