You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Glen Dosey <do...@erau.edu> on 2003/01/08 22:08:12 UTC

[users@httpd] help: httpd 2.0.43 mod-auth-ldap build error

Hi,

This is my first use of this list, so please correct my edicate as
necessary.

I am having trouble building httpd-2.0.43 on FreeBSD 4.6.2 with support
for mod-auth-ldap. I just installed openldap 2.1.12, configured with
options --enable-ldbm. I configured httpd as:
./configure LDFLAGS=-L/usr/local/lib --with-ldap --enable-so
--enable-auth-ldap --enable-ssl

It succeeds in configuring, but fails to make properly. The following is
what I get:

-------------------------------------------------------------------------

/usr/local/bin/bash /root/httpd-2.0.43/srclib/apr/libtool --silent
--mode=compile gcc  -g -O2    -D_REENTRANT -D_THREAD_SAFE
-DAP_HAVE_DESIGNATED_INITIALIZER  
-I/root/httpd-2.0.43/srclib/apr/include
-I/root/httpd-2.0.43/srclib/apr-util/include -I/usr/local/include -I.
-I/root/httpd-2.0.43/os/unix -I/root/httpd-2.0.43/server/mpm/prefork
-I/root/httpd-2.0.43/modules/http -I/root/httpd-2.0.43/modules/filters
-I/root/httpd-2.0.43/modules/proxy -I/root/httpd-2.0.43/include
-I/usr/include/openssl -I/root/httpd-2.0.43/modules/dav/main  -c
exports.c && touch exports.lo
In file included from /root/httpd-2.0.43/include/util_ldap.h:58,
                 from exports.c:38:
/root/httpd-2.0.43/srclib/apr-util/include/apr_ldap.h:97: syntax error
before `*'
In file included from exports.c:38:
/root/httpd-2.0.43/include/util_ldap.h:85: `LDAP_DEREF_NEVER' undeclared
here (not in a function)
/root/httpd-2.0.43/include/util_ldap.h:85: enumerator value for `never'
not integer constant
/root/httpd-2.0.43/include/util_ldap.h:86: `LDAP_DEREF_SEARCHING'
undeclared here (not in a function)
/root/httpd-2.0.43/include/util_ldap.h:86: enumerator value for
`searching' not integer constant
/root/httpd-2.0.43/include/util_ldap.h:87: `LDAP_DEREF_FINDING'
undeclared here (not in a function)
/root/httpd-2.0.43/include/util_ldap.h:87: enumerator value for
`finding' not integer constant
/root/httpd-2.0.43/include/util_ldap.h:89: `LDAP_DEREF_ALWAYS'
undeclared here (not in a function)
/root/httpd-2.0.43/include/util_ldap.h:89: enumerator value for `always'
not integer constant
/root/httpd-2.0.43/include/util_ldap.h:93: syntax error before `LDAP'
*** Error code 1

Stop in /root/httpd-2.0.43/server.
*** Error code 1

Stop in /root/httpd-2.0.43/server.
*** Error code 1

Stop in /root/httpd-2.0.43.



--------------------------------------------------------------------

Any help or suggestions would be appreciated. I cannot find any
information regarding this specifically on the web, As I am not entirely
sure what the problem is. 

Thank You,
Glen Dosey


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