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

Re: make test fails on Red Hat Linux 8.0



* Wenwei Xu <xu@legatovideo.com> [27-03-03 14:26]:
 
> Hi,
> 
> I have a problem with make test too.
> 
> Actually, I installed Openldap-2.1.16 on Red Hat Linux R8.0.
> 
> I also downloaded OpenSSL, BerkeleyDB-4.1.25 and cyrus-sasl-2.1.12.
> 
> Then I ran the followings:
> 
> #CPPFLAGS="-I/usr/local/BerkeleyDB.4.1/include"; export CPPFLAGS
> #LDFLAGS="-L/usr/local/BerkeleyDB.4.1/lib"; export LDFLAGS
> #./configure
> #make depend
> #make
> #make test
> 
> This is the system output:
> 
> cd tests; make test
> make[1]: Entering directory `/DOWNLOADS/openldap-2.1.16/tests'
> 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...
> ldap_bind: Can't contact LDAP server (81)
> >>>>> Test failed
> >>>>> ./scripts/test000-rootdse failed (exit 1)
> make[1]: Leaving directory `/DOWNLOADS/openldap-2.1.16/tests'
> 
> I checked tests/test-db/master.log file, and the system complains
> "slap_sasl_init: SASL version mismatch, got 201000a, wanted 201000c."
> 
> Why system complain SASL version mismatch? Can Someone help me? Thanks so
> much!!!
> 
> Wenwei
> 
 It might be that some sasl2 rpms are installed (I know RH 8.0 installs
both sasl1 and sasl2) and slapd picks the rpm version. Have you
installed sasl2 from rpms or from source ? 

mitu