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

Re: Tests-bdb succeed but ldbm fail ?



Hello Ace,


Try to build with

./configure --prefix=/usr/local/openldap-2.1.25 --enable-crypt  - --enable-w
rappers --enable-ldbm --with-ldbm-api=berkeley # since u'r usng berkely.

HTH. Let me know if you've succeeded.

Thanks and Regards,
-sadha


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> Hi,
>
> I tried compiling OpenLDAP 2.1.25 (Stable) with Berkeley 4.2.52 on Debian
> Woody (and I think it worked!)
>
> I configured OpenLDAP with
>
> ./configure --prefix=/usr/local/openldap-2.1.25 --enable-crypt
> - --enable-wrappers
>
> It couldn't find the BDB stuff, but after these commands:
>
> ln -s /usr/local/BerkeleyDB.4.2/include/db.h /usr/include/db.h
> ln -s /usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so /usr/lib/libdb-4.2.so
>
> it worked fine.
>
> I also had to download a Debian package that provided the headers for
> tcpwrappers (libwrap0-dev version 7.6-9)
>
> Running the tests, the first test didn't work, but then I disabled
tcpwrappers
> for slapd in /etc/hosts.allow and /etc/hosts.deny (from my old 1.0.27
config)
> and the test run fine.
>
> But, when the last test completes, I got this:
>
> >>>>> Test succeeded
> >>>>> ./scripts/test016-subref completed OK.
> >>>>> waiting 10 seconds for things to exit
>
> ln: `./data': cannot overwrite directory
> make[1]: [test-ldbm] Error 1 (ignored)
> ln: `./schema': File exists
> make[1]: [test-ldbm] Error 1 (ignored)
> ln: `ucdata/liblunicode': File exists
> make[1]: [test-ldbm] Error 1 (ignored)
> run configure with --enable-ldbm
> make[1]: Leaving directory `/usr/src/openldap-2.1.25/tests'
> marge:/usr/src/openldap-2.1.25#
>
> Now, I assume that everything is allright and that I don't have to
configure
> with --enable-ldbm.
>
> Is that right !?
>
> _Ace
>
>
>
>
> - -- 
> Ace Suares' Internet Consultancy
> NIEUW ADRES: Postbus 2599, 4800 CN Breda
> telefoon: 06-244 33 608
> fax en voicemail: 0848-707 705
> website: http://www.suares.nl * http://www.qwikzite.nl
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)
>
> iD8DBQE/5c/Iy7boE8xtIjURAvkyAJ9obpyjJS4vjQzJs2VOVBeOT+c2HwCghRLd
> q5tKK/+WnKXtJKFJ9Jp3suQ=
> =7hhL
> -----END PGP SIGNATURE-----
>
>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.551 / Virus Database: 343 - Release Date: 12/11/2003