[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Problems compiling OpenLDAP-2.3.4
Hi, I'm stuck when trying to compile openldap-2.3.4 on our environment.
I have privousely compiled openldap-2.2 in the same environment with no
problems. I'm compiling on RedHat-7.3.
I'm running ./configure with these options:
--enable-debug
--enable-dynamic
--enable-syslog
--enable-proctitle
--enable-ipv6=auto
--enable-local=yes
--with-cyrus-sasl
--with-fetch=no
--with-threads
--with-tls
--enable-slapd
--enable-aci
--enable-cleartext
--enable-crypt
--enable-lmpasswd=no
--enable-spasswd
--enable-modules
--enable-rewrite
--enable-rlookups
--enable-slapi=no
--enable-slp=no
--enable-wrappers=yes
--enable-bdb
--enable-dnssrv=no
--enable-hdb
--enable-ldap
--enable-ldbm
--with-ldbm-api=berkeley
--enable-meta
--enable-monitor
--enable-null=no
--enable-passwd=no
--enable-perl=no
--enable-shell=no
--enable-sql=no
--enable-dyngroup=no
--enable-proxycache
--enable-slurpd
--enable-shared=yes
--enable-static=no
configure runs fine and make depend runs fine.
But when i run make, i get these errors:
Entering subdirectory libldap
make[2]: Entering directory
`/home/tallakh/cvs/drift/OpenLDAP-2.3/libraries/libldap'
rm -f version.c
../../build/mkversion -v "2.3.4" libldap.la > version.c
/bin/sh /home/tallakh/cvs/drift/OpenLDAP-2.3/libtool --mode=compile
/local/gnu/gcc-bin/gcc -O -march=i386 -I/local/include
-I/local/gnu/include -D_FILE_OFFSET_BITS=64 -I../../include
-I../../include -I/local/include -I/local/gnu/include
-D_FILE_OFFSET_BITS=64 -DLDAP_LIBRARY -c bind.c
/local/gnu/gcc-bin/gcc -O -march=i386 -I/local/include
-I/local/gnu/include -D_FILE_OFFSET_BITS=64 -I../../include
-I../../include -I/local/include -I/local/gnu/include
-D_FILE_OFFSET_BITS=64 -DLDAP_LIBRARY -c bind.c -fPIC -DPIC -o bind.lo
In file included from bind.c:54:
ldap-int.h:202: error: syntax error before "LDAP_NEXTREF_PROC"
ldap-int.h:202: warning: no semicolon at end of struct or union
ldap-int.h:206: error: syntax error before '}' token
ldap-int.h:299: error: field `ld_options' has incomplete type
bind.c: In function `ldap_bind':
bind.c:73: error: invalid use of undefined type `struct ldapoptions'
bind.c: In function `ldap_bind_s':
bind.c:118: error: invalid use of undefined type `struct ldapoptions'
make[2]: *** [bind.lo] Error 1
make[2]: Leaving directory
`/home/tallakh/cvs/drift/OpenLDAP-2.3/libraries/libldap'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory `/home/tallakh/cvs/drift/OpenLDAP-2.3/libraries'
make: *** [all-common] Error 1
Build.DAM: Failed to run make -f Makefile sysconfdir=/etc/DAM at
/local/lib/perl5/site_perl/DAM/Build.pm line 2472.
If you need any more information, feel free to contact me.
And thanks for any help.
--
Regards
Tallak Hellebust
tallakh@basefarm.com
www.basefarm.com