On Tue, 23 Oct 2007 15:29:16 +0200 "karim Bendadda" <[EMAIL PROTECTED]> wrote:
> Hi everybody, > > I'm trying to make the mod_auth_ldap.c ( That'll be with apache 2.0, I presume? The 2.2 version is mod_authnz_ldap. > http://www.muquit.com/muquit/software/mod_auth_ldap/mod_auth_ldap.html). Who or what is muquit.com? > I installed the openldap but I have the same error when doying the > make (I think the compilation is ok), Have you any idea??? > > debian:/usr/local/modauthldap_apache2# make > /usr/local/apache2/bin/apxs -c -DHAVE_SOCKET=1 -DHAVE_HTONL=1 > -DHAVE_GETHOSTNAME=1 -DHAVE_GETHOSTBYADDR=1 > -DHAVE_YP_GET_DEFAULT_DOMAIN=1 -DHAVE_LIBNSL=1 -DHAVE_RES_SEARCH=1 > -DHAVE_LIBRESOLV=1 -DHAVE_INET_ATON=1 -DHAVE_DN_SKIPNAME=1 > -DHAVE_NSLDAP=1 -DHAVE_LDAP=1 -DHAVE_SSL=1 > -I/usr/local/iplanet/include > mod_auth_ldap.c /usr/local/apache2/build/libtool --silent > --mode=compile gcc -prefer-pic -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE > -D_LARGEFILE64_SOURCE -g -O2 -pthread -I/usr/local/apache2/include > -I/usr/local/apache2/include -I/usr/local/apache2/include > -I/usr/local/iplanet/include -DHAVE_SOCKET=1 -DHAVE_HTONL=1 > -DHAVE_GETHOSTNAME=1 -DHAVE_GETHOSTBYADDR=1 > -DHAVE_YP_GET_DEFAULT_DOMAIN=1 -DHAVE_LIBNSL=1 -DHAVE_RES_SEARCH=1 > -DHAVE_LIBRESOLV=1 -DHAVE_INET_ATON=1 -DHAVE_DN_SKIPNAME=1 > -DHAVE_NSLDAP=1 -DHAVE_LDAP=1 -DHAVE_SSL=1 -c -o mod_auth_ldap.lo > mod_auth_ldap.c && touch mod_auth_ldap.slo mod_auth_ldap.c:61:24: > error: apr_compat.h: No such file or directory mod_auth_ldap.c: In apr_compat was deprecated in 2.0 and removed in 2.2. Looks like a module written for Apache 1.x. -- Nick Kew Application Development with Apache - the Apache Modules Book http://www.apachetutor.org/
