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

Re: configure stopping on Berkeley DB include.........

From: Ryan Schmidt <subversion-2010b_at_ryandesign.com>
Date: Tue, 21 Sep 2010 16:23:26 -0500

On Sep 21, 2010, at 08:52, Stewart Dean wrote:

> I built apr and apr-util on this machine, then ran configure like this:
>
> ./configure --with-apr=/usr/local/apr/bin --with-apr-util=/usr/local/apr/bin
>
> The configure runs fine up until:
>
> checking for availability of Berkeley DB... no
> configure: error: Berkeley DB 4.0.14 or newer wasn't found.
>
> So I configure, made and made install the Berkeley DB at the latest level of a fresh download from Oracle and called configure again:
>
> ./configure --with-apr=/usr/local/apr/bin --with-apr-util=/usr/local/apr/bin --with-berkele
> y-db=db.h:/usr/local/BerkeleyDB.5.1/include:/usr/local/BerkeleyDB.5.1/lib:XXXX
>
>
> where XXXX has been lib, libdb, libdb-5.1
>
> in all cases I still get:
>
> checking for availability of Berkeley DB... no
> configure: error: Berkeley DB 4.0.14 or newer wasn't found.
>
> The binaries are in /usr/local/BerkeleyDB.5.1/bin....in the off chance that they weren't being seen, I copied them all into /usr/local/bin, but I stll get those two lines.

In MacPorts, we successfully use the following configure argument:

--with-berkeley-db=:${prefix}/include/db46:${prefix}/lib/db46:db-4.6

So, adapted to your BDB version and prefix, try:

--with-berkeley-db=:/usr/local/BerkeleyDB.5.1/include:/usr/local/BerkeleyDB.5.1/lib:db-5.1

Note that apr-util will also need to have been compiled against the same version of BDB.

That said, do you even need BDB support? Most people don't anymore and you could just use --without-berkeley-db to disable it.
Received on 2010-09-21 23:24:53 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.