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

Re: Two BDB questions

From: Ryan Schmidt <subversion-2006c_at_ryandesign.com>
Date: 2006-09-08 06:57:46 CEST

On Sep 8, 2006, at 05:52, Troy Curtis Jr wrote:

> Ok I have two BDB questions:
>
> First, I have heard time and time again to not USE bdb based repos on
> an NFS share. My question is whether it would be safe to use
> hot-backup.py or svnadmin hotcopy to access the BDB repo over NFS and
> create a local copy?

I have no experience with BDB repositories myself, but it does not
sound to me as if that would be safe.

> Second, I have a Red Hat 8.0 system which seems to have
> libdb{4.0,4.1,4.2}, and I want to install and run 4.4 (I guess the
> latest is the greatest right?). So I download the db4.4 and the
> configure/build goes perfectly but when I try to tell subversion to
> use it (with --with-berkeley-db=/usr/local/Berkeley4.4) it still grabs
> the 4.0 version! I made sure that this path was in my /etc/ld.so.conf
> file, but no luck. Looking at the configure it seems to be looking
> for a db4.4/db.h file, but my build does not produce a directory
> named that at all.
>
> Ok trying it on my gentoo box (I had 4.3 installed so this test works
> ok) I see that it says:
> checking for Berkeley DB 4.4 in /usr/local/BerkeleyDB.4.4/lib...
> .....
> checking for -ldb-4.4... no
>
> Yet an 'ls /usr/local/BerkeleyDB.4.4/lib' gives:
> libdb-4.4.a libdb-4.4.la libdb-4.4.so libdb-4.so libdb.a libdb.so
>
> Any ideas (/usr/local/BerkeleyDB.4.4/lib/ is in /etc/ld.so.conf, and I
> performed and env-update)?

According to the Subversion 1.4 release notes, that is the first
version that supports BDB 4.4. Since Subversion 1.4 is not released
yet, you're probably using Subversion 1.3.2, so I believe that means
you should use at most BDB 4.3.

http://subversion.tigris.org/svn_1.4_releasenotes.html

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 8 06:58:56 2006

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.