Hello,

I'm having trouble building Apache 2.4.2 with LDAP support.
I get:

checking for ldap support in apr/apr-util... no
configure: WARNING: apr/apr-util is compiled without ldap support
checking whether to enable mod_authnz_ldap...
configure: error: mod_authnz_ldap has been requested but can not be built
due to prerequisite failures

I have the APR and APR source unpacked in to srclib.
My build directory is like this:

~/BUILD/httpd-2.4.2/
~/BUILD/httpd-2.4.2/srclib/apr/                         (apr 1.4.6)
~/BUILD/httpd-2.4.2/srclib/apr-util/                   (apr util 2.4.2)

My configure is:

./configure --prefix=/usr/local/apache2 --with-included-apr --enable-ldap
--enable-authnz-ldap


If I go in to srclib/apr-util  and configure apr-util manually with

 ./configure --enable-ldap --with-apr=../apr

I can build apr-util.  But then when I configure and build apache it fails.

Any ideas?

Paul

Reply via email to