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

installing open ldap



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
/usr/local/Berkeley.3.3/lib
/usr/local/Berkeley.3.3/include
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
avl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/openldap-source/openldap-2.0.11/libraries/liba
vl'

  Entering subdirectory libldbm
make[2]: Entering directory `/root/openldap-source/openldap-2.0.11/libraries/lib
ldbm'
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
dbm'
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
don