httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Colin Harford <charford-l...@infinithost.com>
Subject [users@httpd] mod_ldap compile problems...
Date Thu, 06 Mar 2003 06:35:27 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Trying to compile mod_ldap support on Apache-2.0.44 for FreeBSD 5.0 on 
an i386.
OpenLDAP-2.1.12  is installed, and running from /opt/openldap


Apache Configure Options: env LDFLAGS="-L/opt/openldap/lib 
- -L/usr/local/lib/ -L/usr/lib" ./configure --with-ldap --enable-ldap 
- --prefix=/opt/apache2/

Relevent configure output:

Configuring Apache Portable Runtime Utility library...

checking for APR-util... reconfig
configuring package in srclib/apr-util now
checking build system type... i386-unknown-freebsd5.0
checking host system type... i386-unknown-freebsd5.0
checking target system type... i386-unknown-freebsd5.0
checking for working mkdir -p... yes
APR-util Version: 0.9.2
checking for chosen layout... apr-util
Applying apr-util hints file rules for i386-unknown-freebsd5.0
checking for APR... yes
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for ldap support...
checking for ldap_init in -lldap50... no
checking for ldap_init in -lldapssl41... no
checking for ldap_init in -lldapssl40... no
checking for ldap_init in -lldapssl30... no
checking for ldap_init in -lldapssl20... no
checking for ldap_init in -lldap... yes
   setting APRUTIL_EXPORT_LIBS to "-lldap -llber"
   setting APRUTIL_LIBS to "-lldap -llber"
checking for ldapssl_install_routines in -lldap... no
checking for ldap_start_tls_s in -lldap... yes
checking for ber_init in -llber... yes
checking ldap.h usability... no
checking ldap.h presence... no
checking for ldap.h... no
checking lber.h usability... no
checking lber.h presence... no
checking for lber.h... no
checking ldap_ssl.h usability... no
checking ldap_ssl.h presence... no
checking for ldap_ssl.h... no
checking gdbm.h usability... no
checking gdbm.h presence... no
...


Make errors:

Found newer headers. Will rebuild exports.c.
rm -f exports.c
nawk -f /opt/httpd-2.0.44/build/make_exports.awk 
/opt/httpd-2.0.44/include/*.h  /opt/httpd-2.0.44/os/unix/*.h  
/opt/httpd-2.0.44/srclib/apr/include/*.h  
/opt/httpd-2.0.44/srclib/apr-util/include/*.h  
/opt/httpd-2.0.44/modules/http/*.h > /opt/httpd-2.0.44/server/exports.c
/usr/local/bin/bash /opt/httpd-2.0.44/srclib/apr/libtool --silent 
- --mode=compile gcc  -g -O2    -D_REENTRANT -D_THREAD_SAFE 
- -DAP_HAVE_DESIGNATED_INITIALIZER   
- -I/opt/httpd-2.0.44/srclib/apr/include 
- -I/opt/httpd-2.0.44/srclib/apr-util/include -I/usr/local/include -I. 
- -I/opt/httpd-2.0.44/os/unix -I/opt/httpd-2.0.44/server/mpm/prefork 
- -I/opt/httpd-2.0.44/modules/http -I/opt/httpd-2.0.44/modules/filters 
- -I/opt/httpd-2.0.44/modules/proxy -I/opt/httpd-2.0.44/include 
- -I/opt/httpd-2.0.44/modules/dav/main -prefer-non-pic -static -c 
/opt/httpd-2.0.44/server/exports.c && touch 
/opt/httpd-2.0.44/server/exports.lo
In file included from /opt/httpd-2.0.44/srclib/apr/include/apr.h:308,
                  from /opt/httpd-2.0.44/include/ap_config.h:58,
                  from /opt/httpd-2.0.44/server/exports.c:13:
/usr/include/sys/syslimits.h:42:2: warning: #warning "No 
user-serviceable parts inside."
In file included from /opt/httpd-2.0.44/include/util_ldap.h:58,
                  from /opt/httpd-2.0.44/server/exports.c:39:
/opt/httpd-2.0.44/srclib/apr-util/include/apr_ldap.h:123: syntax error 
before '*' token
In file included from /opt/httpd-2.0.44/server/exports.c:39:
/opt/httpd-2.0.44/include/util_ldap.h:107: `LDAP_DEREF_NEVER' 
undeclared here (not in a function)
/opt/httpd-2.0.44/include/util_ldap.h:107: enumerator value for `never' 
not integer constant
/opt/httpd-2.0.44/include/util_ldap.h:108: `LDAP_DEREF_SEARCHING' 
undeclared here (not in a function)
/opt/httpd-2.0.44/include/util_ldap.h:108: enumerator value for 
`searching' not integer constant
/opt/httpd-2.0.44/include/util_ldap.h:109: `LDAP_DEREF_FINDING' 
undeclared here (not in a function)
/opt/httpd-2.0.44/include/util_ldap.h:109: enumerator value for 
`finding' not integer constant
/opt/httpd-2.0.44/include/util_ldap.h:111: `LDAP_DEREF_ALWAYS' 
undeclared here (not in a function)
/opt/httpd-2.0.44/include/util_ldap.h:111: enumerator value for 
`always' not integer constant
/opt/httpd-2.0.44/include/util_ldap.h:115: syntax error before "LDAP"
*** Error code 1

Stop in /opt/httpd-2.0.44/server.
*** Error code 1

Stop in /opt/httpd-2.0.44/server.
*** Error code 1

Stop in /opt/httpd-2.0.44.


Ideas?


This PGP  signature is signed to charford at infinithost.com.  If you 
have received this signature from a different email account please 
email that account and a different key will be sent.  Sorry for any 
problems.

This electronic message transmission contains information that is 
privileged, confidential or otherwise the exclusive property of the 
intended recipient or the sender.  This information is intended for the 
use of the individual or entity that is the intended recipient. If you 
are not the designated recipient, please be aware that any 
dissemination, distribution or copying of this communication is 
strictly prohibited.  If you have received this electronic transmission 
in error, please notify us by electronic mail charford @ 
infinithost.com and promptly destroy the original transmission.  Thank 
you for your assistance.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (Darwin)

iD8DBQE+Zuw1tf2vknGZ+KoRAjagAJ4+bmYNtRbblqAk/U3P8At8WGEsvQCeMe16
JL5X9Ur8W8nXPXIDLnxDQ+c=
=I5k9
-----END PGP SIGNATURE-----


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


Mime
View raw message