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

Re: 2.0.3 make test difficulty



On Sat, 23 Sep 2000, Kurt D. Zeilenga wrote:

> Date: Sat, 23 Sep 2000 09:57:26 -0700
> From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
> To: Jie Gao <J.Gao@isu.usyd.edu.au>
> Cc: openldap-software@OpenLDAP.org
> Subject: Re: 2.0.3 make test difficulty
> 
> At 07:18 PM 9/23/00 +1100, Jie Gao wrote:
> >> gmake test
> >cd tests; make test
> >make[1]: Entering directory `/de1/src/lima/openldap-2.0.3/tests'
> >ln: cannot create ./data: File exists
> >make[1]: [test-ldbm] Error 2 (ignored)
> >ln: cannot create ./schema: File exists
> >make[1]: [test-ldbm] Error 2 (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: 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 `/de1/src/lima/openldap-2.0.3/tests'
> >gmake: *** [test] Error 2
> 
> I suggest you take a look at test-db/master.log.  It
> should provide some hints as to why the server failed
> to start.

Following your advice, I found it was because the Berkeley DB library
could not be found, even though it was specified with 

env "LDFLAGS=-L/usr/local/BerkeleyDB.3.1/lib"  ./configure

After I added -R/usr/local/BerkeleyDB.3.1/lib things started to work.

Another thing is that re-untarring does not work well after the package
was untarred before: it can't "create" the "data" directory since it is
already there, and then will not overwrite files in it.

Thanks for your help.


Jie