Folks,
Let's talk about building everything from scratch for a bit. Let's say I'm
looking at the following resources:
http://www.onlamp.com/pub/a/apache/2002/12/19/svn2.html
http://www.contactor.se/~dast/svnusers/archive-2003-12/0090.shtml
http://svn.collab.net/repos/svn/trunk/INSTALL
(not necessarily in that order). I've tried a lot of combinations of those
various instructions, but I haven't hit on anything yet that completely
works (although I think I'm close).
The biggest issue seems to be the APR/APR-util. Some of the online info
seems to suggest that you should favor the ones that come with Subversion,
some that it doesn't much matter. So far, pretty much no matter what I do
Subversion complains about it.
My system is Redhat (7.x, I think). I can't use the current Apache (as it's
under 2.0 and can't be upgraded), and there doesn't appear to be a Berkeley
DB4 on it. So I'm currently trying this:
cd /usr/local
sudo mkdir subversion
cd subversion
sudo mkdir db4 apache svn-0.35.1
sudo ln -s svn-035.1 svn
cd ~/src/db-4.2.52/build_unix
../dist/configure --prefix=/usr/local/subversion/db4 --enable-compat185 --enable-cxx
make
sudo make docdir=/usr/local/subversion/db4/db install
cd ~/src/httpd-2.0.48
./configure --prefix=/usr/local/subversion/apache --enable-mods-shared=all --enable-so --enable-dav --with-berkeley-db=/usr/local/subversion/db4
make
sudo make install
cd ~/src/subversion-0.35.1
./configure --prefix=/usr/local/subversion/svn-0.35.1 --enable-ssl --with-berkeley-db=/usr/local/subversion/db4 --with-apxs=/usr/local/subversion/apache/bin/apxs --enable-dso --with-zlib
make
sudo make install
I'm doing subdirectories underneath /usr/local/subversion so that it'll be
easy to drop in a new version of svn without having to recompile Apache/DB4
(or figure out which files to copy over). Now, I'm not completely sure this
is going to work, since I'm still in the process. But I thought I'd drop in
and ask:
1) Am I on the right track here? Am I missing anything fundamental?
2) Is there another online resource for this I haven't stumbled upon?
3) Are all those arguments to configure really necessary? (e.g.
--enable-compat185 for DB) Any important ones I'm missing?
4) What _is_ the deal with APR and APR-util anyway? Should I be using the
one that comes with Apache (2.0.48) or the one that comes with Subversion?
Thanx all.
-- Buddy
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jan 15 19:24:21 2004