Hi,
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
directory.
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
make install
popd
popd
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
make install
popd
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 \
--with-apr-util=/opt/subversion
make
make install
popd
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