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

make error: set_malloc



Hi.

I'm trying to install OpenLDAP 2.0.11 with BerkeleyDB Version 3.3.11. I
installed BerkeleyDB in the following directory /home/rachel/db

Then, I tried installing Openldap using the following command:

> env CPPFLAGS="-I/home/rachel/db/include" LDFLAGS="-L/home/rachel/db/lib"
./configure --prefix=/home/rachel/openldap --with-ldbm-api=berkeley

Below are the last few lines before the make command break:


==========================================================================
if test "no" = "yes"; then \
d=`pwd`; d=`basename $d`; b=`basename libldap_r.la .la`; \
cd .libs; t=`echo $b*.so`; (cd ../.. ; rm -f $t; \
ln -s $d/.libs/$t $t); \
if test "so" != dll; then \
t=`echo $b.so.?`; cd ../.. ; \
rm -f $t; \
ln -s $d/.libs/$t $t; \
fi \
fi
/bin/sh /home/csvhl/openldap-2.0.11/libtool --mode=link gcc -g -O2 -I../../include        -I../../include  -DLDAP_R_COMPILE -I./../libldap -I/home/csvhl/db/include   -L/home/csvhl/openldap-2.0.11/libraries -L/home/csvhl/db/lib  -o apitest apitest.o -lldap_r -llber -llutil     -lcrypt -lresolv -ldl  -pthread
gcc -g -O2 -I../../include -I../../include -DLDAP_R_COMPILE -I./../libldap -I/home/csvhl/db/include -L/home/csvhl/openldap-2.0.11/libraries -L/home/csvhl/db/lib -o apitest apitest.o -lldap_r -llber -llutil -lcrypt -lresolv -ldl -pthread
/bin/sh /home/csvhl/openldap-2.0.11/libtool --mode=link gcc -g -O2 -I../../include        -I../../include  -DLDAP_R_COMPILE -I./../libldap -I/home/csvhl/db/include   -L/home/csvhl/openldap-2.0.11/libraries -L/home/csvhl/db/lib  -o ltest test.o -lldap_r -llber -llutil     -lcrypt -lresolv -ldl  -pthread
gcc -g -O2 -I../../include -I../../include -DLDAP_R_COMPILE -I./../libldap -I/home/csvhl/db/include -L/home/csvhl/openldap-2.0.11/libraries -L/home/csvhl/db/lib -o ltest test.o -lldap_r -llber -llutil -lcrypt -lresolv -ldl -pthread
/bin/sh /home/csvhl/openldap-2.0.11/libtool --mode=link gcc -g -O2 -I../../include        -I../../include  -DLDAP_R_COMPILE -I./../libldap -I/home/csvhl/db/include   -L/home/csvhl/openldap-2.0.11/libraries -L/home/csvhl/db/lib  -o ttest tmpltest.o -lldap_r -llber -llutil     -lcrypt -lresolv -ldl  -pthread
gcc -g -O2 -I../../include -I../../include -DLDAP_R_COMPILE -I./../libldap -I/home/csvhl/db/include -L/home/csvhl/openldap-2.0.11/libraries -L/home/csvhl/db/lib -o ttest tmpltest.o -lldap_r -llber -llutil -lcrypt -lresolv -ldl -pthread
make[2]: Leaving directory `/home/csvhl/openldap-2.0.11/libraries/libldap_r'

Entering subdirectory libavl
make[2]: Entering directory `/home/csvhl/openldap-2.0.11/libraries/libavl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/csvhl/openldap-2.0.11/libraries/libavl'

Entering subdirectory libldbm
make[2]: Entering directory `/home/csvhl/openldap-2.0.11/libraries/libldbm'
gcc -g -O2 -I../../include        -I../../include   -I/home/csvhl/db/include     -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 `/home/csvhl/openldap-2.0.11/libraries/libldbm'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory `/home/csvhl/openldap-2.0.11/libraries'
make: *** [all-common] Error 1
=================================================================================

What could be the problem with 'set_malloc'. Please reply soon. Thank you very
much.

Rachel