You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Mark Scheufele <ma...@diasemi.com> on 2004/10/01 15:11:00 UTC

configure: error: Berkeley DB not found

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