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

Re: SVN, Apache2, and Berkeley4.2 (beyond the FAQ)

From: Gavin Kistner <gavin_at_refinery.com>
Date: 2004-03-09 19:52:16 CET

On Mar 9, 2004, at 11:31 AM, John Peacock wrote:
> Please let us know if this addition fixes your problems.

It did! Yay!

To summarize (for google/logs):
I was having trouble building apache2 (httpd2) for use with subversion
(SVN). Specifically, my linux/slackware 9.1 install didn't have
Berkeley DB v4.2 installed. Compiling apache was using BDB3, which was
not acceptable for subversion. After downloading and
building/installing bdb4.2, all manner of methods that were supposed to
work to specifically specify the path failed to work (including the FAQ
entry http://subversion.tigris.org/project_faq.html#linux-bdb42-build
and its associated patch). Not previously mentioned, this also included
several ways of explicitly specifying LD_LIBRARY_PATH.

The following sequence worked for me:

cd /usr/local/src/
rm -r httpd-2.0.48/
tar xzf _archive/httpd-2.0.48.tar.gz
cd ../httpd-2.0.48/

curl -O http://subversion.tigris.org/db42-support-patch.txt
patch -p0 <db42-support-patch.txt

echo '/usr/local/BerkeleyDB.4.2/lib/' >> /etc/ld.so.conf

./configure --enable-dav=shared --enable-dav_fs=shared
--enable-expires=shared --enable-deflate=shared --enable-rewrite=shared
--disable-userdir --enable-maintainer-mode --with-dbm=db42

make; make install

ldd /usr/local/apache2/bin/httpd | fgrep libdb
   => libdb-4.2.so => /usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Mar 9 19:54:25 2004

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