You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Eric Johnson <Er...@Sun.COM> on 2003/10/28 00:38:25 UTC
configure error - looking for db, db4
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
I've also tried --with-berkeley-db with no path arguement.
It appears (to my eye) that Berkeley DB is installed correctly,
however...
{root}iceland:[79]>ls -l /usr/local/BerkeleyDB.4.0
total 8
drwxrwxrwx 2 root other 512 Oct 27 17:04 bin/
drwxrwxrwx 10 root other 512 Oct 27 17:04 docs/
drwxrwxrwx 2 root other 512 Oct 27 17:04 include/
drwxrwxrwx 2 root other 512 Oct 27 17:04 lib/
{root}iceland:[257]>ls -l BerkeleyDB.4.0/lib
total 3224
-rwxrwxrwx 1 root other 895556 Oct 27 17:04 libdb-4.0.a*
-rwxrwxrwx 1 root other 724 Oct 27 17:04 libdb-4.0.la*
-rwxrwxrwx 1 root other 727880 Oct 27 17:04 libdb-4.0.so*
lrwxrwxrwx 1 root other 12 Oct 27 17:04 libdb-4.so ->
libdb-4.0.so*
lrwxrwxrwx 1 root other 11 Oct 27 17:04 libdb.a ->
libdb-4.0.a*
lrwxrwxrwx 1 root other 12 Oct 27 17:04 libdb.so ->
libdb-4.0.so*
Am I missing something? Should I symlink some stuff?
--EJ
_______________________________________
Eric R. Johnson
SunServices
Sun Microsystems, Inc.
Phone: (303)-272-5671, x75671
Email: eric.r.johnson@sun.com
_______________________________________
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: configure error - looking for db, db4
Posted by Ben Collins-Sussman <su...@collab.net>.
Eric Johnson <Er...@Sun.COM> writes:
> 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
Add /usr/local/BerkeleyDB.4.0 to your LD_LIBRARY_PATH.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: configure error - looking for db, db4
Posted by Lübbe Onken <l....@rac.de>.
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