Here are the steps to compile svn+trac :

Here, /usr/bin/python has been used to compile in. So, if you’re using /usr/local/bin/python, change the python paths accordingly.

Note that these steps are not for svn access using apache.

cd source/

Install clearsilver
===================

wget http://www.clearsilver.net/downloads/clearsilver-0.10.4.tar.gz
tar -zxvf clearsilver-0.10.4.tar.gz
cd clearsilver-0.10.4/
./configure
make
make install

Install neon
===================

wget wget http://www.webdav.org/neon/neon-0.25.0.tar.gz
tar -zxvf neon-0.25.0.tar.gz
cd neon-0.28.0/
./configure –prefix=/usr/local/neon –with-ssl -with-zlib –enable-shared –enable-static make
make install

Install subversion
===================

wget http://subversion.tigris.org/downloads/subversion-1.4.6.tar.gz
tar -zxvf subversion-1.4.6.tar.gz
cd subversion-1.4.6
./configure
PYTHON=/usr/bin/python –without-berkeley-db –with-ssl –with-zlib –with-apr=/usr/local/apr/bin/apr-config
–with-apr-util=/usr/local/apr/bin/apu-config –with-neon=/usr/local/neon
make swig-py
make install-swig-py
make
make install

This is important
The svn library should be available in the python path.

ln -s /usr/local/lib/svn-python/svn /usr/lib/python2.4/site-packages/svn
ln -s /usr/local/lib/svn-python/libsvn/usr/lib/python2.4/site-packages/libsvn

Install mysql-python
====================

wget
http://downloads.sourceforge.net/mysql-python/MySQL-python-1.2.2.tar.gz?modti
me=1172959928&big_mirror=0 tar -zxvf MySQL-python-1.2.2.tar.gz
cd MySQL-python-1.2.2/
python setup.py build
python setup.py install

Install trac
====================

wget http://ftp.edgewall.com/pub/trac/trac-0.10.4.tar.gz
tar -zxvf trac-0.10.4.tar.gz
cd trac-0.10.4/
python setup.py build
python setup.py install

Useful links
====================
http://trac.edgewall.org/wiki/TracSubversion — Checklist if the svn python integration is not working.


Shares
Contact Us On WhatsApp