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

Re: libldbm make fails



Hi there,

Build Openldap 2.0.x with BDB 3.3.11 not BDB 4.1. BDB 4.1 is used in 
Openldap 2.1.x

Try that, I had the same type of mistake when I first ventured into 
2.0.25 but after reading the posts on this thread.. I think that's a 
common mistake

Hope that helps

JM

----- Original Message -----
From: BETTY <bdiegel@usa.net>
Date: Saturday, October 5, 2002 11:12 am
Subject: 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 
> incompatiblepointer 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
> 
> 
> 
>