If you know how to build OpenLDAP manually, and would like to participate in testing the next set of code for the 2.4.41 release, please do so.
Generally, get the code for RE24:
Configure & build.
Execute the test suite (via make test) after it is built.
Thanks!
--Quanah
--
Quanah Gibson-Mount Platform Architect Zimbra, Inc. -------------------- Zimbra :: the leader in open source messaging and collaboration
On Apr 30, 2015, at 10:21 PM, Quanah Gibson-Mount quanah@zimbra.com wrote:
If you know how to build OpenLDAP manually, and would like to participate in testing the next set of code for the 2.4.41 release, please do so.
Generally, get the code for RE24:
Configure & build.
Execute the test suite (via make test) after it is built.
It builds find on EL7 x86_64 and tests succeed.
Build does not work on EL6 x86_64. Exits during make for sasl. I could not figure out what is wrong. Last lines are below. If I run the configure script with --with-cyrus-sasl=no, make runs through without errors.
sasl.c: In function ‘slap_auxprop_lookup’: sasl.c:320: warning: ‘return’ with a value, in function returning void sasl.c: In function ‘slap_sasl_init’: sasl.c:1115: error: ‘sasl_callback_ft’ undeclared (first use in this function) sasl.c:1115: error: (Each undeclared identifier is reported only once sasl.c:1115: error: for each function it appears in.) sasl.c: In function ‘slap_sasl_open’: sasl.c:1260: error: ‘sasl_callback_ft’ undeclared (first use in this function) sasl.c:1260: error: invalid operands to binary & (have ‘struct sasl_callback_t *’ and ‘int (*)(void *, int, const char *)’) sasl.c:1260: warning: assignment from incompatible pointer type sasl.c:1264: error: invalid operands to binary & (have ‘struct sasl_callback_t *’ and ‘int (*)(struct sasl_conn_t *, void *, char *, unsigned int, char *, unsigned int, const char *, unsigned int, struct propctx *)’) sasl.c:1264: warning: assignment from incompatible pointer type sasl.c:1268: error: invalid operands to binary & (have ‘struct sasl_callback_t *’ and ‘int (*)(struct sasl_conn_t *, void *, const char *, unsigned int, unsigned int, const char *, char *, unsigned int, unsigned int *)’) sasl.c:1268: warning: assignment from incompatible pointer type make[2]: *** [sasl.o] Error 1 make[2]: Leaving directory `/home/marco/openldap-OPENLDAP_REL_ENG_2_4-98f70f1/servers/slapd' make[1]: *** [all-common] Error 1 make[1]: Leaving directory `/home/marco/openldap-OPENLDAP_REL_ENG_2_4-98f70f1/servers' make: *** [all-common] Error 1
Thanks Marco
Build fails for 32 bit msys/mingw (and config --prefix=/mingw --enable-accesslog --with-tls --enable-syncprov)
slapadd.o: In function `getrec0': C:/msys/1.0/openldap-2.4.41Git/servers/slapd/slapadd.c:116: undefined reference to `ftello' slapadd.o: In function `slapadd': C:/msys/1.0/openldap-2.4.41Git/servers/slapd/slapadd.c:486: undefined reference to `ftello' libbackends.a(mdbmdb.o): In function `mdb_cursor_push': C:/msys/1.0/openldap-2.4.41Git/servers/slapd/back-mdb/./../../../libraries/liblm db/mdb.c:5001: undefined reference to `GetFileSizeEx' collect2: ld returned 1 exit status make[2]: *** [slapd.exp] Error 1 make[2]: Leaving directory `/openldap-2.4.41Git/servers/slapd' make[1]: *** [all-common] Error 1 make[1]: Leaving directory `/openldap-2.4.41Git/servers' make: *** [all-common] Error 1
Regards, Frank
If you know how to build OpenLDAP manually, and would like to
participate in testing the next set of code for the 2.4.41 release, please do so.
Generally, get the code for RE24:
<
http://www.openldap.org/devel/gitweb.cgi?p=openldap.git;a=snapshot;h=refs/he...
Configure & build.
Execute the test suite (via make test) after it is built.
It builds find on EL7 x86_64 and tests succeed.
Build does not work on EL6 x86_64. Exits during make for sasl. I could not figure out what is wrong. Last lines are below. If I run the configure script with --with-cyrus-sasl=no, make runs through without errors.
sasl.c: In function ‘slap_auxprop_lookup’: sasl.c:320: warning: ‘return’ with a value, in function returning void sasl.c: In function ‘slap_sasl_init’: sasl.c:1115: error: ‘sasl_callback_ft’ undeclared (first use in this function) sasl.c:1115: error: (Each undeclared identifier is reported only once sasl.c:1115: error: for each function it appears in.) sasl.c: In function ‘slap_sasl_open’: sasl.c:1260: error: ‘sasl_callback_ft’ undeclared (first use in this function) sasl.c:1260: error: invalid operands to binary & (have ‘struct sasl_callback_t *’ and ‘int (*)(void *, int, const char *)’) sasl.c:1260: warning: assignment from incompatible pointer type sasl.c:1264: error: invalid operands to binary & (have ‘struct sasl_callback_t *’ and ‘int (*)(struct sasl_conn_t *, void *, char *, unsigned int, char *, unsigned int, const char *, unsigned int, struct propctx *)’) sasl.c:1264: warning: assignment from incompatible pointer type sasl.c:1268: error: invalid operands to binary & (have ‘struct sasl_callback_t *’ and ‘int (*)(struct sasl_conn_t *, void *, const char *, unsigned int, unsigned int, const char *, char *, unsigned int, unsigned int *)’) sasl.c:1268: warning: assignment from incompatible pointer type make[2]: *** [sasl.o] Error 1 make[2]: Leaving directory `/home/marco/openldap-OPENLDAP_REL_ENG_2_4-98f70f1/servers/slapd' make[1]: *** [all-common] Error 1 make[1]: Leaving directory `/home/marco/openldap-OPENLDAP_REL_ENG_2_4-98f70f1/servers' make: *** [all-common] Error 1
Thanks Marco
Frank Offermanns wrote:
Build fails for 32 bit msys/mingw (and config --prefix=/mingw --enable-accesslog --with-tls --enable-syncprov)
slapadd.o: In function `getrec0': C:/msys/1.0/openldap-2.4.41Git/servers/slapd/slapadd.c:116: undefined reference to `ftello' slapadd.o: In function `slapadd': C:/msys/1.0/openldap-2.4.41Git/servers/slapd/slapadd.c:486: undefined reference to `ftello' libbackends.a(mdbmdb.o): In function `mdb_cursor_push': C:/msys/1.0/openldap-2.4.41Git/servers/slapd/back-mdb/./../../../libraries/liblm
db/mdb.c:5001: undefined reference to `GetFileSizeEx' collect2: ld returned 1 exit status make[2]: *** [slapd.exp] Error 1 make[2]: Leaving directory `/openldap-2.4.41Git/servers/slapd' make[1]: *** [all-common] Error 1 make[1]: Leaving directory `/openldap-2.4.41Git/servers' make: *** [all-common] Error 1
You already encountered this a few months ago.
http://www.openldap.org/lists/openldap-technical/201501/msg00135.html
Submit an ITS if you want a fix committed, otherwise fix your build as was already suggested on the original email thread.
--On Monday, May 04, 2015 12:43 PM +0200 Marco Schirrmeister marco@schirrmeister.net wrote:
It builds find on EL7 x86_64 and tests succeed.
Build does not work on EL6 x86_64. Exits during make for sasl. I could not figure out what is wrong. Last lines are below. If I run the configure script with --with-cyrus-sasl=no, make runs through without errors.
Thanks, fixed.
--Quanah
--
Quanah Gibson-Mount Platform Architect Zimbra, Inc. -------------------- Zimbra :: the leader in open source messaging and collaboration
On May 5, 2015, at 1:28 AM, Quanah Gibson-Mount quanah@zimbra.com wrote:
--On Monday, May 04, 2015 12:43 PM +0200 Marco Schirrmeister marco@schirrmeister.net wrote:
It builds find on EL7 x86_64 and tests succeed.
Build does not work on EL6 x86_64. Exits during make for sasl. I could not figure out what is wrong. Last lines are below. If I run the configure script with --with-cyrus-sasl=no, make runs through without errors.
Thanks, fixed.
Great, thank you.
It builds now fine on EL6 x86_64 and all tests succeed (bdb/hdb/mdb). My custom rpms, based on git commit bd9bba8, are now also installed on our test servers. They do not have really much load though. But if we encounter something, will let you know here on the list.
Thanks Marco
openldap-technical@openldap.org