You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Quentin North <q....@ucl.ac.uk> on 2006/10/27 17:40:35 UTC
[users@httpd] Problem building apache 2.2.23 with mod_ldap_auth
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: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Problem building apache 2.2.23 with mod_ldap_auth
Posted by "John P. Dodge" <do...@cruciate.ca.boeing.com>.
On Fri, 27 Oct 2006, Quentin North wrote:
> 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..]
>
> 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
Use the following configure options to build APR with ldap:
--with-ldap --with-ldap-dir=/opt/openldap
----------------------------------------
"Mon aƩroglisseur est plein d'anguilles"
John P. Dodge
Boeing Shared Services
---------------------------------------------------------------------
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: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org