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

Make Problem with openldap-2.1.4 with db-4.1.24



Redhat 7.1
 
db-4.1.24
installed to /usr/local/BerkeleyDB.4.1/
 
Trying to install openldap-2.1.4
 
contents of ld.so.conf
--
/usr/kerberos/lib
/usr/local/BerkeleyDB.4.1/lib
--
 
The problem resides in running make.
 
./configure works fine and so does make depend.
 
./configure would always freak out about bad db version untill i overwrote /usr/include/db.h with the db.h from /usr/local/BerkeleyDB.4.1/include
 
make generates the following dump and after reading through all of the support documenation and mailing archives i cannot find out how to fix this issue. Any help would be greatly appreciated. Thanks in advance.
 
 
--------------------
 
    Entering subdirectory slapd
make[2]: Entering directory `/tmp/openldap-2.1.4/servers/slapd'
building static backends...
 
  cd back-bdb; make -w all
make[3]: Entering directory `/tmp/openldap-2.1.4/servers/slapd/back-bdb'
/bin/sh /tmp/openldap-2.1.4/libtool  --mode=compile cc -g -O2 -I../../../include        -I../../../include -I.. -I./..  -I/usr/local/include -I/usr/local/BerkeleyDB.4.1    -c init.c
mkdir .libs
cc -g -O2 -I../../../include -I../../../include -I.. -I./.. -I/usr/local/include -I/usr/local/BerkeleyDB.4.1 -c init.c  -fPIC -DPIC -o .libs/init.lo
init.c: In function `bdb_db_open':
init.c:370: warning: passing arg 2 of pointer to function from incompatible pointer type
init.c:370: warning: passing arg 4 of pointer to function makes pointer from integer without a cast
init.c:370: too few arguments to function
make[3]: *** [init.lo] Error 1
make[3]: Leaving directory `/tmp/openldap-2.1.4/servers/slapd/back-bdb'
make[2]: *** [.backend] Error 1
make[2]: Leaving directory `/tmp/openldap-2.1.4/servers/slapd'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory `/tmp/openldap-2.1.4/servers'
make: *** [all-common] Error 1
--------------------------