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

Re: Subversion's Berkeley DB detection with APR trunk

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: Tue, 21 Jun 2011 10:11:34 -0400

On 06/21/2011 09:42 AM, Philip Martin wrote:
> "C. Michael Pilato" <cmpilato_at_collab.net> writes:
>
>> I'd be interested in knowing why the --db-version parameter was
>> dropped. In the absence of a solid reason, I think APR should be
>> changed to support as much.
>
> Probably it's because apr is now modular and BDB support is one of the
> things that is loaded dynamically. It's easy enough to reinstate
> --db-version, but that doesn't fix Subversion because apr no longer
> explicitly links against the BDB library. Subversion's configure fails
> its link test with 'undefined reference to db_version'.

Hrm.

I seem to recall that it used to be extremely important for Subversion to
use the same BDB to which APR was linked. mod_dav_svn used APR's DB support
for its activities database, and couldn't deal with having APR's DB being
one flavor of BDB while the Subversion repositories which it also needed to
read/write needed a different flavor of BDB. Has any of this changed since
our move (back in 1.5) away from DB-based activities databases? I mean,
could we move BDB detection into Subversion proper and that not be catastrophic?

-- 
C. Michael Pilato <cmpilato_at_collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Received on 2011-06-21 16:12:55 CEST

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.