[rt-users] New install on Gentoo--Undefined subroutine &RT::Mason::handler
Beachey, Kendric
Kendric.Beachey at garmin.com
Tue Mar 15 14:58:37 EST 2005
I am installing RT 3.2.1 against MySQl 4.0.22 on a just-finished
installation of Gentoo Linux 2004.3. I am using this page as my
installation guide:
http://wiki.bestpractical.com/index.cgi?GentooInstallGuide
The guide shows how to install with virtual hosting. I am not using virtual
hosting, so I have tried to make the appropriate changes to the apache
configs.
Currently, apache and mysql will run happily. Attempting to hit the RT page
on the machine yields a 500 Internal Server error. I looked in
/var/log/apache/error_log and this is what I found:
[Tue Mar 15 12:03:04 2005] [error] Can't locate RT/Mason.pm in @INC (@INC
contains: /usr/lib PERL5LIB /usr/lib/perl5/5.8.4/i686-linux
/usr/lib/perl5/5.8.4 /usr/lib/perl5/site_perl/5.8.4/i686-linux
/usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.4/i686-linux /usr/lib/perl5/vendor_perl/5.8.4
/usr/lib/perl5/vendor_perl . /etc/apache/ /etc/apache/lib/perl) at (eval 6)
line 3.\n
[Tue Mar 15 12:03:04 2005] [error] Undefined subroutine &RT::Mason::handler
called at PerlHandler subroutine`RT::Mason' line 1.\n
I did a "locate Mason.pm" and this is what I got:
/usr/lib/perl5/vendor_perl/5.8.4/Bundle/HTML/Mason.pm
/usr/lib/perl5/vendor_perl/5.8.4/HTML/Mason.pm
/usr/lib/perl5/vendor_perl/5.8.4/Apache/Mason.pm
Sure enough, none of them are in a directory called RT. I tried changing
the PerlHandler directive in apache to HTML::Mason and Bundle::HTML::Mason
and Apache:Mason since those apparently exist, but that didn't make it
work--in the apache error log I got lines like this:
[Tue Mar 15 11:13:12 2005] [error] Undefined subroutine
&HTML::Mason::handler called at PerlHandler subroutine `HTML::Mason' line
1.\n
Have I missed something basic in my configuration?
--
Kendric Beachey
-------------------------
This e-mail and any attachments may contain confidential material for the sole use of the intended recipient. If you are not the intended recipient, please be aware that any disclosure, copying, distribution or use of this e-mail or any attachment is prohibited. If you have received this e-mail in error, please contact the sender and delete all copies.
Thank you for your cooperation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 3092 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20050315/e3322e5b/attachment.bin>
More information about the rt-users
mailing list