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

Re: Problem compiling svn with Berkeley DB4.0

From: Matt Kraai <kraai_at_alumni.carnegiemellon.edu>
Date: 2001-12-19 18:13:28 CET

On Wed, Dec 19, 2001 at 11:00:10AM -0600, Ben Collins-Sussman wrote:
> "Chonger" <jcheng@johncheng.dhs.org> writes:
>
> > Today I installed BerkeleyDB4.0 to try to get a version
> > capable of accessing local repo. But make is exiting with
> > this error:
> >
> > devel/subversion/libsvn_fs/fs.c:134: undefined reference to `txn_checkpoint'
>
> We don't support DB 4 yet, it's too new. You need 3.3.11 for now. If
> you have DB 4 installed system-wide, then just drop a 3.3 tree right
> into your svn source, and it will be used instead.

If you want to use DB 4, however, it's trivial to convert
subversion. I think the following (untested) script will do so:

for file in subversion/libsvn_fs/fs.c subversion/libsvn_fs/trail.c; do
  sed 's/txn_checkpoint (\([^,]\+\)/\1->\0/' $file >$file.new
  mv $file.new $file
done

Matt

  • application/pgp-signature attachment: stored
Received on Sat Oct 21 14:36:53 2006

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.