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

Re: Is BDB 4.1.25 okay?

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2003-11-17 16:25:36 CET

On Mon, 2003-11-17 at 09:15, Wadsworth, Eric (Contractor) wrote:

> ./configure --with-berkeley-db=/usr/local/BerkeleyBD.4.1
>

Maybe because you mistyped the path to BDB there? :-)

Whatever the case, make sure that the BerkeleyDB libs are in your
LD_LIBRARY_PATH, or else the configure test will fail.

Actually, let me summarize the larger picture here. As of svn 0.33, our
BDB build strategy has changed:

* apr-util now looks for all versions of BDB, and chooses one.
* Subversion's configure simply asks the installed apr-util for BDB.

This prevents Subversion and Apache/apr-util from using two different
versions of BDB.

This means that the best way to do things is:

* make sure BDB 4.0 or 4.1 is installed at location $FOO
* make sure $FOO is in your $LD_LIBRARY_PATH
* unpack the httpd tarball, run

   ./configure --with-berkeley-db=$FOO --with-dbm=db4 (plus other args)

   These two arguments get passed down to apr-util's configure -- it
tells apr-util where to find BDB, and specifically to only choose db4 if
multiple db versions are available.

* configure subversion with no mention of BDB stuff. It only needs to
find apr-util and "ask" for the BDB build info. (If apache is installed
in /usr/local/apache2/, this will happen automatically, else you need to
pass --with-apr=, --with-apr-util=)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Nov 17 16:26:45 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.