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

Re: installing open ldap

You should use version 3.2.9 of DB as in version 3.3.11 are API changes (structure has no member named `set_malloc'

novice heimdal wrote:

I have downloaded openldap-2.0.11.tgz

These are the series of steps that i have followed

1.unzip and untar the file .
2.to configure env CPPFLAGS="-I/usr/local/BerkeleyDB.3.3/include"
LDFLAGS="-L/usr/local/BerkeleyDB.3.3/lib" ./configure --prefix=/usr/local --enable-slapd --enable-shell --without-threads 3.I have berkeley db installed in
4.make depend

5.make this the error i get when i make ---------------------------------------------------------
Entering subdirectory libavl
make[2]: Entering directory `/root/openldap-source/openldap-2.0.11/libraries/lib
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/openldap-source/openldap-2.0.11/libraries/liba

Entering subdirectory libldbm
make[2]: Entering directory `/root/openldap-source/openldap-2.0.11/libraries/lib
cc -g -O2 -I../../include -I../../include -I/usr/local/BerkeleyDB.3.3/i
nclude -c -o ldbm.o ldbm.c
ldbm.c: In function `ldbm_open':
ldbm.c:249: structure has no member named `set_malloc'
make[2]: *** [ldbm.o] Error 1
make[2]: Leaving directory `/root/openldap-source/openldap-2.0.11/libraries/libl
make[1]: *** [all-common] Error 1
make[1]: Leaving directory `/root/openldap-source/openldap-2.0.11/libraries'
make: *** [all-common] Error 1 --------------------------------------------------------

can anyone figure out what went wrong ?
Any pointers in this direction will be helpful thanks in advance


 * Sebastian Szuber, Poznan Supercomputing and Networking Center
 * email: szuber@man.poznan.pl
 * phone: (+48 61) 858-20-34, fax: (+48 61) 852-59-54