2009-11-18

Install SVN 1.6.5 in Debain Etch

We still need to use Debian Etch for our project, I am running it through chroot on ubuntu, and also vmware on osx. it's default svn is 1.4, which cannot access the shared svn source folder (1.6.5 on both ubuntu 9.10 and osx 10.6.2), so here is the steps to install svn 1.6.5 on etch (sqlite in etch is too old to be used to compile svn 1.6.5, also I am not running svn repository in the chroot, so just ignore the warning of Berkeley DB)
wget http://www.sqlite.org/sqlite-amalgamation-3.6.13.tar.gz
tar xzf sqlite-amalgamation-3.6.13.tar.gz
wget http://subversion.tigris.org/downloads/subversion-1.6.5.tar.bz2
tar xjf subversion-1.6.5.tar.bz2
sudo apt-get install build-essential
sudo apt-get install libapr1-dev
sudo apt-get install libaprutil1-dev
sudo apt-get install libneon26-dev
cd subversion-1.6.5
mkdir sqlite-amalgamation
cp ../sqlite-3.6.13/sqlite3.c sqlite-amalgamation/
./configure
make
sudo make install
You may also want to upgrade pysvn to pysvn-1.7.1
wget http://pysvn.barrys-emacs.org/source_kits/pysvn-1.7.1.tar.gz
tar xzf pysvn-1.7.1.tar.gz
cd pysvn-1.7.1/Source/
python setup.py backport
python setup.py configure
make
sudo cp pysvn/* /usr/lib/python2.4/site-packages/pysvn/

3 comments:

Tony Wang said...

we can get subversion-deps-1.6.5.tar.bz2 from the official website, and it can solve all the dependencies, so we don't have to install the *-dev packages.

Unknown said...
This comment has been removed by the author.
Unknown said...

sry! do you know, if it's possible to install the libapache2-svn for subVersion 1.6.9 so we can use apache2 for our repositories?