Edgewall Software

Version 26 (modified by Jonas Borgström, 17 years ago) ( diff )

Removed broken link

http://www.suse.com/images/suse.png

Trac on SuSE Linux

Warning: be sure to always read the generic TracInstall instructions first.

Trac works well on both SuSE 9.0 and 9.1, using the distributed RPMs.

Additional packages required for Trac installation can be found at:

http://monsters.rsn.uni-rostock.de/pkg/suse/9.0/

or

http://monsters.rsn.uni-rostock.de/pkg/suse/9.1/

Since monsters doesn't yet have 9.1 packages, SuSE 9.1 supplementary packages are also available at

http://trac.teleologic.net/packages_9.1/

If you're installing from the generic package not the rpm you need to add python development packages to be able to run python ./setup.py install

Another man's tale

warning: this is about Trac 0.8

I wanted to install trac .8 which as of Jan 13, 2005 didn't have a SuSe rpm. Most of the install went relatively smoothly if it didn't take a while to track (no pun intended) down all the rpms. One thing I wanted to use was an existing repository created on windows with sqlite v3. To upgrade SuSe's sqlite to v3 I had to uninstall the existing sqlite via Yast - it also uninstalled the old python bindings. I found the new rpm's here http://linux01.gwdg.de/~pbleser/rpm-navigation.php?cat=%2FDevelopment%2Fsqlite and make sure you Yast install both the sqlite3-3.0.7-1suse91.i686.rpm and the sqlite3-devel-3.0.7-1suse91.i686.rpm. Then to get the python bindings going - since I couldn't find any rpm's you download the source pysqlite-1.1.6.tar.gz from pysqlite's main page. Then extract that to your hard drive and run:

  • python setup.py build
  • python setup.py install

as shown in the readme.

As of Feb 2, 2005, pbleser's sqlite SuSE RPM packages appear to have been moved to http://linux01.gwdg.de/~pbleser/rpm-navigation.php?cat=/Libraries/sqlite

Yet another tale

You can install trac on AMD64

  • Install SUSE Linux 10
  • Make you sure you have installed the needed dependencies.(python , subversion-python , subversion , python-sqlite , python-devel , python-xml and so on… )
  • Get clearsilver 0.10.2 or later.
  • compile it
  • ./configure —prefix=/usr —mandir=/usr/share/man —disable-java —disable-ruby —disable-csharp —enable-gettext —disable-apache —with-python=/usr/bin/python —disable-perl
    • make
    • make install
    • ldconfig
  • Proceed with the instalation procedure as usual.

about clearsilver …

For me (Suse 10.0, installing clearsilver from source) it was NOT enough to run ./configure

I had to follow this advice from the cs source distribution (excerpt from clearsilver-0.10.2/python/README.txt):

COMPILING on UNIX Compiling from source on Linux (UNIX) should be pretty straightforward. Simply make sure that the Makefile and top level rules.mk point to your Python installation of choice

…this meant manually editing these 2 files after ./configure !

SuSE Linux Enterprise 9

I was attempting to get a Trac installation up for a new project on a new SLES9 server (dual EM64T, which GCC knows as x86_64), and quickly discovered the long road ahead. I've successfully gotten Trac 0.9b2 running on the server, and have documented my process at TracOnSLES9. The process isn't too bad once you know the tricks you have to pull and where the configuration parameters are. This is all documented pretty thoroughly. Cheers!

SuSE Linux 10.0 x64

On a SuSE Linux 10.0 x64 box I had to copy the Clearsilver neo_cgi.so from /usr/lib/python2.4/site-packages to /usr/lib64/python2.4/site-packages.

The reason was I got the following error "TracError: ClearSilver not installed (No module named neo_cgi)" after running "tracd —port 8000 /path/to/project"


See also: TracInstall, TracGuide

Note: See TracWiki for help on using the wiki.