Problem In FreeBSD www/rt3-elixus port

Upon new install (yeah, I’m starting from scratch on the home server–I could never get the DB fixed after the upgrade from 2 to 3 :-/), using v9632 of the rt3-elixus port, and putting this in my httpd.conf:

(in main portion)
AddHandler fastcgi-script fcgi
FastCgiServer /usr/local/rt3/bin/mason_handler.fcgi
(in VirtualHost)
ScriptAlias /rt /usr/local/rt3/bin/mason_handler.fcgi/
AddDefaultCharset UTF-8
Alias /rt/NoAuth/images/ /sw/rt/share/html/NoAuth/images/

Upon starting Apache (no errors in configtest, for what that’s worth), and going to https://www.wingfoot.org/rt I get:

Can’t locate object method “script_name” via package “HTML::Mason::FakeApache” at /usr/local/lib/perl5/site_perl/5.8.2/HTML/Mason/FakeApache.pm line 73.

Trace begun at /usr/local/lib/perl5/site_perl/5.8.2/HTML/Mason/Exceptions.pm line 131
HTML::Mason::Exceptions::rethrow_exception(‘Can’t locate object method “script_name” via package “HTML::Mason::FakeApache” at /usr/local/lib/perl5/site_perl/5.8.2/HTML/Mason/FakeApache.pm line 73.^J’) called at /usr/local/lib/perl5/site_perl/5.8.2/HTML/Mason/FakeApache.pm line 73
HTML::Mason::FakeApache::uri(‘HTML::Mason::FakeApache=HASH(0x8fb62e4)’) called at /usr/local/rt3/share/html/Elements/Login line 49
HTML::Mason::Commands::ANON at /usr/local/lib/perl5/site_perl/5.8.2/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0x908c110)’) called at /usr/local/lib/perl5/site_perl/5.8.2/HTML/Mason/Request.pm line 1074
eval {…}(‘HTML::Mason::Component::FileBased=HASH(0x908c110)’) called at /usr/local/lib/perl5/site_perl/5.8.2/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef) called at /usr/local/rt3/share/html/autohandler line 211
HTML::Mason::Commands::ANON at /usr/local/lib/perl5/site_perl/5.8.2/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0x8fb6a0c)’) called at /usr/local/lib/perl5/site_perl/5.8.2/HTML/Mason/Request.pm line 1074
eval {…}(‘HTML::Mason::Component::FileBased=HASH(0x8fb6a0c)’) called at /usr/local/lib/perl5/site_perl/5.8.2/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/local/lib/perl5/site_perl/5.8.2/HTML/Mason/Request.pm line 340
eval {…}(undef, undef, undef) called at /usr/local/lib/perl5/site_perl/5.8.2/HTML/Mason/Request.pm line 340
eval {…}(undef, undef, undef) called at /usr/local/lib/perl5/site_perl/5.8.2/HTML/Mason/Request.pm line 297
HTML::Mason::Request::exec(‘HTML::Mason::Request::CGI=HASH(0x8fa8608)’) called at /usr/local/lib/perl5/site_perl/5.8.2/HTML/Mason/Interp.pm line 207
HTML::Mason::Interp::exec(undef, undef) called at /usr/local/lib/perl5/site_perl/5.8.2/HTML/Mason/CGIHandler.pm line 89
eval {…}(undef, undef) called at /usr/local/lib/perl5/site_perl/5.8.2/HTML/Mason/CGIHandler.pm line 89
HTML::Mason::CGIHandler::_handler(‘HTML::Mason::CGIHandler=HASH(0x8eb5ad8)’, ‘HASH(0x8f80734)’) called at /usr/local/lib/perl5/site_perl/5.8.2/HTML/Mason/CGIHandler.pm line 72
HTML::Mason::CGIHandler::handle_cgi_object(‘HTML::Mason::CGIHandler=HASH(0x8eb5ad8)’, ‘CGI::Fast=HASH(0x8f806bc)’) called at /usr/local/rt3/bin/mason_handler.fcgi line 54
eval {…}(‘HTML::Mason::CGIHandler=HASH(0x8eb5ad8)’, ‘CGI::Fast=HASH(0x8f806bc)’) called at /usr/local/rt3/bin/mason_handler.fcgi line 54

Any help would be greatly appreciated!

Thank you!
Glenn
Glenn E. Sieb
System Administrator
Lumeta Corporation
+1 732 357-3514 (V)
+1 732 564-0731 (Fax)

Oops… I forgot to include the “short” version of the error:

System error
error: Can’t locate object method “script_name” via package “HTML::Mason::FakeApache” at /usr/local/lib/perl5/site_perl/5.8.2/HTML/Mason/FakeApache.pm line 73.
context:

69:
70: sub uri {
71: my $self = shift;
72:
73: $self->{uri} ||= $self->script_name . $self->path_info || ‘’;
74: }
75:
76: # Is this available in CGI?
77: # sub filename {}

code stack: /usr/local/lib/perl5/site_perl/5.8.2/HTML/Mason/FakeApache.pm:73
g /usr/local/rt3/share/html/Elements/Login:49
g /usr/local/rt3/share/html/autohandler:211
g
raw error

Glenn E. Sieb
System Administrator
Lumeta Corporation
+1 732 357-3514 (V)
+1 732 564-0731 (Fax)

Glenn E. Sieb wrote:

Oops… I forgot to include the “short” version of the error:

FYI… I found a post on rt-devel which hinted to recompile p5-CGI.pm
which I did… that fixed it :slight_smile:

Thanks, everyone!
Glenn