Installation on Debian

Install apache, fastcgi, mysql ... from woody.

libcgi-fast-perl libfcgi-perl

deb http://www.backports.org/debian stable mysql-dfsg


Adduser rt

su - rt

Get perl 5.8.x as a tarball

wget -N http://perl.com/CPAN/src/stable.tar.gz


build and install in /home/rt/perl

rm -f config.sh Policy.sh \

	&& sh Configure -de -Dprefix=$HOME/perl \
	&& make \
	&& make test \
	&& make install

make sure PATH for rt is /home/rt/perl/bin:$PATH

wget -N http://download.bestpractical.com/pub/rt/release/rt.tar.gz

uncompress rt3.x in /home/rt/rt-3.x

cd into it

run the configure

./configure --prefix=$HOME/rt3 --with-my-user-group
then fix Makefile
PERL = /usr/home/rt/perl/bin/perl5.8.2

rt@run:~/src/rt-3-0-7_01$ perl sbin/rt-test-dependencies --with-mysql --with-fastcgi

run perl -MCPAN -e shell and configure the default options asked

CPAN build and cache directory? [/usr/home/rt/.cpan] /usr/home/rt/src/cpan
Parameters for the 'make install' command? UNINST=1

run the test for perl modules with --install from rt

rt@run:~/src/rt-3-0-7_01$ perl sbin/rt-test-dependencies --with-mysql
--with-fastcgi --install

it will install almost all modules needed, for just somes you will have
to install the corrects header from woody (libmysqlclitn10-dev for
example) and for some you will need to go into /home/rt/.cpan/build to
make it yourself

rt@run:~/src/rt-3-0-7_01$ perl -MCPAN -e 'install DBD::mysql'

rt@run:~/src/rt-3-0-7_01$ make install
rt@run:~/src/rt-3-0-7_01$ make initialize-database

configure your apache for fastcgi:

  LoadModule fastcgi_module /usr/lib/apache/1.3/mod_fastcgi.so
  In your vhost:
  ScriptAlias /rt /home/rt/rt/bin/mason_handler.fcgi/
  FastCgiServer /home/rt/rt/bin/mason_handler.fcgi
  Alias /NoAuth/images/ /home/rt/rt/share/html/NoAuth/images/
  <Location /rt>
  	AddDefaultCharset UTF-8
	SetHandler fastcgi-script

That's a quick howto because I need to go to work;)

This is the only one method I've found to keep my woody box in a good
state. It just need to maintain perl for security fixes...But building
perl 5.8 as a package for woody would need a lot of time...

If I can help you...