Am 22.04.21 um 18:56 schrieb Quanah Gibson-Mount:
Execute the test suite (via make test) after it is built. Optionally, cd tests && make its to run through the regression suite.
./configure say "--enable-mdb enable mdb database backend no|yes|mod [yes]"
so I took the default and don't pass it to confiure at all.
but
/usr/bin/make -C . test make[1]: Entering directory '/<<PKGBUILDDIR>>' cd tests && /usr/bin/make test make[2]: Entering directory '/<<PKGBUILDDIR>>/tests' make[3]: Entering directory '/<<PKGBUILDDIR>>/tests' run configure with --enable-mdb to run MDB tests make[3]: Leaving directory '/<<PKGBUILDDIR>>/tests' make[3]: Entering directory '/<<PKGBUILDDIR>>/tests' Initiating LDAP tests for the Load Balancer... No suitable default database backend configured
run again with '--enable-mdb=yes' solved that problem but "make test" still fail
...
Starting test043-delta-syncrepl for mdb...
running defines.sh Starting provider slapd on TCP/IP port 9011... Using ldapsearch to check that provider slapd is running... Using ldapadd to create the context prefix entries in the provider... Starting consumer slapd on TCP/IP port 9012... Using ldapsearch to check that consumer slapd is running... Using ldapadd to populate the provider directory... Waiting 7 seconds for syncrepl to receive changes... Stopping the provider, sleeping 10 seconds and restarting it... Using ldapsearch to check that provider slapd is running... Using ldapmodify to modify provider directory... Waiting 7 seconds for syncrepl to receive changes... Using ldapsearch to read all the entries from the provider... Using ldapsearch to read all the entries from the consumer... Filtering provider results... Filtering consumer results... Comparing retrieved entries from provider and consumer... test failed - provider and consumer databases differ
test043-delta-syncrepl failed for mdb after 29 seconds
(exit 1) make[3]: *** [Makefile:301: mdb-yes] Error 1 make[3]: Leaving directory '/<<PKGBUILDDIR>>/tests' make[2]: *** [Makefile:287: test] Error 2 make[2]: Leaving directory '/<<PKGBUILDDIR>>/tests' make[1]: *** [Makefile:299: test] Error 2 make[1]: Leaving directory '/<<PKGBUILDDIR>>'
Andreas
Note that there are new features in 2.5, so please examine the options available with configure carefully. Some examples:
The new load balancer, which can either be built as a module for slapd (--enable-balancer=mod) or as a standalone server (--enable-balancer=yes)
The libargon2 password module (--enable-argon2).
Systemd notification support (--with-systemd=yes).
Thanks!
Regards, Quanah
--
Quanah Gibson-Mount Product Architect Symas Corporation Packaged, certified, and supported LDAP solutions powered by OpenLDAP: http://www.symas.com