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

Re: error when make test



Maybe it´s a stupid question but did you made the "make depend" and the "make" 
command before the "make test"

you should do like this:

./configure ...
make depend 
make
make test


Citando sonjaya@stud.che.itb.ac.id:

> dear milist i try to install openldap , like this :
> #./configure --prefix=/usr/local/openldap --enable-ipv6 --enable-local
> --enable-bdb
> and sucsess
> and try make tes to chek ,and i get error like this:
> 
> [sonjaya@pim openldap-2.1.22]$ make test
>      cd tests; make test
> make[1]: Entering directory `/home/sonjaya/openldap-2.1.22/tests'
> ln: `./data': cannot overwrite directory
> make[1]: [test-bdb] Error 1 (ignored)
> Initiating LDAP tests for BDB...
> >>>>> Executing all LDAP tests...
> >>>>> Test Directory: .
> >>>>> Backend: bdb
> >>>>> Starting test000-rootdse ...
> running defines.sh
> Datadir is ./data
> Cleaning up in ./test-db...
> Starting slapd on TCP/IP port 9009...
> Using ldapsearch to retrieve the root DSE...
> 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: line 57: kill: (3718) - No such process
> ./scripts/test000-rootdse: line 42: ../clients/tools/ldapsearch: No such
> file or directory
> >>>>> Test failed
> >>>>> ./scripts/test000-rootdse failed (exit 127)
> make[1]: *** [test-bdb] Error 127
> make[1]: Leaving directory `/home/sonjaya/openldap-2.1.22/tests'
> make: *** [test] Error 2
> [sonjaya@pim openldap-2.1.22]$
> 
> 
> what shold i do to fix it ?
> 
> 
> 
>