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

Problem compiling svn with Berkeley DB4.0

From: Chonger <jcheng_at_johncheng.dhs.org>
Date: 2001-12-19 04:08:33 CET

Following the instructions in INSTALL, I have able to compile
a client only version of svn. I was able to co the latest code,
recompile, and get (as of a week ago), the latest version of
svn.

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/.libs/libsvn_fs.a(trail.o): In function
`commit_trail':
devel/subversion/libsvn_fs/trail.c:104: undefined reference to
`txn_checkpoint'
devel/subversion/libsvn_fs/.libs/libsvn_fs.a(fs.o): In function
`cleanup_fs':
devel/subversion/libsvn_fs/fs.c:134: undefined reference to `txn_checkpoint'
devel/subversion/libsvn_fs/fs.c:139: undefined reference to `txn_checkpoint'
collect2: ld returned 1 exit status

txn_checkpoint seems to be a part of the BerkelyDB, and it seems to be
defined in my db_cxx.h file. I don't know why it's considered
undefined.

I installed svn in this dir struct

 svn/
  |
  +-------> devel <--- root dir of svn
  +-------> BerkeleyDB4.0 <--- root dir of Berkeley install
  | +-----> lib
  | +-----> include
  +-------> db-4.0.14 <--- Berkeley DB's source code from
                               tarball

Do I simply need a earlier version of BDB? INSTALL refers to
BerkeleyDB 3.3 , is that what I need and where can I get it?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
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.