[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

configure: error: Berkeley DB not found

From: Mark Scheufele <mark.scheufele_at_diasemi.com>
Date: 2004-10-04 14:00:50 CEST

Hi,

I've a problem when running configure for subversion 1.1.0 rc3 on a solaris 8 box. My configure line looks as
Follows "./configure --prefix=/usr/local/stow/subversion-1.1.0-rc3 --with-berkeley-db=/usr/local/db- 4.2.52.NC". The Berkeley db package is available under /usr/local/db-4.2.52 but the configure script aborts with the messages:

checking for Berkeley DB 4.0 in /usr/local/db-4.2.52.NC...
checking db4/db.h usability... no
checking db4/db.h presence... no
checking for db4/db.h... no
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking for -ldb-4.0... no
checking db4/db.h usability... no
checking db4/db.h presence... no
checking for db4/db.h... no
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking for -ldb4... no
checking db4/db.h usability... no
checking db4/db.h presence... no
checking for db4/db.h... no
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking for -ldb... No

I also tried the switch --with-dbm= where I tried to give the accurate version of Berkeley db I'm using 4.2.52, yet with no success.

Besides the various configure switches I also played with the LDFLAGS and CPPFLAGS variables:

[root@majestix:...subversion-1.1.0-rc3]#export CPPFLAGS="-I/usr/local/db-4.2.52.NC/include" [root@majestix:...subversion-1.1.0-rc3]#export LDFLAGS="-L/usr/local/db-4.2.52.NC/lib -L/usr/local/lib -R/usr/local/db-4.2.52.NC/lib -R/usr/local/lib"

I don't know what else could be done to get subversion compiled with Berkeley db.

Any help highly appreciated,

mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Oct 4 14:01:37 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.