[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: installation help
At 09:07 PM 9/18/00 -0700, Mak Wing Lok wrote:
>i got these error during OpenLDAP installed, someone
>please tell me what should i do?
>configure with :
># LDFLAGS=-L/user/local/BerkeleyDB.3.1/lib
># CPPFLAGS=-I/user/local/BerkeleyDB.3.1/include
># LIBS="-lpthread -lposix4"
># cc=gcc
># export CPPFLAGS LDFLAGS LIBS cc
># configure --with-threads --with-ldbm-api=db2
>
>and during the configuration returns these errors :
>Command 'and' not recognized.
>
>.
>.
>checking for DB2 library... checking for db_open in
>-ldb... no
>checking for db.h... no
>checking for Berkeley DB2... no
>configure: warning: could not find suitable LDBM
>backend
>configure: error: select appropriate LDBM options or
>disable
That looks like OpenLDAP 1.2... which doesn't support
BerkeleyDB 3 API. It might work using the "historical"
interface... (e.g. --with-ldbm-api=db)... but I suggest
installing BerkeleyDB 2.7.7 or updating to OpenLDAP 2.0.3.
Kurt