[Date Prev][Date Next]
Re: (ITS#4913) configure & BerkleyDB
> Full_Name: Fred Obermann
> Version: 2.3.34
> OS: linux
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (188.8.131.52)
> I just downloaded, built and installed openldap-2.3.34 using BerkeleyDB-4.5.20.
> There seems to be a disconnect between where openldap-2.3.34 'configure' expects
> db.h is and where Oracle's build procedure puts db.h.
> For 4.5.20, db.h is located in "/usr/local/BerkeleyDB.4.5/include". Setting:
> CPPFLAGS="I/usr/local/BerkeleyDB.4.5/include", prior to invoking 'configure'
> does not seem to enable 'configure' to find 'db.h'. Providing soft link from
> /usr/local/BerkeleyDB.4.5/include/db.h to /usr/include seems to fix this
If that's exactly what you used, you're missing the "-" in CPPFLAGS="-I..."
> Furthermore there seems to be a disconnect between the Oracle naming convention
> for the BerkeleyDB libraries and what openldap's 'configure' utility seems to
The configure script works perfectly fine with all 4.x releases of
BerkeleyDB, including 4.6 which has not yet been publicly released.
This ITS will be closed.
-- Howard Chu
Chief Architect, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/