[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
libldbm make fails
Hi:
I'm experiencing a problem building with Berkley DB 4.1. I read in post from
Sept 25th that this should work with with 2.0.27 release, but I get the same
make error as I did with 2.0.25.
I'd appreciate any suggestions.
-Betty
I configure with the following command, and it appears to succeed:
==================================================================
[openldap-2.0.27]# env CPPFLAGS="-I/usr/local/BerkeleyDB.4.1/include"
LDFLAGS="-L/usr/local/BerkeleyDB.4.1/lib" ./configure --with-ldbm-api=berkeley
Then make fails with the following error:
=========================================
Entering subdirectory libldbm
make[2]: Entering directory `/usr/local/openldap-2.0.27/libraries/libldbm'
cc -g -O2 -I../../include -I../../include
-I/usr/local/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
pointer type
ldbm.c:329: warning: passing arg 4 of pointer to function makes pointer from
integer without a cast
ldbm.c:329: too few arguments to function
make[2]: *** [ldbm.o] Error 1
make[2]: Leaving directory `/usr/local/openldap-2.0.27/libraries/libldbm'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory `/usr/local/openldap-2.0.27/libraries'
make: *** [all-common] Error 1