Changes between Version 6 and Version 7 of TracOnSlackware12
- Timestamp:
- Oct 26, 2015, 8:40:42 PM (8 years ago)
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)]] 3 2 4 == Prerequisites == 3 = Trac on Slackware 12.0 4 5 The 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 5 9 This software must be installed: 6 10 * d/python … … 11 15 * checkinstall (1.6.0, if you use 1.6.1, don't forget to add --install=yes into it's options list) 12 16 13 == Installing software ==17 == Installing software 14 18 15 === SQLite === 19 === SQLite 20 16 21 Build and install: 17 {{{ 22 {{{#!sh 18 23 configure --prefix=/usr --sysconfdir=/etc 19 24 make … … 21 26 }}} 22 27 23 === pysqlite === 28 === pysqlite 29 24 30 Build and install: 25 {{{ 31 {{{#!sh 26 32 python setup.py build 27 33 python setup.py install 28 34 }}} 29 35 36 === SWIG 30 37 31 === SWIG ===32 38 Build and install: 33 {{{ 39 {{{#!sh 34 40 configure --prefix=/usr --sysconfdir=/etc 35 41 make … … 37 43 }}} 38 44 39 === Subversion === 45 === Subversion 46 40 47 Subversion package need to be rebuilt to enable SWIG. 41 48 * Grab sources and !SlackBuild of original package (see source/d/subversion). … … 89 96 Note that version number and package revision can be different. 90 97 91 === pycxx === 98 === pycxx 99 92 100 Build and install: 93 {{ 101 {{#!sh 94 102 python setup.py install 95 103 }} 96 104 97 === pysvn === 105 === pysvn 106 98 107 Since Slackware lacks some crypto libraries, it's neccessary to patch Source/setup.py first: 99 108 {{{ … … 119 128 }}} 120 129 121 === Clearsilver === 130 === Clearsilver 131 122 132 Build and install: 123 {{{ 133 {{{#!sh 124 134 configure --prefix=/usr --sysconfdir=/etc --with-python=/usr/bin/python --without-ruby --without-java --without-csharp 125 135 make 126 136 checkinstall --type=slackware --arch=i686 --pkgname=clearsilver --pkgrelease=trac1 --default 127 137 }}} 128 Note: if make fails, try changing --without-* to --disable-*. So, your configure command may look like 129 {{{ 138 139 Note: if make fails, try changing --without-* to --disable-*. So, your configure command may look like: 140 {{{#!sh 130 141 configure --prefix=/usr --sysconfdir=/etc --with-python=/usr/bin/python --disable-ruby --disable-java --disable-csharp 131 142 }}} 132 143 133 === trac === 144 === Trac 145 134 146 Build and install: 135 {{{ 147 {{{#!sh 136 148 python setup.py build 137 149 python setup.py install … … 139 151 }}} 140 152 141 === mod_python (optional) === 153 === mod_python (optional) 154 142 155 Build and install: 143 {{{ 156 {{{#!sh 144 157 configure --prefix=/usr --sysconfdir=/etc --with-apxs=/usr/sbin/apxs 145 158 make 146 159 checkinstall --type=slackware --arch=i686 --pkgname=mod_python --pkgrelease=trac1 --default 147 160 }}} 148 Don't forget to add the following into /etc/httpd/httpd.conf: 149 {{{ 161 162 Don't forget to add the following into `/etc/httpd/httpd.conf`: 163 {{{#!apache 150 164 LoadModule python_module lib/httpd/modules/mod_python.so 151 165 }}} 152 166 153 == Notes on Python Modules == 167 == Notes on Python Modules 168 154 169 * Check whether all the modules are installed into /usr/lib/python2.5/site-packages 155 170 * Check whether /usr/lib/python is a symlink to /usr/lib/python2.5 156 171 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 174 Configuration of Trac on Slackware is the same as for other Linux distros, there is no peculiarity: 175 * Configure Trac environment. 176 * Configure Apache.