I've added --disable-ndb and I'm using our normal build_openldap.sh with
bdb 4.7.25.NC:
config.status: creating servers/slapd/back-meta/Makefile
config.status: creating servers/slapd/back-monitor/Makefile
config.status: creating servers/slapd/back-ndb/Makefile
config.status: error: cannot find input file:
servers/slapd/back-ndb/Makefile.in Making depend in
/anything/src/openldap/RE_2_4
Entering subdirectory include
make[1]: Entering directory `/anything/src/openldap/RE_2_4/include'
Making ldap_config.h
make[1]: Leaving directory `/anything/src/openldap/RE_2_4/include'
Entering subdirectory libraries
make[1]: Entering directory `/anything/src/openldap/RE_2_4/libraries'
Making depend in /anything/src/openldap/RE_2_4/libraries
Entering subdirectory liblutil
make[2]: Entering directory
`/anything/src/openldap/RE_2_4/libraries/liblutil' ../../build/mkdep -d
"." -c "gcc" -m "-M" -I../../include -I../../include
-I/usr/local/BerkeleyDB.4.7/include base64.c csn.c entropy.c sasl.c
signal.c hash.c passfile.c md5.c passwd.c sha1.c getpass.c lockf.c
utils.c uuid.c sockpair.c avl.c tavl.c ldif.c fetch.c testavl.c
setproctitle.c getpeereid.c detach.c base64.c:38:22: error: portable.h:
No such file or directory
csn.c:44:22: error: portable.h: No such file or directory
entropy.c:22:22: error: portable.h: No such file or directory
sasl.c:16:22: error: portable.h: No such file or directory
signal.c:16:22: error: portable.h: No such file or directory