You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Sander Klous <sa...@nikhef.nl> on 2001/08/08 10:55:39 UTC

problems --with-berkeley-db

Hi,
I am trying to configure the subversion distribution but
I am running in to problems.

I did a cvs checkout of subversion
I did a cvs checkout of apr in the subversion root dir.
I unzipped the neon tgz file and renamed it to neon in
the subversion root dir.
I installed apache 2.0
I compiled Berkeley DB from source in BerkeleyDB.3.2.9 directory
first version 3.3.11 and later tried version 3.2.9. I compiled
with cxx and java libs.

I specify the following switches during subversion configure using:
./configure --prefix=/user/sander/Home/subversion
--with-apxs=/user/sander/Home/apache_2.0/bin/apxs
--with-berkeley-db=/user/sander/Home/BerkeleyDB.3.2.9

But I get the following error message (this is the
last bit of the listing).
*************************************************************
Using configuration for building neon 0.15.3:

Install prefix: /user/sander/Home/subversion
Compiler: gcc
XML Parser: expat in /user/sander/Home/subversion/expat-lite
SSL library: No SSL support
Build libraries: Shared=yes, Static=yes

Now run 'make' to compile the neon library.

neon configured properly
loading cache ./config.cache
checking for any extra libraries neon
needs... -L/user/sander/Home/subversion/lib
checking for static Apache module support... no
checking for Apache module support via DSO through APXS... found at
/user/sander/Home/apache_2.0/bin/apxs
checking for Berkeley DB in /user/sander/Home/BerkeleyDB.3.2.9... no
configure: error: Could not find Berkeley DB 3.2.9.
[monochroom] [4]
*************************************************************
I also tried to specify lib and include directory seperate:
--with-berkeley-db=includedir:libdir

but no success.
Hope you can help,
Sander Klous



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: problems --with-berkeley-db

Posted by Ben Collins-Sussman <su...@collab.net>.
"Sander Klous" <sa...@nikhef.nl> writes:

> I compiled Berkeley DB from source in BerkeleyDB.3.2.9 directory
> first version 3.3.11 and later tried version 3.2.9. I compiled
> with cxx and java libs.
> 
> I specify the following switches during subversion configure using:
> ./configure --prefix=/user/sander/Home/subversion
> --with-apxs=/user/sander/Home/apache_2.0/bin/apxs
> --with-berkeley-db=/user/sander/Home/BerkeleyDB.3.2.9
>
> [...]
>
> checking for Berkeley DB in /user/sander/Home/BerkeleyDB.3.2.9... no
> configure: error: Could not find Berkeley DB 3.2.9.


Sander,

The --with-berkeley-db option specifies the location of an *installed*
db library and headers.  

Reading your mail, I get the impression that the path you provided is
just a db source-tree (with perhaps some compiled things within it.)

Be sure to `make install' your db library, and then either let
subversion's ./configure script try to find it automatically, or you
can pass --with-berkeley-db=/path/to/installed/location.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org