[rt-users] mod_perl rpm and perl 5.8.4

david.falkenburger at rbc.com david.falkenburger at rbc.com
Tue Jul 6 16:16:54 EDT 2004


Issue command:
perl -V

and you should see the search path for libraries, mine has this:
Characteristics of this binary (from libperl):
  Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES
PERL_IMPLICIT_CONTEXT
  Built under linux
  Compiled at Jun 18 2004 12:24:57
  @INC:
    /usr/local/lib/perl5/5.8.4/i686-linux-thread-multi
    /usr/local/lib/perl5/5.8.4
    /usr/local/lib/perl5/site_perl/5.8.4/i686-linux-thread-multi
    /usr/local/lib/perl5/site_perl/5.8.4
    /usr/local/lib/perl5/site_perl

When you installed the new perl it might have added in the old perl path so
that you did not have to install all the packages again. If you don't add
the old libraries into the search paths then you will have to reinstall all
the packages and their dependencies.

This might be your problem.

Dave

-----Original Message-----
From: Justin Clayton [mailto:justincl at u.washington.edu]
Sent: Tuesday, July 06, 2004 3:02 PM
To: rt-users at lists.fsck.com
Subject: [rt-users] mod_perl rpm and perl 5.8.4


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(0x94a771
c)') 
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(0x9725b
68)', 
'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(0x
9725b68)') 
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(0x899b99
0)') 
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(0x9725b
68)', 
'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(0x9725b
68)') 
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::ApacheHandl
er=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.

-- 
Justin Clayton
VLSI Research System Administrator
University of Washington
Electrical Engineering Dept
justincl at u.washington.edu
206/543.2523  EE1 307E


_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Be sure to check out the RT wiki at http://wiki.bestpractical.com

------------------------------------------------------------This e-mail may be privileged and/or confidential, and the sender does not waive any related rights and obligations. Any distribution, use or copying of this e-mail or the information it contains by other than an intended recipient is unauthorized. If you received this e-mail in error, please advise me (by return e-mail or otherwise) immediately. 

Ce courrier électronique est confidentiel et protégé. L'expéditeur ne renonce pas aux droits et obligations qui s'y rapportent. Toute diffusion, utilisation ou copie de ce message ou des renseignements qu'il contient par une personne autre que le (les) destinataire(s) désigné(s) est interdite. Si vous recevez ce courrier électronique par erreur, veuillez m'en aviser immédiatement, par retour de courrier électronique ou par un autre moyen.

============================================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20040706/ecd5579b/attachment.htm>


More information about the rt-users mailing list