httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Thomas" <>
Subject [users@httpd] Problems building 2.0 with mod_auth_ldap
Date Thu, 10 Nov 2005 23:47:05 GMT
Hi! Hoping someone can help with this.

I'm trying to build Apache 2.0.55 on Solaris 8 (SPARC). I want to upgdate
from 1.3, and also want to add support for SSL. So my configure is:

./configure \
        --prefix=/usr/local/apache2 \
        --with-ldap \
        --enable-mods-shared=most \
        --enable-mime-magic=shared \
        --enable-speling=shared \
        --enable-ldap=shared \
        --enable-auth-ldap=shared \
        --enable-ssl=shared \
        --with-ssl=/usr/local/ssl \
        --enable-info \

I have installed OpenSSL. I understood that Solaris includes LDAP support --
works in Apache 1.3. But, when I run make, I get this:

Building shared:
make[4]: Entering directory
/home/uals/kit/httpd-2.0.55/srclib/apr/libtool --silent --mode=compile gcc
-I/home/uals/kit/httpd-2.0.55/srclib/apr-util/xml/expat/lib -I.
-I/usr/local/ssl/include/openssl -I/usr/local/ssl/include
-I/home/uals/kit/httpd-2.0.55/modules/dav/main -prefer-pic -c util_ldap.c &&
touch util_ldap.slo
util_ldap.c: In function `util_ldap_connection_open':
util_ldap.c:248: error: `LDAP_VERSION3' undeclared (first use in this
util_ldap.c:248: error: (Each undeclared identifier is reported only once
util_ldap.c:248: error: for each function it appears in.)
util_ldap.c:287: warning: passing arg 1 of `ldap_init' discards qualifiers
from pointer target type
util_ldap.c:290: error: `LDAP_OPT_X_TLS_HARD' undeclared (first use in this
util_ldap.c:291: error: `LDAP_OPT_X_TLS' undeclared (first use in this
util_ldap.c:322: error: `LDAP_OPT_DEREF' undeclared (first use in this
util_ldap.c:325: error: `LDAP_OPT_PROTOCOL_VERSION' undeclared (first use in
this function)
util_ldap.c: In function `util_ldap_post_config':
util_ldap.c:1602: error: `LDAP_OPT_X_TLS_CACERTFILE' undeclared (first use
in this function)
make[4]: *** [util_ldap.slo] Error 1
make[4]: Leaving directory
make[3]: *** [shared-build-recursive] Error 1
make[3]: Leaving directory
make[2]: *** [shared-build-recursive] Error 1
make[2]: Leaving directory `/home/uals/kit/httpd-2.0.55/modules'
make[1]: *** [shared-build-recursive] Error 1
make[1]: Leaving directory `/home/uals/kit/httpd-2.0.55'
make: *** [all-recursive] Error 1

Which leaves me basically dead without help. Any ideas as to how to proceed
(other than sticking with 1.3!) will be gratefully received.

Stephen Thomas, 
Senior Systems Analyst, 
University of Adelaide Library
Phone: +61 8 830 35190  Fax: +61 8 830 34369
CRICOS Provider Number 00123M
This email message is intended only for the addressee(s) 
and contains information that may be confidential and/or 
copyright.  If you are not the intended recipient please 
notify the sender by reply email and immediately delete 
this email. Use, disclosure or reproduction of this email 
by anyone other than the intended recipient(s) is strictly 
prohibited. No representation is made that this email or 
any attachments are free of viruses. Virus scanning is 
recommended and is the responsibility of the recipient.

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message