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

Re: Support for BDB in RPM's

From: David Summers <david_at_summersoft.fay.ar.us>
Date: 2005-04-27 06:28:29 CEST

On Tue, 26 Apr 2005, Philip Martin wrote:

> David Summers <david@summersoft.fay.ar.us> writes:
>
>> Any ideas on what to try next? How to override the detected APR-UTIL
>> setting?
>
> You need to use -I/some/path to ensure that the location of your BDB
> headers is the first placed searched. You will also need to ensure
> that your BDB library is linked, which might require adding
> "-L/some/path" and "-lsome-db" to the link command.
>
> I think you can achieve this by configuring to use apr-utils BDB and
> then building using something like
>
> $ make EXTRA_CFLAGS=-I/some/path EXTRA_LDFLAGS="-L/some/path -lsome-lib"

Ah, that looks promising. I substituted -ldb with -ldb-4.2 in the
Makefile AFTER I configured and then when I added the -I/usr/include/db42
in the make operation as suggested above.

However, when I do a 'ldd svn' it shows both libdb-4.1 and libdb-4.2 (in
that order). Is that going to cause a problem? (This is all compiled
with a BDB 4.2 that has --unique-name option compiled in).

I'm getting ready to run it through the Subversion tests but I'm not
convinced that will show me whether there is a problem or not because it
passed all the tests with just DB 4.1.25 as well.

> Or you might want to try hacking the m4 stuff in order to make
> configure do what you want, and then get that patch accepted on the
> trunk.

I'll try that next and see what happens.

Thanks!

--
David Wayne Summers        "Linux: Because reboots are for hardware upgrades!"
david_at_summersoft.fay.ar.us PGP Key: http://summersoft.fay.ar.us/~david/pgp.txt
PGP Key fingerprint =  0B44 B118 85CC F4EC 7021  1ED4 1516 5B78 E320 2001
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Apr 27 06:29:21 2005

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