SlackwareInstallGuide

From Request Tracker Wiki
Jump to navigation Jump to search


Unofficial Installation Guide

This is an unofficial installation guide. It may be outdated or apply only to very specific configurations and versions. The official and maintained installation steps for RT are in the README and UPGRADING documents included in the official .tar.gz packages.




This page 'SlackwareInstallGuide' is tagged as OUTDATED
This page contains out of date and possibly misleading information or instructions such as installation methods or configuration examples that no longer apply. Please consider this warning when reading the page below.
If you have checked or updated this page and found the content to be suitable, please remove this notice by editing the page and remove the Outdated template tag.



Yes, RT does work under Slackware! The following instructions are to be read in conjunction with the generic installation guide and assume that MySQL, CPAN etc. are already configured. Due to the number of Perl bits and bobs which will be installed, it is recommended that if you haven't done it already, you set CPAN to follow dependencies.

What follows works for Slack 11.

Firstly, a few of the packages fail because they don't download their dependencies. So, manually install the following packages within CPAN (perl -MCPAN -e shell):

  • Bundle::CPAN
  • HTML::HeadParser
  • DBI
  • Apache::DBI
  • Test::Pod
  • Test::Pod::Coverage
  • DBD::mysql

Secondly, Slack doesn't include mod_perl, so you'll have to install that. Note that contrary to some advice, you do not need to recompile Apache!

Download mod_perl from http://perl.apache.org/

Unzip it and CD to the directory. run "perl Makefile.PL USE_APXS=1 WITH_APXS=/usr/sbin/apxs EVERYTHING=1" make and make install, restart apache.

Next download RT and run configure with whatever parameters you want. Before you run "make testdeps":

  • RT_FIX_DEPS_CMD='/usr/bin/perl -MCPAN -e"install %s"'
  • export RT_FIX_DEPS_CMD

One of the modules (Apache::Test) requires full access to the build directory, so for ease of use..

  • chmod 777 /root
  • chmod 777 /root/.cpan
  • chmod -R 777 /root/.cpan/*

(which assumes you're running as root) There's bound to be a proper way of doing this!

then...

  • make testdeps

Which should show a whole load of MISSINGs

  • make fixdeps

Which will take a while to run

  • make testdeps

Which should say everything is hunkey-dorey!

Don't forget to tidy up

  • chmod 700 /root
  • chmod 700 /root/.cpan
  • chmod -R 700 /root/.cpan/*

And then follow the rest of the generic install guide.