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

Re: Compiling Trouble (BDB)

From: Ryan Schmidt <subversion-2008c_at_ryandesign.com>
Date: Mon, 15 Sep 2008 17:11:11 -0500

On Sep 15, 2008, at 10:23, Gre7g Luterman wrote:

> On Sun, Sep 14, 2008 at 2:59 PM, Ryan Schmidt wrote:
>
>> BerkeleyDB 4.7 may be too new. Or you may just need to specify it
>> differently; try:
>>
>> --with-berkeley-db=/usr/local/BerkeleyDB.4.7/include:/usr/local/
>> BerkeleyDB.4.7/lib
>>
>> The INSTALL document [1] says version 4.4 is recommended, but
>> implies that 4.5 will be supported once APR supports BDB 4.5,
>> which I believe it has for some time, so I think the INSTALL
>> document is out of date.
>>
>> MacPorts compiles Subversion using BDB 4.6 without problems.
>>
>> Do you really need BDB support for some reason? Most people don't.
>> I recommend using
>>
>> --without-berkeley-db
>>
>> when compiling both apr-util and subversion to save yourself the
>> trouble.
>>
>>
>> [1] http://svn.collab.net/repos/svn/trunk/INSTALL
>
> Oh, awesome. Thank so you much for helping me. I'm not sure how I
> got it stuck in my head that I *HAD* to have BDB.
>
> Turns out my current repository was FSFS and had I succeeded in
> getting BDB to link properly, everything would have gotten hosed.
> Three cheers for being incompetent at the best possible time!

I don't think anything would have gotten hosed by having BDB
correctly installed. It would merely have given you the option of
accessing local BDB-based repositories also. Without BDB, you can
only access local FSFS-based repositories. But FSFS repositories have
been available since Subversion 1.1 and have been the default
repository type since Subversion 1.2 and aren't subject to the kinds
of issues that BDB repositories can encounter ("wedging").

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-09-16 00:11:42 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.