[rt-users] RT2 installation problem: Can't locate RT/Mason.pm
Phil Temples
ptemples at temples.com
Mon Jan 21 14:16:27 EST 2002
Hi all,
I've searched several of the list archives, but I haven't hit upon an RTFMable
answer yet.
I'm trying to install a new RT2.0 on a Solaris 8 box using Perl
5.6.1.
I've confirmed via 'make testdeps' that I've satisified all dependencies.
The install of mod_perl (1.26) and Apache (1.3.20) went without incident.
I am using the following Virtual Server directive in my httpd.conf file:
<VirtualHost *>
ServerName rt.foobar.com
ServerAdmin webmaster at foobar.com
DocumentRoot /opt/rt2/bin/webmux.pl
ErrorDocument 404 /notfound.html
ErrorLog logs/foobar.com-error_log
CustomLog logs/foobar.com-access_log common
<Location />
SetHandler perl-script
PerlHandler RT::Mason
</Location>
</VirtualHost>
When I fire up the server and access http://rt.foobar.com, I see the
following in the foobar.com-error_log:
--
[Mon Jan 21 13:45:15 2002] [error] Can't locate RT/Mason.pm in @INC (@INC contains: /usr/local/lib/perl5/5.6.1/sun4-solaris /usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris /usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl . /usr/local/apache/ /usr/local/apache/lib/perl) at (eval 7) line 3.
[Mon Jan 21 13:45:15 2002] [error] Undefined subroutine &RT::Mason::handler called.
--
A `find' for Mason.pm yields:
/usr/local/lib/perl5/site_perl/5.6.1/HTML/Mason.pm
/usr/local/lib/perl5/site_perl/5.6.1/Apache/Mason.pm
/usr/local/lib/perl5/site_perl/5.6.1/Bundle/HTML/Mason.pm
--
Should Mason.pm "live" under a directory called RT instead of HTML?
Another question: I see references requiring suidperl. I do not have that
executable installed on my system. Nor can I find any references on the web
as to its source. The RT/FM Installation Guide talks about reconfiguring my
Perl setup to support "setuid scripts." Any pointers on how this is done?
Thanks in advance,
Phil
--
Phil Temples <phil at temples dot com>
More information about the rt-users
mailing list