Full_Name: Anthony Pardini Version: 1.2.1 OS: Redhat 6.0 URL: ftp://ftp.openldap.org/incoming/ Submission from: (NULL) (205.241.165.250) the default ./configure compile on RH 6.0 does not work. It selects GDBM which doesn't seem to be supported and also tries to define strdup improperly. It does seem to work using the db api. ./configure --enable-ldbm --with-ldbm-api=db to fix the strdup problem I removed the else statement from the #ifndef HAVE_STRDUP statement on line 49 of /include/ac/string.h These changes allow all of the tests to pass.
The strdup() issue is resolved in OpenLDAP 1.2.2 (released today). The option --with-ldbm-api=db selects BerkeleyDB 1.8x. Use --with-ldbm-api=db2 for Sleepycat BerkeleyDB 2.x. You may need to adjust CPPFLAGS and LDFLAGS if headers/libraries are not in the compilers default search paths. Kurt
changed state Open to Feedback
changed state Feedback to Closed