Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

stjohnbee

macrumors newbie
Original poster
Mar 25, 2009
7
0
Hi guys,

I'm trying to install openLDAP at the moment and it's falling over at the point that it's checking the database version.

I try to ./configure openldap with the following line

Code:
Ade$ LDFLAGS=-L/usr/local/BerkeleyDB.4.6/lib/ CPPFLAGS=-I/usr/local/BerkeleyDB.4.6/include/ ./configure CC=$DEVROOT/usr/bin/arm-apple-darwin9-gcc-4.0.1 LD=$DEVROOT/usr/bin/ld --host=arm-apple-darwin --with-yielding_select=yes --with-wrappers

the error message I get is...

Code:
checking for db.h... yes
checking for Berkeley DB major version in db.h... 1
checking for Berkeley DB minor version in db.h... 0
checking if Berkeley DB version supported by BDB/HDB backends... no
configure: error: BerkeleyDB version incompatible with BDB/HDB backends

So it's obviously looking at the wrong db.h file as the one in /usr/local/BerkeleyDB.4.6/include/ has the correct version listed.

I can't find another db.h file that has the wrong version listed.

Anyone know where it might be getting that erroneous version number from?


Cheers
Ade
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.