Dear Quanah,
OpenLDAP 2.3.12 is the current release version.
Same Error:
# make test
cd tests; make test
make[1]: Entering directory `/usr/local/src/openldap-2.3.12/tests'
make[2]: Entering directory `/usr/local/src/openldap-2.3.12/tests'
Initiating LDAP tests for BDB...
Running ./scripts/all...
Executing all LDAP tests for bdb
Starting test000-rootdse ...
running defines.sh
Starting slapd on TCP/IP port 9011...
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 66: kill: (20571) - No such process
ldap_bind: Can't contact LDAP server (-1)
Test failed
./scripts/test000-rootdse failed (exit 1)
make[2]: *** [bdb-yes] Error 1
make[2]: Leaving directory `/usr/local/src/openldap-2.3.12/tests'
make[1]: *** [test] Error 2
make[1]: Leaving directory `/usr/local/src/openldap-2.3.12/tests'
make: *** [test] Error 2