I'm trying out 1.5.0-rc9 on a Fedora 7 x86_64 client. The server is
svn 1.4.3, also on Fedora 7 x86_64.
Two questions, possibly related:
1) Building this was a hassle, see below for the script I ended up
with. I'm curious if others have built more easily on like platforms
or see any problems with the script below. I'm not an experienced
distro builder so I may well have missed something.
2) If I set http-library = serl, I see segfaults while checking out
frequently (not always on the same file or revision though). I also
get a segfault if I ls/co/etc a non-existent directory on my
repository. If I access http://svn.collab.net/repo, I have yet to see
a segfault, although if I access a non-existent directory there I do
not get the expected "non-existent" msg, I just get no msg at all.
And everything works great if http-library = neon. Before I get much
further in debugging this: is a 1.5 serf client expected to behave
well with older servers?
Thanks for any help.
Kylo
----------------------------------------------
#!/bin/bash
# derived in large part from
# http://joemaller.com/2008/01/29/how-to-install-subversion-on-a-shared-host/
svn_version=1.5.0-rc9
install_dir=/opt/subversion-$svn_version
log=`pwd`/svnbuild.log
exec 3<> $log
echo logging to $log
# check if the two tarballs exist in ~/downloads
pushd ~/downloads > /dev/null 2>&1
if [ ! -f subversion-$svn_version.tar.bz2 ]; then
echo downloading subversion-$svn_version.tar.bz2
wget http://subversion.tigris.org/downloads/subversion-$svn_version.tar.bz2
fi
if [ ! -f subversion-deps-$svn_version.tar.bz2 ]; then
echo downloading subversion-deps-$svn_version.tar.bz2
wget http://subversion.tigris.org/downloads/subversion-deps-$svn_version.tar.bz2
fi
popd > /dev/null 2>&1
echo untarring files
tar xjvf ~/downloads/subversion-$svn_version.tar.bz2 >&3
tar xjvf ~/downloads/subversion-deps-$svn_version.tar.bz2 >&3
cd subversion-$svn_version
cd apr
echo configuring apr
./configure --enable-shared --prefix=$install_dir >&3
echo building apr
(make && make install) >&3
cd ../apr-util
echo configuring apr-util
./configure --enable-shared --prefix=$install_dir --with-expat=builtin
--with-apr=$install_dir --without-berkeley-db >&3
echo building apr-util
(make && make install) >&3
cd ../neon
echo configuring neon
./configure --enable-shared --prefix=$install_dir
--with-libs=$install_dir --with-ssl >&3
echo building neon
(make && make install) >&3
cd ../serf
echo configuring and building serf with its preferred tool
./serfmake --prefix=$install_dir --with-apr=$install_dir install >&3
cd ..
echo configuring subversion
./configure --prefix=$install_dir --with-apr=$install_dir
--with-apr-util=$install_dir --with-neon=$install_dir
--without-berkeley-db --with-serf=$install_dir
--with-apxs=/usr/sbin/apxs >&3
# need sudo for the make install b/c of the apache modules ...
echo building subversion
(make && sudo make install) >&3
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-06-06 21:22:37 CEST