On Thursday 04 December 2003 11.06, Florent Guiliani wrote:
> Hi all,
>
> Please help me, I'm trying to compile subversion 0.34.0 but it cannot
> find my Berkeley DB :(
> ~/test/subversion-0.34.0 $>./configure --prefix=/home/florent/test
> --with-apxs=/home/florent/test/bin/apxs
> --with-apr=/home/florent/test/bin/apr-config
> --with-berkeley-db=/home/florent/test/Berkeley_DB-4.2.50
First: a small checklist (narrowing the reasons of what can be wrong with
some "stupid questions"):
* If you use apache:
Are your apache binaries at /home/florent/test/bin/apxs ?
Did you compile apache (apr-utils against DB-4.2.50) ?
* Are the berkeley binaries in your path?
* Can the system find the required libraries in the right
place (check your /etc/ld.so.conf)
Can you try this slightly harder way of doing it (if I can assume that
everything lives with prefix=/home/florent/test)
I'm assuming that all steps are done from within toplevel of unpacked
packages (this is what I do when I need to seperate test from my system,
adus/add/remove --*=* according to your taste and needs ):
NOTICE: The instructions should be sutable for all of you who
have trouble to compile with RedHat 9.0. Just adjust
your paths and run. :-)
-------------------------------------------------------------
$ export PATH=/home/florent/test/bin:$PATH
db 4.2.50:
==========
cd build_unix &&
../dist/configure --prefix=/home/florent/test \
--enable-compat185 --enable-cxx &&
make && make docdir=/home/florent/test/db install
neon 0.24.4:
============
./configure --prefix=/home/florent/test \
--with-ssl --enable-shared &&
make && make install
apr:
====
cd inside the subversion tarball to apr and:
./configure --prefix=/home/florent/test &&
make && make install
apr-util:
=========
cd inside the subversion tarball to apr-util:
./configure --prefix=/home/florent/test \
--with-apr=/home/florent/test/bin/apr-config \
--with-berkeley-db=/home/florent/test &&
make && make install
apache:
=======
./configure --prefix=/home/florent/test \
--enable-mods-shared=all --enable-so \
--enable-dav --with-apr=/home/florent/test/bin/apr-config \
--with-apr-util=/home/florent/test/bin \
--with-berkeley-db=/home/florent/test &&
make depend && make && make install
subversion
==========
Notice that the --with-apr-util are different from the one for apache
./configure --prefix=/home/florent/test \
--enable-ssl \
--with-apr=/home/florent/test/bin/apr-config \
--with-apr-util=/home/florent/test/apu-config \
--with-berkeley-db=/home/florent/test \
--with-apxs=/home/florent/test/bin/apxs \
--enable-dso --with-zlib --with-neon=/home/florent/test
The risk is that the compile will use excisting subversion libs in your
system during the make so you should do a cp /usr/lib/libsvn_* /to/a/
safe/place/ before the make proccess.
Now it's time to make:
$ make && make install
Good luck!
Jostein
--
http://www.josander.net/kontakt/ ||
http://www.josander.net/en/contact/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Dec 4 13:04:26 2003