You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Stephen Thomas <st...@adelaide.edu.au> on 2005/11/11 00:47:05 UTC

[users@httpd] Problems building 2.0 with mod_auth_ldap

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 \
        -q

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: mod_ldap.la mod_auth_ldap.la
make[4]: Entering directory
`/home/uals/kit/httpd-2.0.55/modules/experimental'
/home/uals/kit/httpd-2.0.55/srclib/apr/libtool --silent --mode=compile gcc
-g -O2 -pthreads    -DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
-DAP_HAVE_DESIGNATED_INITIALIZER
-I/home/uals/kit/httpd-2.0.55/srclib/apr/include
-I/home/uals/kit/httpd-2.0.55/srclib/apr-util/include
-I/home/uals/kit/httpd-2.0.55/srclib/apr-util/xml/expat/lib -I.
-I/home/uals/kit/httpd-2.0.55/os/unix
-I/home/uals/kit/httpd-2.0.55/server/mpm/prefork
-I/home/uals/kit/httpd-2.0.55/modules/http
-I/home/uals/kit/httpd-2.0.55/modules/filters
-I/home/uals/kit/httpd-2.0.55/modules/proxy
-I/home/uals/kit/httpd-2.0.55/include
-I/home/uals/kit/httpd-2.0.55/modules/generators
-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
function)
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
function)
util_ldap.c:291: error: `LDAP_OPT_X_TLS' undeclared (first use in this
function)
util_ldap.c:322: error: `LDAP_OPT_DEREF' undeclared (first use in this
function)
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
`/home/uals/kit/httpd-2.0.55/modules/experimental'
make[3]: *** [shared-build-recursive] Error 1
make[3]: Leaving directory
`/home/uals/kit/httpd-2.0.55/modules/experimental'
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
UNIVERSITY OF ADELAIDE SA 5005
AUSTRALIA
Phone: +61 8 830 35190  Fax: +61 8 830 34369
Email: stephen.thomas@adelaide.edu.au 
URL: http://staff.library.adelaide.edu.au/~sthomas/
 
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: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