Issue 188 - compiling on RH6.0
Summary: compiling on RH6.0
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-06-01 17:34 UTC by tony@emphasys.net
Modified: 1999-06-02 23:57 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description tony@emphasys.net 1999-06-01 17:34:29 UTC
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.
Comment 1 Kurt Zeilenga 1999-06-01 17:55:05 UTC
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
Comment 2 Kurt Zeilenga 1999-06-01 17:55:16 UTC
changed state Open to Feedback
Comment 3 Kurt Zeilenga 1999-06-02 23:57:38 UTC
changed state Feedback to Closed