Edgewall Software

Changes between Version 6 and Version 7 of TracOnSlackware12


Ignore:
Timestamp:
Oct 26, 2015, 8:40:42 PM (4 years ago)
Author:
figaro
Comment:

Cosmetic changes

Legend:

Unmodified
Added
Removed
Modified
  • TracOnSlackware12

    v6 v7  
    1 = Trac on Slackware 12.0 =
    2 The above instruction tells about deploying trac on Slackware Linux 12.0.
     1[[PageOutline(2-5,Contents,pullout)]]
    32
    4 == Prerequisites ==
     3= Trac on Slackware 12.0
     4
     5The above instruction tells about deploying trac on [http://www.slackware.com/ Slackware Linux 12.0], at end-of-life since 2012-08-01.
     6
     7== Prerequisites
     8
    59This software must be installed:
    610 * d/python
     
    1115 * checkinstall (1.6.0, if you use 1.6.1, don't forget to add --install=yes into it's options list)
    1216
    13 == Installing software ==
     17== Installing software
    1418
    15 === SQLite ===
     19=== SQLite
     20
    1621Build and install:
    17 {{{
     22{{{#!sh
    1823configure --prefix=/usr --sysconfdir=/etc
    1924make
     
    2126}}}
    2227
    23 === pysqlite ===
     28=== pysqlite
     29
    2430Build and install:
    25 {{{
     31{{{#!sh
    2632python setup.py build
    2733python setup.py install
    2834}}}
    2935
     36=== SWIG
    3037
    31 === SWIG ===
    3238Build and install:
    33 {{{
     39{{{#!sh
    3440configure --prefix=/usr --sysconfdir=/etc
    3541make
     
    3743}}}
    3844
    39 === Subversion ===
     45=== Subversion
     46
    4047Subversion package need to be rebuilt to enable SWIG.
    4148 * Grab sources and !SlackBuild of original package (see source/d/subversion).
     
    8996Note that version number and package revision can be different.
    9097
    91 === pycxx ===
     98=== pycxx
     99
    92100Build and install:
    93 {{
     101{{#!sh
    94102python setup.py install
    95103}}
    96104
    97 === pysvn ===
     105=== pysvn
     106
    98107Since Slackware lacks some crypto libraries, it's neccessary to patch Source/setup.py first:
    99108{{{
     
    119128}}}
    120129
    121 === Clearsilver ===
     130=== Clearsilver
     131
    122132Build and install:
    123 {{{
     133{{{#!sh
    124134configure --prefix=/usr --sysconfdir=/etc --with-python=/usr/bin/python --without-ruby --without-java --without-csharp
    125135make
    126136checkinstall --type=slackware --arch=i686 --pkgname=clearsilver --pkgrelease=trac1 --default
    127137}}}
    128 Note: if make fails, try changing --without-* to --disable-*. So, your configure command may look like
    129 {{{
     138
     139Note: if make fails, try changing --without-* to --disable-*. So, your configure command may look like:
     140{{{#!sh
    130141configure --prefix=/usr --sysconfdir=/etc --with-python=/usr/bin/python --disable-ruby --disable-java --disable-csharp
    131142}}}
    132143
    133 === trac ===
     144=== Trac
     145
    134146Build and install:
    135 {{{
     147{{{#!sh
    136148python setup.py build
    137149python setup.py install
     
    139151}}}
    140152
    141 === mod_python (optional) ===
     153=== mod_python (optional)
     154
    142155Build and install:
    143 {{{
     156{{{#!sh
    144157configure --prefix=/usr --sysconfdir=/etc --with-apxs=/usr/sbin/apxs
    145158make
    146159checkinstall --type=slackware --arch=i686 --pkgname=mod_python --pkgrelease=trac1 --default
    147160}}}
    148 Don't forget to add the following into /etc/httpd/httpd.conf:
    149 {{{
     161
     162Don't forget to add the following into `/etc/httpd/httpd.conf`:
     163{{{#!apache
    150164LoadModule python_module lib/httpd/modules/mod_python.so
    151165}}}
    152166
    153 == Notes on Python Modules ==
     167== Notes on Python Modules
     168
    154169 * Check whether all the modules are installed into /usr/lib/python2.5/site-packages
    155170 * Check whether /usr/lib/python is a symlink to /usr/lib/python2.5
    156171
    157 == Configuring ==
    158 Configuration of trac on Slackware is the same as for other Linux distros, there is no peculiarity:
    159  * Configure trac environment
    160  * Configure Apache
     172== Configuring
     173
     174Configuration of Trac on Slackware is the same as for other Linux distros, there is no peculiarity:
     175 * Configure Trac environment.
     176 * Configure Apache.