[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
question of "make test":(
Hi All
I'm trying to completely install openldap-2.1.6.with BerkeleyDB.4.1.24 on the linux7.3 (upgraded from linux7.1)
I'm at the stage where I run "make test".
but i get the error message:
***************************************
root@zhbi openldap-2.1.6]# make test
cd tests; make test
make[1]: Entering directory `/usr/local/openldap-2.1.6/tests'
ln: `./data': cannot overwrite directory
make[1]: [test-bdb] Error 1 (ignored)
ln: `./schema': File exists
make[1]: [test-bdb] Error 1 (ignored)
ln: `ucdata/liblunicode': File exists
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...
aiting 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: (1533) - No such process
ldap_bind: Can't contact LDAP server (81)
>>>>> Test failed
>>>>> ./scripts/test000-rootdse failed (exit 1)
make[1]: *** [test-bdb] Error 1
make[1]: Leaving directory `/usr/local/openldap-2.1.6/tests'
make: *** [test] Error 2
*************************************************************************
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
with the help of some information from the maillist,
i have :
<1> update my /etc/ld.so.conf(adding the line /usr/local/BerkekeyDB.4.1/lib)
<2> run /etc/ldconfig.([root@zhbi etc]# ldconfigure)
<3> then i change the directory into my openldap and run "ldd", i can find the
library :libdb-4.1.so
(# ldd ./servers/slapd/slapd
libdb-4.1.so => /usr/local/BerkeleyDB.4.1/lib/libdb-4.1.so (0x40014000)
.......)
<4> and before the configuration ,i have properly set the env including CPPFLAGS ,LDFLAGS and
LIBRARY_PATH .
**but i still failed to pass the "make test"! it do make me feel puzzled.**
the /tests/test-db/master.log show the fallowing message:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*****************************************************************
@(#) $OpenLDAP: slapd 2.1.6 (Thu Dec 26 15:45:04 CST 2002) $
root@zhbi:/usr/local/openldap-2.1.6/servers/slapd
daemon_init: ldap://localhost:9009/
daemon_init: listen on ldap://localhost:9009/
daemon_init: 1 listeners to open...
ldap_url_parse_ext(ldap://localhost:9009/)
daemon: getaddrinfo failed: Name or service not known
slapd stopped.
connections_destroy: nothing to destroy.
*******************************************************************
thanks a lot for your reading my question and help me !
yours amy
2002.12.26
______________________________________
===================================================================
Ãâ·ÑÊÔÓÃÐÂÀË15MÈÎÄãÓÊ »ñÊýÂëÏà»ú¡¢ÊÖ»ú´ó½± (http://vip.sina.com/sol_mail/promotion/pro_men.html)
ÐÂÀ˶þÊÖÊг¡£ºÒ»ÔªÍ¶È룬ʮ·Ö¾ªÏ²£¬°Ù·ÖÂúÒâ (http://classad.sina.com.cn/2shou/)
ÿÌì1²¿ÊÖ»ú£¡çÍ·×ÐÂÄê¶ÌÐÅרÌâ (http://sms.sina.com.cn/act/beautyxmas.html)