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

Re: Fw: Help - Cannot install OpenLDAP - 'make test' failed.



Did you build with tcp wrappers?  If so, did you include an entry in the
/etc/hosts.allow for service 'slapd', allowing connections from 127.0.0.1?

Otherwise, look in the tests/test-db/master.log file... may find the clue
there.
-Alan

Yijun Wang said:
> Hi,  I cannot build OpenLDAP. The "make test" cannot pass. (./configure,
> make depend, make can be done without problem) The error message is,
>
> #make test
> cd tests; make test
> make[1]: Entering directory `/opt/openldap-2.0.25/tests'
> ln: `./data': cannot overwrite directory
> make[1]: [test-ldbm] Error 1 (ignored)
> ln: `./schema': File exists
> make[1]: [test-ldbm] Error 1 (ignored)
> Initiating LDAP tests for LDBM...
>>>>>> Executing all LDAP tests...
>>>>>> Test Directory: .
>>>>>> Backend: ldbm
>>>>>> Starting test000-rootdse ...
> running defines.sh . ldbm
> Datadir is ./data
> Cleaning up in ./test-db...
> Starting slapd on TCP/IP port 9009...
> Using ldapsearch to retrieve all the entries...
> Waiting 5 seconds for slapd to start...
> Waiting 5 seconds for slapd to start...
> Waiting 5 seconds for slapd to start...
> Waiting 5 seconds for slapd to start...
> Waiting 5 seconds for slapd to start...
> Waiting 5 seconds for slapd to start...
> ./scripts/test000-rootdse: kill: (22097) - No such process
> ldap_bind: Can't contact LDAP server
>>>>>> Test failed
>>>>>> ./scripts/test000-rootdse failed (exit 1)
> make[1]: *** [test-ldbm] Error 1
> make[1]: Leaving directory `/opt/openldap-2.0.25/tests'
> make: *** [test] Error 2
>
> Thanks,
>
> Nick
>
>
>> ----- Original Message -----
>> From: "Harry Rüter" <harry_rueter@gmx.de>
>> To: <OpenLDAP-software@OpenLDAP.org>
>> Sent: Wednesday, July 17, 2002 6:48 AM
>> Subject: Re: Cannot install OpenLDAP with BerkeleyDB 4.0.14? Help
>>
>>
>> > Hi,
>> >
>> > Yijun Wang wrote:
>> > >
>> > > Hi all,
>> > >
>> > >  I am installing OpenLDAP, environment:
>> > >
>> > > Redhat 7.3
>> > > OpenLDAP 2.0.25
>> > > BerkeleyDB 4.0.14
>> > >
>> > > First I successfully installed BerkeleyDB.
>> > > Then I run ./configure under folder openldap and it always stop.
>> The
>> last
>> > > messages are:
>> > >
>> > > checking for thread specific errno... yes
>> > > checking for thread specific h_errno... yes
>> > > checking for db.h... no
>> > > checking for db... no
>> > > checking for GDBM library... checking for gdbm_open... no
>> > > checking for gdbm_open in -lgdbm... no
>> > > no
>> > > checking for mdbm.h... no
>> > > checking for db... no
>> > > checking for GDBM library... checking for gdbm_open... no
>> > > checking for gdbm_open in -lgdbm... no
>> > > no
>> > > checking for gdbm.h... no
>> > > checking for db... no
>> > > configure: warning: could not find suitable LDBM backend
>> > > configure: error: select appropriate LDBM options or disable
>> > >
>> > > It seems that the configure cannot find the BerkeleyDB. How to
>> solve
>> this
>> > > problem?
>> >
>> > Try something like this (before you conigure/make :
>> >
>> > export CPPFLAGS="-I/usr/local/berkeleydb4/include"
>> > export LDFLAGS="-L/usr/local/berkeleydb4/lib"
>> >
>> > Your path to  BerkeleyDB 4.0.14 will be another,
>> > so this is just an example ...
>> >
>> > > Thanks very much.
>> > >
>> > > Nick
>> >
>> > greets Harry
>> >


===========
Alan Sparks, UNIX/Linux Systems Administrator
<asparks@doublesparks.net>