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

Compiling Trouble (BDB)

From: Gre7g Luterman <gre7g.luterman_at_gmail.com>
Date: Sun, 14 Sep 2008 11:07:42 -0600

On my server, I'm trying to compile the latest subversion from source, but
I'm getting hung up with Berkeley DB.

I configured, made, and installed BDB (from source) without a problem. Then
I unzipped APR and APR-util into apr and apr-util directories under my
subversion source, but when I do a ./configure, I get this:

configure: WARNING: we have configured without BDB filesystem support

 You don't seem to have Berkeley DB version 4.0.14 or newer
installed and linked to APR-UTIL. We have created Makefiles which
will build without the Berkeley DB back-end; your repositories will
use FSFS as the default back-end. You can find the latest version of
Berkeley DB here:
  http://www.oracle.com/technology/software/products/berkeley-db/index.html

So, if Subversion compiles apr-util automatically, it is unable to guess
where BDB was installed.

Fine. If I "./configure --with-berkeley-db=/usr/local/BerkeleyDB.4.7/" then
I get:

checking for Berkeley DB... not found
configure: error: Berkeley DB not found.
configure failed for apr-util

Grr. Does anyone have a guess as to what has gone wrong here? Or perhaps, is
there a directory under Subversion that I can put BDB (like how I do with
apr and apr-util) to have it compile it in a way that it might prefer?

For reference, I'm running an old Ubuntu server (please do not suggest
apt-get it seems to be unhappy on my server) and I currently serve up my
subversion repository svnserve, so I don't need to link this up to Apache.

Also, I'm not subscribed to this list, so if you could CC me in your reply,
I'd appreciate it.

Thanks,

Gre7g
Received on 2008-09-14 22:21:55 CEST

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.