BEGIN failed--compilation aborted

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

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@biblesociety.ca

Sounds to me that you haven’t installed all the required packages - did you run make testdeps to make sure?On Fri, 13 Jul 2001 13:55:27 -0400 Jeff Klassen JKlassen@biblesociety.ca wrote:

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

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@biblesociety.ca


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Feargal Reilly,
Systems Administrator,
The CIA.

Make testdeps show everything to be found.

Apache::table is part of the mod-perl package (correct?), and so I
reinstalled mod-per-1.26, just to be sure. The first time I had installed
mod-perl, I did it together with Apache using the suggested APACI method.
The next time, I just went into the mod-perl source directory and:
perl Makefile.PL
make
make test
make install

I somehow think that mod-perl is installed in the site perl, but in the
wrong place or something (or it cannot be found). How could I check?