Im trying to build apache 2.2.23 on Centos4 with mod_ldap_auth. Im using
the following configure line:

./configure --prefix=/apache --enable-ldap --enable-auth-ldap
--with-apr=srclib/apr --with-apr-util=srclib/apr-util

When I try the make, I get the following output and errors:

[..snip..]

Making all in ldap
make[2]: Entering directory `/home/twiki/httpd-2.2.3/modules/ldap'
make[3]: Entering directory `/home/twiki/httpd-2.2.3/modules/ldap'
/home/twiki/httpd-2.2.3/srclib/apr/libtool --silent --mode=compile gcc
-g -O2 -pthread    -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE
-D_LARGEFILE64_SOURCE    -I/home/twiki/httpd-2.2.3/srclib/pcre -I.
-I/home/twiki/httpd-2.2.3/os/unix
-I/home/twiki/httpd-2.2.3/server/mpm/prefork
-I/home/twiki/httpd-2.2.3/modules/http
-I/home/twiki/httpd-2.2.3/modules/filters
-I/home/twiki/httpd-2.2.3/modules/proxy
-I/home/twiki/httpd-2.2.3/include
-I/home/twiki/httpd-2.2.3/modules/generators
-I/home/twiki/httpd-2.2.3/modules/mappers
-I/home/twiki/httpd-2.2.3/modules/database
-I/home/twiki/httpd-2.2.3/srclib/apr/include
-I/home/twiki/httpd-2.2.3/srclib/apr-util/include
-I/home/twiki/httpd-2.2.3/modules/proxy/../generators
-I/usr/kerberos/include -I/home/twiki/httpd-2.2.3/modules/ssl
-I/home/twiki/httpd-2.2.3/modules/dav/main  -prefer-non-pic -static -c
util_ldap.c && touch util_ldap.lo

[..snip..]

util_ldap.c:41:2: #error mod_ldap requires APR-util to have LDAP support
built in
util_ldap.c: In function `util_ldap_handler':

[..snip..]

The apr lib sources appears to be in in srclib/apr and srclib/apr-util
so I cant see why it cant find the includes in srclib/apr*/include and
the compile seems to be failing when trying to #include <apr_strings.h>

Ive tried using an unbundled apr and apr-util but configure says it must
use bundled apr.

Please can someone tell what I need to do to get this to build?

Thanks

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to