Hi,
I'm trying to build open ldap in my system running:
# uname -a
FreeBSD gwenever.camlann.pregi.net 5.4-RC3 FreeBSD
5.4-RC3 #1: Wed Apr 27 08:10:57 PHT 2005
root@gwenever.camlann.pregi.net:/usr/obj/usr/src/sys/DA
i386
I committed the following steps: (I'm installing each
software from their sources).
1. installed openssl-0.9.7g
2. installed bdb 4.2.52
2.1 added 4(four) patches available in sleepycat for
this version)
3. installed heimdal-0.6.4 pointing bdb directory
during configure.
4. Configured openldap-2.2.26 with:
./configure --prefix=/usr/local/openldap
--enable-wrappers --enable-spasswd --enable-passwd
--enable-slurpd
...
and I ended up with this:
checking Berkeley DB version for BDB backend... no
configure: error: BDB/HDB: BerkeleyDB version
incompatible
How come? According to openldap docs, I must use 4.2
version of Berkeley DB(latest), that's what I did. I
even applied all 4 patches for that particular version
of BDB (4.2.52) by running:
# patch -p0 < patch.4.2.52.1 upto patch.4.2.52.4