[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:56: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"
>
> Alternatively, you may be able to do it by editing the Makefile (or
> perhaps Makefile.in) and changing things like SVN_DB_LIBS and CFLAGS.
>

Nope, that didn't work. :-( It compiled and it has the lib-4.2 library
listed but the db files are version 4.1.

> 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 play around some more with the m4 stuff, if I can just get it to NOT
link in the BDB 4.1 stuff then I *may* have a fighting chance.

--
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:57:45 2005

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