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

Re: configure fails to find Berkeley DB (subversion 1.0.0)

From: Andreas Jellinghaus <aj_at_dungeon.inka.de>
Date: 2004-02-29 21:41:48 CET


you alway either need any lib directory in /etc/ld.so.conf (and run
ldconfig), or you can set LD_LIBRARY_PATH to include the libs

your patch command is bogus, to patch apache you need
        patch -p0 < db42-support-patch.txt
to patch subversion you need
        patch -p1 < db42-support-patch.txt
to make patch look in the right directory.

I finaly have success with these commands:

export PATH=/opt/subversion/bin:$PATH
export LD_LIBRARY_PATH=/opt/subversion/lib:$LD_LIBRARY_PATH

tar xvfz db-4.2.52.tar.gz

pushd db-4.2.52
        pushd build_unix
                ../dist/configure --prefix=/opt/subversion
                make install

tar xvfz httpd-2.0.48.tar.gz
pushd httpd-2.0.48
        patch -p0 < /home/aj/db42-support-patch.txt
        ./configure --prefix=/opt/subversion --enable-ssl --enable-dav \
                --enable-so --enable-deflate --with-dbm=db42 \
                 --without-gdbm --with-berkeley-db=/opt/subversion
        make install

tar xvfz subversion-1.0.0.tar.gz
pushd subversion-1.0.0
        patch -p1 < /home/aj/db42-support-patch.txt # not needed I guess
        ./configure --prefix=/opt/subversion --with-zlib \
                --with-apxs=/opt/subversion/bin/apxs \
                --with-ssl --with-apr=/opt/subversion \
        make install

change the directories, if you have db, httpd and subversion in
different diretories. make sure LD_LIBRARY_PATH and PATH include all
those lib/ and bin/ directories.

the key was to specify all three, --with-apxs --with-apr and
--with-apr-util for subversion. with only --with-apxs it simply
didn't work.

Good luck to you!

Regards, Andreas

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Feb 29 21:39:54 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.