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

Re: configure error - looking for db, db4

From: Lübbe Onken <l.onken_at_rac.de>
Date: 2003-10-29 08:56:22 CET

Eric Johnson wrote:
> Hi,
>
> I'm trying to build svn 0.32.1 on Solaris and so far, no luck.
> I'm using the following switches to 'configure' and getting the
> failure below...
>
> ./configure --with-neon=/usr/local --enable-dso --with-apxs
> --with-berkeley-db=/usr/local/BerkeleyDB.4.0
>
> checking for Berkeley DB in /usr/local/BerkeleyDB.4.0 (as db4)... no
> checking for Berkeley DB in /usr/local/BerkeleyDB.4.0 (as db)... no
> configure: error: Could not find Berkeley DB 4.0.14 with names: db4 db

Hi Eric,

I created a link in /usr/local/db4 which points to BerkeleyDB.4.0, so I
can later switch the Berkeley DB and use the same configure for apache
and svn. I downgraded from Berkeley DB 4.1.25 to 4.0.14 smoothly on
monday using this approach.
Did you run autogen.sh before configure?

ra:/usr/local # ls -l
total 72
drwxr-xr-x 18 root root 4096 Oct 27 10:45 .
drwxr-xr-x 18 root root 4096 Aug 23 2002 ..
drwxr-xr-x 6 root root 4096 Oct 27 10:08 BerkeleyDB.4.0
drwxr-xr-x 15 svn svn 4096 Apr 9 2003 apache2
drwxr-xr-x 6 root root 4096 Apr 9 2003 apr
drwxr-xr-x 2 root root 4096 Oct 27 11:25 bin
lrwxrwxrwx 1 root root 15 Oct 27 10:45 db4 ->
BerkeleyDB.4.0/

here are the contents of my config.nice for subversion which really work
nice :-)

"./configure" \
"--with-ssl" \
"--with-apxs=/usr/local/apache2/bin/apxs" \
"--with-berkeley-db=/usr/local/db4" \
"$@"

And here are the contents of config.nice for apache, which I compiled
before svn:
"./configure" \
"--enable-dav" \
"--enable-ssl" \
"--with-dbm=db4" \
"--with-berkeley-db=/usr/local/db4/" \
"$@"

HTH
-Lübbe

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Oct 29 09:21:31 2003

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.