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

Re: build from scratch gets wedged

From: Christopher Ness <chris_at_nesser.org>
Date: 2004-11-01 17:37:33 CET

On Mon, 2004-11-01 at 06:15, Aharon Robbins wrote:
> - Download latest berkeley DB, apply the two patches, build and install
> in /usr/local/BerkeleyDB.4.2.
>
> - Extract subversion 1.0.9 tar ball.
>
> - Applied the db42-support-patch.txt to apr-util/configure

Aharon,

I did not apply any patches to either source files for DBD or SVN. Are
these really required?

> - In the top level directory, run
>
> configure --with-berkeley-db=/usr/local/BerkeleyDB.4.2 --with-dbm=db42
>
> When I try to create a new repository, I get:
>
> $ /usr/local/bin/svnadmin create /d/mongo/tmp/svnrepos
> svn: General filesystem error
> svn: bad database version: compiled with 4.1.25, running against 4.2.52

I built 1.0.9 from scratch on FC1. My notes are here, they are not very
complete. In fact they are more of a "story" of how I got SVN compiled:
http://www.nesser.org/index.php?itemid=313

The well written INSTALL file recommends doing this before compiling:

   943 $ rm /usr/local/lib/libsvn*
   944
   945 If you have old subversion libraries sitting on your system,
   946 libtool will link them instead of the `fresh' ones in your tree.
   947 Remove them before building subversion.

For what it's worth, here was my configure line. You may or may not
want the SSL support:

[nesscg@jackd subversion-1.0.9]$ ./configure --with-ssl \
 --with-berkeley-db=/usr/local/BerkeleyDB.4.2 > ~/subversion.conf

HTH's
Chris

-- 
Software Engineering IV,
McMaster University
PGP Public Key: http://www.nesser.org/pgp-key/
11:20:41 up 20:01, 1 user, load average: 0.08, 0.07, 0.05 
http://www.fsf.org/philosophy/no-word-attachments.html

Received on Mon Nov 1 17:38:03 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.