Installation issue w/ RT 2: mod_perl + apache won't start

While attempting to install RT 2.0.11, I find that I cannot start apache
after adding in the virtualhost block to my httpd.conf. The error is this:

perl_tie_hash: Can't locate object method "TIEHASH" via package "Apache::Table" (perhaps you forgot to load "Apache::Table"?) at /usr/local/pkgs/perl/lib/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm line 365. [Thu Feb 14 09:57:08 2002] [error] Can't locate object method "get" via package "Apache::Table" (perhaps you forgot to load "Apache::Table"?) at /usr/local/pkgs/perl/lib/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm line 365. Compilation failed in require at /usr/local/pkgs/rt2/bin/webmux.pl line 20. BEGIN failed--compilation aborted at /usr/local/pkgs/rt2/bin/webmux.pl line 20. Compilation failed in require at (eval 5) line 1.

Syntax error on line 944 of /usr/local/pkgs/apache/conf/httpd.conf: Can’t
locate object method “get” via package “Apache::Table” (perhaps you forgot
to load “Apache::Table”?) at
/usr/local/pkgs/perl/lib/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm line
365.

Compilation failed in require at /usr/local/pkgs/rt2/bin/webmux.pl line
20.
BEGIN failed–compilation aborted at /usr/local/pkgs/rt2/bin/webmux.pl
line 20.
Compilation failed in require at (eval 5) line 1.

/usr/local/pkgs/apache/bin/apachectl start: httpd could not be started

I know that Apache::Table is installed.

Someone told me to add this line to my mason handler:

use HTML::Mason::ApacheHandler(args_method=>‘mod_perl’);

But that didn’t fix anything.

Someone else told me to create a mod_perl_startup.pl to be called by
apache and add the location of Apache.pm explicitly:

use lib qw(/usr/local/pkgs/perl/lib/site_perl/5.6.1/i686-linux);
1;

But that didn’t work either.

If I run

perl -e ‘use Apache::Table;’

it exits cleanly, so I know perl can find the module.

Any suggestions?

Justin Clayton
VLSI Research System Administrator
University of Washington
Electrical Engineering Dept
justincl@u.washington.edu
206/543.2523 EE/CSE 307F

I just had this problem last week. It turned out to be a problem
in one of the modules that HTML::Mason depended upon. In my case
DB_File. Carefully re-run the HTML::Mason tests again and watch
for any (!) errors. It should run cleanly and if it doesn’t my
guess would be that that would clean it up.

–Kurt