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

openldap 2.0.27 with BdB 4.1.X RedHat packages



Hello,

in http://www.openldap.org/lists/openldap-software/200212/msg00155.html
Howard Chu said:

"OpenLDAP 2.0 hasn't been patched to support Berkeley DB 4.1. You can patch it
yourself or drop back to BerkeleyDB 4.0. Or (better idea) you can use
OpenLDAP 2.1."


However RedHat realesed recently a 2.0.27 package , that I would like to rebuild (I need "%define backend berkeley" instead of "gdbm") .

It ends up with "ldbm.c:329: too few arguments to function" which is the pb H.Chu described in the mailing list as staded above.

Does anyone know what is to patch ? , or have the patch ?

I see in the .spec file lines like this.
Patch100: http://sleepycat.com/update/4.1.24/patch.4.1.24.2
is this the patch ? why didn't it applied when I rpmbuild the openldap.spec file ?


Thanks.

PS: whole error message while rpmbuild -ba openldap.spec

../../../libraries/libldbm/ldbm.c: In function `ldbm_open':
../../../libraries/libldbm/ldbm.c:329: warning: passing arg 2 of pointer to function from incompatible pointer type
../../../libraries/libldbm/ldbm.c:329: warning: passing arg 4 of pointer to function makes pointer from integer without a cast
../../../libraries/libldbm/ldbm.c:329: too few arguments to function
make[2]: *** [ldbm.o] Erreur 1
make[2]: Quitte le répertoire `/usr/src/redhat/BUILD/openldap-2.0.27/build-krb5/libraries/libldbm'
make[1]: *** [all-common] Erreur 1
make[1]: Quitte le répertoire `/usr/src/redhat/BUILD/openldap-2.0.27/build-krb5/libraries'
make: *** [all-common] Erreur 1
error: Bad exit status from /var/tmp/rpm-tmp.19282 (%build)