DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43328>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43328

           Summary: mod_authnz_ldap does not compile
           Product: Apache httpd-2
           Version: 2.2.4
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: Build
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


[Applies to both 2.2.4 and 2.2.6, but for the latter, there is no Version in
bugzilla at the time of writing]

My script to configure:

#!/bin/sh
make distclean
export CFLAGS="-I/usr/local/openldap-2.3.27/include
-I/usr/local/src/httpd-2.2.4/srclib/apr-util/include"
export LDFLAGS="-L/usr/local/openldap-2.3.27/lib
-L/usr/local/src/httpd-2.2.4/srclib/apr-util/lib"
./configure --enable-threads=posix \
  --prefix=/usr/local/httpd-2.2.6 \
  --enable-dav \
  --enable-dav-fs \
  --enable-dav-lock \
  --enable-so \
  --enable-dbd \
  --enable-mods-shared=all \
  --enable-ssl \
  --with-ssl=/usr/local/openssl-0.9.8e \
  --with-ldap \
  --with-authnz-ldap

Build fails with:

/bin/sh /usr/local/src/httpd-2.2.6/srclib/apr/libtool --silent --mode=compile
gcc -pthread  -I/usr/local/openldap-2.3.27/include
-I/usr/local/src/httpd-2.2.4/srclib/apr-util/include -DHAVE_CONFIG_H -DLINUX=2
-D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE  
-I/usr/local/src/httpd-2.2.6/srclib/apr-util/include
-I/usr/local/src/httpd-2.2.6/srclib/apr-util/include/private 
-I/usr/local/src/httpd-2.2.6/srclib/apr/include    -o ldap/apr_ldap_init.lo -c
ldap/apr_ldap_init.c && touch ldap/apr_ldap_init.lo
In file included from ldap/apr_ldap_init.c:27:
/usr/local/src/httpd-2.2.6/srclib/apr-util/include/apr_ldap.h:103:2: error:
#error Support for LDAP v2.0 toolkits has been removed from apr-util. Please use
an LDAP v3.0 toolkit.

To me, this is the same error as in
http://mail-archives.apache.org/mod_mbox/httpd-users/200704.mbox/[EMAIL 
PROTECTED]
2.0.61 compiles fine

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to