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

Re: Problem setting up repository: svn: Berkeley DB error whilecreating environment

From: Dominic Anello <danello_at_danky.com>
Date: 2004-02-05 16:32:39 CET

On 2004-02-05 12:11:20 +0100, Stephan Kuhagen wrote:
----8<----
> The distribution is Fedora but with a vanilla-kernel 2.4.21 (which I
> needed because of a patch for the IDE-Driver to habe DMA...). db4 was
> the db4-4.1.25-14-RPMs. I recompiled the db4 from the SRPMs and
> reinstalled db4, then compiled subversion 0.37 and got the same error:
>
> subversion/libsvn_fs/bdb/bdb-err.c:61: (apr_err=160029)
> svn: Berkeley DB error while creating environment for filesystem myrep/db:
> Invalid argument
>
> Even when installing a new db4 (from the current source-tarbal,
> version 4.2.52) and then configuring svn with
>
> configure --with-berkeley-db=/usr/local/BerkeleyDB.4.2/ --enable-maintainer-mode
----8<----

Did you add /usr/local/BerkeleyDB.4.2/lib to /etc/ld.so.config and run
ldconfig? I found this to be necessary on Red Hat 9.1 with db-4.1
installed.

Are you using the apr/apu that comes with the subversion distribution?
When building apr-util, you can pass --with-dbm=db42 to force it to use
only the db-4.2 api. If configure fails saying it can't find Berkeley
db, then you know something is wrong with your db install.

If you need more info on how I got it to stop see db-4.1, I can email
you my exact configure steps off-list.

-Dominic

  • application/pgp-signature attachment: stored
Received on Thu Feb 5 16:33:19 2004

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.