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

Problems compiling subversion 1.2.0 on solaris with berkeley db

From: Pierre Girard <pierre.girard_at_gerad.ca>
Date: 2005-06-13 22:29:05 CEST

Hello,
    i'm trying to compile subversion on a solaris machine and when i try
the configure command it doesn't find the berkeley db. I compiled the
db and put it in a directory and i give the additional
-with-berkeley-db= but it still doesn't find it.

Here are few commands i tried to get configure to work:
./configure --with-berkeley-db=/home/i386-pc-solaris2/db-4.3.28
--prefix=/home/i386-pc-solaris2/subversion-1.2.0

CFLAGS="-O2" CPPFLAGS="-I$FWD/db-4.3.28/include"
LDFLAGS="-L//home/i386-pc-solaris2/db-4.3.28/lib -lthread" ./configure
--with-berkeley-db=/home/i386-pc-solaris2/db-4.3.28
--prefix=/home/i386-pc-solaris2/subversion-1.2.0

bash-3.00$ ls /home/i386-pc-solaris2/db-4.3.28/{lib,include}
/home/i386-pc-solaris2/db-4.3.28/include:
db.h db_cxx.h

/home/i386-pc-solaris2/db-4.3.28/lib:
libdb-4.3.a libdb.a

Some selected output from configure:
checking for Berkeley DB 4.3 in /home/i386-pc-solaris2/db-4.3.28...
checking db43/db.h usability... no
checking db43/db.h presence... no
checking for db43/db.h... 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 db_185.h presence... no
checking for db_185.h... no
checking for Berkeley DB... not found
configure: error: Berkeley DB not found.
configure failed for apr-util

It seems to find the header file but it decides it's not enough?
Do you have any suggestions to get that to work?

Thanks.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jun 13 22:52:33 2005

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.