Version 29 (modified by 19 years ago) ( diff ) | ,
---|
Installing and Running Trac on Gentoo
Trac is included in portage as of 2004/04/29. Installing is as simple as:
emerge trac
Past that, normal Trac configuration should apply.
Someone's put together a really nice guide to setting up trac on gentoo here.
There were a couple of little things that were required to make Trac on Gentoo work.
- Make sure your berkdb and python use flags are set to 'true'!
- If you have any trouble, go down to the bottom and start emerging components this is how I figured out that the svn bindings for Python weren't building, etc.. Be sure to run the python update script if needed.
- Once built, your alias for /trac will be different from the TracInstall doc. It'll look something like this:
Alias /trac "/var/www/yourdomainhere/htdocs/trac/"
This makes Trac all pretty, like you're used to seeing! Otherwise it's got essentially no layout.
Attached is the ebuild to build trac from it's trunk source. To use it save and extract it to your PORTDIR_OVERLAY, normally
/usr/local/portage/www-apps
Of course if you already don't have it there, add to your make.conf:
PORTDIR_OVERLAY="/usr/local/portage/"
So, from scratch, add the above to your make.conf and:
mkdir /usr/local/portage/ mkdir /usr/local/portage/www-apps cd /usr/local/portage/www-apps wget http://projects.edgewall.com/trac/attachment/wiki/TracOnGentoo/trac-svn.tar tar zxvf trac-svn.tar rm trac-svn.tar emerge trac-svn -va
Attachments (3)
-
pysqlite-1.1.6.tar
(20.0 KB
) - added by 19 years ago.
ebuild for pysqlite-1.1.6
- trac-svn-1.tar (20.0 KB ) - added by 19 years ago.
-
trac-svn-2.tar
(10.0 KB
) - added by 18 years ago.
Updated ebuild using 0.9.5 as a base.
Download all attachments as: .zip