Friday, June 09, 2006

Sqlite - Trac - Subversion - Slackware 10.2

Install Trac with sqllite and subversion under slackware 10.2

*Swig
tar -xzvf swig-1.3.27.tar.gz
cd swig-1.3.25
./configure --with-python=/usr/bin/python
make && make install

*subversion
tar -xzvf subversion-1.3.0.tar.gz
cd subversion-1.3.0
./configure --with-apxs=/usr/local/apache2/bin/apxs --with-swig=/usr/local/
make && make install
make swig-py && make install-swig-py
ldconfig

*clearsilver
tar -xzvf clearsilver-0.10.1.tar.gz
cd clearsilver-0.10.1
./configure
make && make install
cd python
python setup.py install

*mod_python
tar -xzvf mod_python-3.1.4.tgz.gz
./configure --with-apxs=/usr/local/apache2/bin/apxs
make && make install
make install_dso
make install_py_lib

LoadModule python_module /usr/local/apache2/modules/mod_python.so
AddModule mod_python.c

/usr/local/apache2/bin/apachectl stop
/usr/local/apache2/bin/apachectl start

*Sqlite

tar -xzvf sqlite-3.2.8.tar.gz
cd sqlite-3.2.8
./configure
make
make install

*pysqlite
tar -xzvf pysqlite-2.0.5.tar.gz
cd pysqlite-2.0.5
python setup.py build
python setup.py install

*Trac
tar -xzvf trac-0.9.2.tar.gz
python ./setup.py install


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

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

trac-admin /somedir/trac/project_name initenv
tracd --port 8000 /somedir/trac/project_name

http://localhost:8000/project_name

*Apache conf

ScriptAlias /trac /usr/share/trac/cgi-bin/trac.cgi

SetEnv TRAC_ENV "/somedir/trac/project_name"


http://localhost/trac/

Software links:

wget -r -L -c -nd http://initd.org/pub/software/pysqlite/releases/2.0/2.0.5/pysqlite-2.0.5.tar.gz
wget -r -L -c -nd http://kent.dl.sourceforge.net/sourceforge/swig/swig-1.3.27.tar.gz
wget -r -L -c -nd http://www.clearsilver.net/downloads/clearsilver-0.9.14.tar.gz
wget -r -L -c -nd http://pysvn.tigris.org/files/documents/1233/26687/pysvn-1.3.1.tar.gz
wget -r -L -c -nd http://ftp.edgewall.com/pub/trac/trac-0.9.2.tar.gz
wget -r -L -c -nd http://www.sqlite.org/sqlite-3.2.8.tar.gz
wget -r -L -c -nd http://apache.online.bg/httpd/modpython/mod_python-3.1.4.tgz


Have Fun !
:)

0 Comments:

Post a Comment

<< Home