[rt-users] Installing rt2 on Fedora Core 6

luton98 at yahoo.co.uk luton98 at yahoo.co.uk
Sun Feb 28 16:16:57 EST 2010


I'm having awful trouble installing rt2 on Fedora Core 6:


Server version: Apache/2.2.6 (Unix)
Server built:   Sep 18 2007 11:26:13
[root at linuxbox ~]# uname -a
Linux linuxbox 2.6.22.14-72.fc6 #1 SMP Wed Nov 21 13:44:07 EST 2007 i686 athlon i386 GNU/Linux
[root at linuxbox ~]# perl --version

This is perl, v5.8.8 built for i386-linux-thread-multi

I was getting these errors in /var/log/httpd/error_log:

Can't locate object method "server" via package "Apache" at /usr/local/rt2/bin/webmux.pl line 94.

Which I put down to httpd running as 'apache' rather than root, so I commented out a couple of lines in webmux.pl. Then
I got:

Can't locate object method "header_in" via package "Apache2::RequestRec"

Which appeared to be because:

my %cookies = parse CGI::Cookie($r->header_in('Cookie'));

Should have read

my %cookies = parse CGI::Cookie($r->headers_in('Cookie'));

(This seemed to make sense after reading the Apache::RequestRec man page.

Why am I bothering with rt2 on FC6? It's because we have an old rt2 database. I'd like to be able to view it before
thinking about exporting it to rt3 or another environment. The original hardware this rt2 ran on was decommissioned, and
is long gone.

I'm just not clever enough with Perl/C to understand how this stuff knits together. I think that one possibility is that
the API for some of the required modules has changed over time from rt2 to rt3. Why else would header_in() in
Apache::RequestRec become headers_in()?

TIA






More information about the rt-users mailing list