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

General filesystem error: Bad database version, was: Re: swiggy bdb problems.

From: Chris Croome <chris_at_webarchitects.co.uk>
Date: 2004-06-09 14:54:12 CEST


I have exactly the same error as the email in the thread I'm replying
to [1].

I did have a Redhat 9 box running David's RPMS and SVN::Web installed
using CPAN.

Yesterday I upgraded this box to Fedora 2, discovered that subversion
doesn't work on Fedora 2 with a K6 300 [2] so this morning I switched
the disks into a old celeron and did a force install of 4 i686 rpms and
now subversion works.

I have also built all the RPMs needed for SVN::Web to run and installed
these, however I now have this error when trying to browse repos using

  General filesystem error: Bad database version: compiled with 4.2.52,
  running against 4.0.14 at /usr/lib/perl5/site_perl/5.8.3/SVN/Web.pm
  line 101

The happy ending below was a result of recompiling apache and subversion
-- I have installed the apache 2 SRPM from Fedora 2 and can't see
anything in the spec file about berkeley db's... does anyone have any
suggestions that might point me in the right direction?



On Thu 26-Feb-2004 at 08:31:59PM -0600, Ben Collins-Sussman wrote:
> On Thu, 2004-02-26 at 16:42, Ben Collins-Sussman wrote:
> > But whenever I try to *use* the bindings (either loading the svn
> > modules into python, or running 'make test' on the perl bindings), I
> > get errors about conflicts between db4.0 and 4.2.
> Here's the happy ending:
> After Ben Reser and I spent hours looking at the problem, Mike Pilato
> finally suggested that the whole "put BDB 4.2 into ld.so.conf"
> strategy was basically a hack, and that I was lucky it was working at
> all.
> So Mike sent me the standard patch to apr-util's configure (the one
> from CVS) to teach it how to *really* recognize db-4.2. I
> reconfigured apache --with-berkeley-db=XXX --with-dbm=db42, rebuilt
> from scratch, then rebuilt svn from scratch. Poof, all problems gone.
> No more double-linkage to db40 and db42. I was able to build both the
> python and perl bindings perfectly, just following the bindings
> INSTALL. And they work fine.

[1] http://www.contactor.se/~dast/svn/archive-2004-02/0945.shtml

[2] https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=91933

Chris Croome                               <chris@webarchitects.co.uk>
web design                             http://www.webarchitects.co.uk/ 
web content management                               http://mkdoc.com/   
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jun 9 14:54:51 2004

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