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

Re: applied Mo DeJong's built-in DB patch

From: Mo DeJong <mdejong_at_cygnus.com>
Date: 2001-08-09 11:59:57 CEST

On Wed, 8 Aug 2001 kfogel@collab.net wrote:

> I've applied Mo DeJong's patch to build Berkeley DB directly in the
> Subversion tree, if it is present as subdir `db' in the top-level.
> You can read his original post about it here:

And there was much rejoicing.

> http://subversion.tigris.org/servlets/ReadMsg?msgId=28881&listName=dev
>
> By the way, one of the interesting results of testing this patch is
> the discovery that we can probably use Berkeley DB 3.3.11 just fine,
> despite my earlier post. Yay!

As long as you don't try to run autoconf in the db subdir, the
db build should just use the existing configure script and
things should be peachy.

> The one bothersome thing is the "build fails" entry. I'm not sure of
> the root cause, but here is what happened:
>
> $ ./autogen.sh; ./configure; make
> cd subversion/libsvn_delta && /bin/sh /home/kfogel/src/wc_subversion/libtool --silent --mode=link gcc -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -I/home/kfogel/src/wc_subversion/db/dist -g -O2 -pthread -I./subversion/include -I. -I./apr/include -I./neon/src -I./expat-lite -rpath /usr/local/lib -o libsvn_delta.la compose_editors.lo default_editor.lo svndiff.lo text_delta.lo track_editor.lo vdelta.lo xml_output.lo xml_parse.lo -lm -lcrypt -lnsl -ldl -L/home/kfogel/src/wc_subversion/db/dist -ldb
> /usr/bin/ld: cannot find -ldb
> collect2: ld returned 1 exit status
> make: *** [subversion/libsvn_delta/libsvn_delta.la] Error 1
> $
>
> Any ideas? Mo?

That typically means make is not getting run in db/dist.
I can't seem to reproduce this problem. I just did
./autogen.sh followed by a full rebuild and it worked for me.

cheers
Mo

---------------------------------------------------------------------
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:35 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.