[rt-users] mod_perl rpm and perl 5.8.4
Ruslan U. Zakirov
cubic at acronis.ru
Wed Jul 7 03:04:23 EDT 2004
http://wiki.bestpractical.com/?CompilingPerl (mod_perl section)
http://wiki.bestpractical.com/?ManualApache (step by step instructions)
if your new perl has non standart location then you should provide path
to apache configure script with arg '--with-perl'.
Justin Clayton wrote:
> Hello,
>
> I just upgraded to RT 3.2.0 on my Red Hat Linux 7.3 box, and as a result
> had to compile a new version of perl (5.8.4) to comply with the new
> requirements. I use the apache-1.3.27-2 and mod_perl-1.26-5 rpms, but
> the compiled perl (the perl rpm is still installed). Even though I
> installed RT with the 5.8.4 perl, and have confirmed that version
> appears at the top of all RT-related files I've looked at so far, I
> still get errors like this in many places:
>
> Undefined subroutine &Scalar::Util::weaken called at
> /usr/local/pkgs/rt3/lib/RT/Action/Generic.pm line 85.
>
>
> Trace begun at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Exceptions.pm
> line 128
> HTML::Mason::Exceptions::rethrow_exception('Undefined subroutine
> &Scalar::Util::weaken called at
> /usr/local/pkgs/rt3/lib/RT/Action/Generic.pm line 85.^J') called at
> /usr/local/pkgs/rt3/lib/RT/Action/Generic.pm line 85
> RT::Action::Generic::_Init('RT::Action::CreateTickets=HASH(0x963dba4)')
> called at /usr/local/pkgs/rt3/lib/RT/Action/Generic.pm line 55
> RT::Action::Generic::new('RT::Action::CreateTickets') called at
> /usr/local/pkgs/rt3/share/html/Tools/Offline.html line 81
> HTML::Mason::Commands::__ANON__ at
> /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Component.pm line 133
> HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x94a771c)')
> called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 1056
> eval {...}('HTML::Mason::Component::FileBased=HASH(0x94a771c)') called
> at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 1050
> HTML::Mason::Request::comp('HTML::Mason::Request::ApacheHandler=HASH(0x9725b68)',
> 'HTML::Mason::Component::FileBased=HASH(0x94a771c)') called at
> /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 746
> HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x9725b68)')
> called at /usr/local/pkgs/rt3/share/html/autohandler line 199
> HTML::Mason::Commands::__ANON__ at
> /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Component.pm line 133
> HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x899b990)')
> called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 1051
> eval {...}('HTML::Mason::Component::FileBased=HASH(0x899b990)') called
> at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 1050
> HTML::Mason::Request::comp('HTML::Mason::Request::ApacheHandler=HASH(0x9725b68)',
> 'HASH(0x9611878)', 'HTML::Mason::Component::FileBased=HASH(0x899b990)')
> called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 332
> eval {...}('HTML::Mason::Request::ApacheHandler=HASH(0x9725b68)',
> 'HASH(0x9611878)', 'HTML::Mason::Component::FileBased=HASH(0x899b990)')
> called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 332
> eval {...}('HTML::Mason::Request::ApacheHandler=HASH(0x9725b68)',
> 'HASH(0x9611878)', 'HTML::Mason::Component::FileBased=HASH(0x899b990)')
> called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 292
> HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x9725b68)')
> called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm
> line 134
> eval {...}('HTML::Mason::Request::ApacheHandler=HASH(0x9725b68)') called
> at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm line 134
> HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x9725b68)')
> called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm
> line 783
> HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x8df6f3c)',
> 'Apache=SCALAR(0x9622480)') called at /usr/local/pkgs/rt3/bin/webmux.pl
> line 145
> eval {...}('HTML::Mason::ApacheHandler=HASH(0x8df6f3c)',
> 'Apache=SCALAR(0x9622480)') called at /usr/local/pkgs/rt3/bin/webmux.pl
> line 145
> RT::Mason::handler('Apache=SCALAR(0x9622480)') called at /dev/null line 0
> eval {...}('Apache=SCALAR(0x9622480)') called at /dev/null line 0
>
> I've looked everywhere: what could possibly be looking at the wrong
> perl, and how do I tell it to stop? This is likely also what is causing
> my EX_TEMPFAIL errors on all mail sent through the mailgate.
>
More information about the rt-users
mailing list