| Summary: | OpenLDAP does not compile due to LDBM backend problem | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Gualter Barbas Baptista <gualter> |
| Component: | Current packages | Assignee: | Nick Hadaway <grandmasterlinux> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | pauldv, robbat2 |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | config.log for openldap-2.0.27-r4 | ||
|
Description
Gualter Barbas Baptista
2003-10-13 07:09:30 UTC
Ok, it should check for db-3 and not db3. Or even better should it be using db-4. The first one is an easy change in the configure script, the latter a little bit more difficult as it should look in db4/db.h or just for db.h. Maybe a little bit more of the output would be useful, then I could have seen whether other db.h's where tried. Gualter, could you attach /var/tmp/portage/openldap-???/work/openldap-???/config.log where the ??? need to be replaced with the actual version Created attachment 19215 [details]
config.log for openldap-2.0.27-r4
problem is due to the case where USE="-gdbm -berkdb". Current code then expects berkdb to be present. I think it's time for OpenLDAP to hard depend on >=sys-libs/db-4.1.25_p1-r1 and properly build that support in always (gdbm support works but it's a major performance hit). checking for Berkeley DB link (-ldb-3)... no checking for Berkeley DB link (-ldb4)... no checking for Berkeley DB link (-ldb3)... no checking for Berkeley DB link (-ldb2)... no checking for Berkeley DB link (-ldb1)... no Obviously, these would all fail, because Gentoo's is different: DB 4 : -ldb-4 DB 3 : -ldb-3.2 DB 1 : -ldb-1 Zhen: that output really doesn't matter. The problem is that in the case
when USE="-berkdb -gdbm"
This line gets passed to configure:
myconf="${myconf} --enable-ldbm --enable-bdb --with-ldbm-api=berkeley"
However sys-libs/db is NOT pulled in when USE="-berkdb -gdbm" !
fixed in CVS now. now if USE="-berkdb -gdbm", we make it pull in berkdb anyway, after displaying a warning. |