[rt-users] BEGIN failed--compilation aborted

Jeff Klassen JKlassen at biblesociety.ca
Fri Jul 13 13:55:27 EDT 2001


Hi,

This is my first install of RT(2.0.0). I did not have an Apache with
mod-Perl, so I downloaded mod_perl and compiled that with the latest Apache
(1.3.20). After setting things up, my existing site is working OK again.
However, when I go on to complete the install of RT, I added the following
configuration to my httpd.conf

Alias /rt/ /usr/local/rt2/WebRT/html/

PerlRequire /usr/local/rt2/bin/webmux.pl
<Location /rt>
SetHandler perl-script
PerlHandler RT::Mason
</Location>

Apache will not start now, with the following in the error log:

[Fri Jul 13 12:12:42 2001] [error] Can't locate object method "TIEHASH" via
package "Apache::Table" at
/usr/lib/perl5/site_perl/5.005/HTML/Mason/ApacheHandler.pm line 365.
BEGIN failed--compilation aborted at /usr/local/rt2/bin/webmux.pl line 18.

Syntax error on line 1070 of /etc/httpd/conf/httpd.conf:
Can't locate object method "TIEHASH" via package "Apache::Table" at
/usr/lib/perl5/site_perl/5.005/HTML/Mason/ApacheHandler.pm line 365.
BEGIN failed--compilation aborted at /usr/local/rt2/bin/webmux.pl line 18.

When I remove the PerlRequire /usr/local/rt2/bin/webmux.pl, Apache starts,
but I get the following.

[Fri Jul 13 12:19:29 2001] [error] Can't locate RT/Mason.pm in @INC (@INC
contains: /usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503
/usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005 .
/etc/httpd/ /etc/httpd/lib/perl) at (eval 4) line 3.

[Fri Jul 13 12:19:29 2001] [error] Undefined subroutine &RT::Mason::handler
called.

I'm not a PERL hacker, so I could use any direction one of you might offer.

Thanks in advance.

--
Jeff Klassen - Canadian Bible Society
Translation-CAP Office
<jklassen at biblesociety.ca>




More information about the RT-Users mailing list