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
[r...@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
[r...@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
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
Community help: http://wiki.bestpractical.com
Commercial support: [email protected]
2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22 & 23
Dublin, Ireland - Mar 15 & 16
Boston, MA, USA - April 5 & 6
Washington DC, USA - Oct 25 & 26
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com