[rt-devel] why is Mason trying to load the deprecated Apache::Constants?

Trent Albright trent.albright at bowebellhowell.com
Thu May 8 10:22:41 EDT 2003


I'm trying to get RT up and running on a RH9 box, with the RH provided
versions of Apache and mod_perl. However, when I attempt to start apache
I get this error:

# /etc/rc.d/init.d/httpd start
Starting httpd: [Thu May 08 10:19:09 2003] [error] Can't locate
Apache/Constants.pm in @INC (@INC contains: /usr/local/rt3/lib
/usr/local/rt3/local/lib /usr/lib/perl5/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line
13.!BEGIN failed--compilation aborted at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line
13.!Compilation failed in require at /usr/local/rt3/bin/webmux.pl line
46.!BEGIN failed--compilation aborted at /usr/local/rt3/bin/webmux.pl
line 51.!Compilation failed in require at (eval 1) line 1.!
[Thu May 08 10:19:09 2003] [error] Can't load Perl file:
/usr/local/rt3/bin/webmux.pl for server localhost.localdomain:0,
exiting...!

Anybody seen this before? Just FYI:

Alias /rt "/usr/local/rt3/share/html"
PerlModule Apache2 Apache::compat
PerlModule Apache::DBI
PerlRequire /usr/local/rt3/bin/webmux.pl

<Location /rt>
  SetHandler perl-script
  PerlHandler RT::Mason
</Location>





More information about the Rt-devel mailing list