[Date Prev][Date Next] [Chronological] [Thread] [Top]

Compiling OpenLdap2.0.25 with BerkeleyDB 4.1.24



I am installing OpenLdap2.0.25 on a IBM RS/6000 Aix 4.3 server.

I have successfully installed the pre-requitered softwares and libraries :
OpenSSL 0.9.6.7
CyrusSASL 1.5.28
BerkeleyDB 4.1.24

I installed BerkeleyDB to the directory /logiciels/BerkeleyDB.4.1

I used the commands :
export LIBPATH="/logiciels/BerkeleyDB.4.1/lib:/usr/local/lib:${LIBPATH}"
env CPPFLAGS="-I/logiciels/BerkeleyDB.4.1/include" \
	LDFLAGS="-lpthreads -L/logiciels/BerkeleyDB.4.1/lib" \
	./configure --prefix=/logiciels --with-cyrus-sasl
make depend
make

configure and make depend do not produce errors but make returns this 
result :

  Entering subdirectory libldbm
make[2]: Entre dans le repertoire 
`/logiciels/openldap/openldap-2.0.25/libraries
/libldbm'
gcc -g -O2 -I../../include        -I../../include 
  -I/logiciels/BerkeleyDB.4.1/
include     -c -o ldbm.o ldbm.c
ldbm.c: In function `ldbm_open':
ldbm.c:329: warning: passing arg 2 of pointer to function from incompatible 
poin
ter type
ldbm.c:329: warning: passing arg 4 of pointer to function makes pointer 
from int
eger without a cast
ldbm.c:329: too few arguments to function
make[2]: *** [ldbm.o] Erreur 1
make[2]: Quitte le repertoire 
`/logiciels/openldap/openldap-2.0.25/libraries/lib
ldbm'
make[1]: *** [all-common] Erreur 1
make[1]: Quitte le repertoire 
`/logiciels/openldap/openldap-2.0.25/libraries'
make: *** [all-common] Erreur 1

I had a quick look to the source
line 329 : 	err = ret->open( ret, name, NULL, DB_TYPE, rw, mode);

It seems that the BerkeleyDB lib  4.1.24 is not compatible to OpenLdap 
v2.0.25. Is that right ? Which version should I use ?

______________________________
Renaud Motuelle
Email : rmotuelle@sopragroup.com

Ce message est exclusivement destine aux personnes dont le nom figure 
ci-dessus. Il peut contenir des informations confidentielles dont la 
divulgation est a ce titre rigoureusement interdite.
Dans l'hypothese ou vous avez recu ce message par erreur, merci de le 
renvoyer a l'adresse e-mail ci-dessus et de detruire toute copie.

This message may contain confidential and proprietary material for the sole 
use of the intended recipient. Any review or distribution by others is 
strictly prohibited.
If you are not the intended recipient, please contact the sender and delete 
all copies.