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

Re: Berkeley DB compatibility problems

From: Mukund <mukund_at_tessna.com>
Date: 2004-01-15 11:15:23 CET

Pete

Can you please run:

ldd /path/to/bin/svn
ldd /path/to/lib/libsvn_fs-1.so.0.0.0
ldd /path/to/lib/libsvn_swig_py-1.so.0.0.0

and send the output of these commands to me?

Thanks!

Mukund

On Wed, Jan 14, 2004 at 09:14:50PM -0500, Pete Gonzalez wrote:
> I had problems getting Subversion to compile on a Debian server and
> a RedHat server, both of which were lacking the db-4.2 package.
>
> For reference, here's how I solved it:
>
> 1. Compile and install db-4.2.52.tar.gz
>
> 2. For a non-root installation, add this line to ~/.bash_profile:
>
> export LD_PRELOAD=/home/me/local/BerkeleyDB.4.2/lib/libdb.so
>
> This tells the configure script where to find the db-4.2 libraries.
> For a root install, I instead added "/usr/local/BerkeleyDB.4.2/lib"
> to /etc/ld.so.conf and re-ran ldconfig.
>
> 3. I downloaded apr-util-APU_0_9_BRANCH_20031230052737.tar.gz and
> copied the "configure.in" and "build/dbm.m4" files from it,
> which was suggested here:
>
> http://www.contactor.se/~dast/svn/archive-2003-12/0312.shtml
>
> (Without changes #2 and #3, the ./configure command would fail.)
>
> 4. I ran configure (these options are for the non-root install):
>
> ./configure --prefix=/home/me/local/ \
> --with-berkeley-db=/home/me/local/BerkeleyDB.4.2/lib/ \
> --with-dbm=db42 --with-ssl\
> --enable-maintainer-mode --disable-mod-activation
>
> 5. Ran "make" and "make install". For non-root install, I had
> to first edit the Makefile to remove "install-mods-shared",
> since otherwise it tries to copy files into an Apache folder.
>
> I'm not sure why other people haven't encountered the problems
> above, but maybe these notes will be useful to someone else.
>
> Cheers,
> -Pete
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org

  • application/pgp-signature attachment: stored
Received on Thu Jan 15 11:16:31 2004

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.