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

Re: 1.1.0_rc2 update db version 4.2 on existing repositories

From: Jeff Kowalczyk <jtk_at_yahoo.com>
Date: 2004-09-22 17:24:05 CEST

Max Bowsher wrote:
> The recommended procedure for moving between BDB versions is to
> "svnadmin dump" using a svnadmin linked to the old bdb version, and
> "svnadmin load" using a svnadmin linked to the new bdb version. There
> are other ways in some circumstances, but this is the simple,
> recommended, all-purpose way to do it.

I'm taking your advice and trying to build a separate subversion-1.0.6
(the last version used in which a commit was made) to do the 'svnadmin
dump' step, then use the currently installed subversion-1.1.0_rc2 linked
against BerkelyDB4.2 or fsfs to do the svnadmin load.

Is there any way to tell which BDB version the repositor(ies) are
expecting? I want to pass --with-berkelydb= to the 1.0.6 configure script.

But the only information I have to go on is the error message:

$ svnadmin dump acme
svn: Berkeley DB error while opening environment for filesystem acme/db:
Invalid argument
svn: bdb: Program version 4.2 doesn't match environment version

What does that 'environment version' refer to? I presume it isn't
environment variables.

Below is the package file list for the various db4 versions installed on
my system. What is the argument I should pass to ./configure
--with-berkely-db= ?

Alternatively, can I just use one of the existing db4 dump commands on the
repository (how?), or is it mandatory to use 'svnadmin dump'? My
repositories are all in /home/myuser/svn/repos1 , repos2 , etc.


$ qpkg sys-libs/db-4 -l
sys-libs/db-4.2.52_p2 *
/usr/lib/libdb_cxx.a -> libdb_cxx-4.2.a 1092695681
/usr/lib/libdb.so -> libdb-4.2.so 1092695681
/usr/include/db_185.h -> db4.2/db_185.h 1092695682
/usr/lib/libdb_cxx.so -> libdb_cxx-4.2.so 1092695682
/usr/lib/libdb.a -> libdb-4.2.a 1092695682
/usr/include/db.h -> db4.2/db.h 1092695682

sys-libs/db-4.1.25_p1-r4 *
/usr/lib/libdb_cxx.so -> libdb_cxx-4.1.so 1087736021
/usr/lib/libdb.a -> libdb-4.1.a 1087736021
/usr/lib/libdb_cxx.a -> libdb_cxx-4.1.a 1087736021
/usr/lib/libdb.so -> libdb-4.1.so 1087736021
/usr/include/db.h -> db4.1/db.h 1087736021
/usr/include/db_185.h -> db4.1/db_185.h 1087736021

sys-libs/db-4.0.14-r3 *
/usr/lib/libdb_cxx.a -> libdb_cxx-4.0.a 1086112209
/usr/lib/libdb.so -> libdb-4.0.so 1086112209
/usr/include/db.h -> db4/db.h 1086112209
/usr/include/db_185.h -> db4/db_185.h 1086112209
/usr/lib/libdb_cxx.so -> libdb_cxx-4.0.so 1086112209
/usr/lib/libdb.a -> libdb-4.0.a 1086112209

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Sep 22 17:24:25 2004

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.