Hi,
I'm trying to compile Apache from source for LDAP support. The LDAP module requires a minimum of Apache 2.0.31. I downloaded the latest 2.0.47
util_ldap.c:81:2: #error mod_ldap requires APR-util to have LDAP support built in
So I download and build apr and apr-util (
www.apache.org/dist/apr)
Now I re-run configure...
./configure --enable-cgi --enable-so \
--with-apr=/usr/local/apr \
--with-apr-util=/usr/local/apr \
--enable-ldap --enable-module=auth-ldap \
--enable-shared=auth-ldap \
--enable-ssl --enable-moduel=ssl \
--enable-shared=ssl
Configure doesn't complete - instead of trying to run GCC it incorrectly tries to run apr-util. OK, I can handle that...
CC=gcc CPP="gcc -E" ./configure --enable-cgi --enable-so \
--with-apr=/usr/local/apr \
--with-apr-util=/usr/local/apr \
--enable-ldap --enable-module=auth-ldap \
--enable-shared=auth-ldap \
--enable-ssl --enable-moduel=ssl \
--enable-shared=ssl
Great, so I make Apache - now here's the kicker...
util_ldap.c:81:2: #error mod_ldap requires APR-util to have LDAP support built in
Anybody run into this? More importantly, anybody work around it?
Thanks