<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2654.19">
<TITLE>RE: [rt-users] mod_perl rpm and perl 5.8.4</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>Issue command:</FONT>
<BR><FONT SIZE=2>perl -V</FONT>
</P>

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

<P><FONT SIZE=2>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.</FONT></P>

<P><FONT SIZE=2>This might be your problem.</FONT>
</P>

<P><FONT SIZE=2>Dave</FONT>
</P>

<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Justin Clayton [<A HREF="mailto:justincl@u.washington.edu">mailto:justincl@u.washington.edu</A>]</FONT>
<BR><FONT SIZE=2>Sent: Tuesday, July 06, 2004 3:02 PM</FONT>
<BR><FONT SIZE=2>To: rt-users@lists.fsck.com</FONT>
<BR><FONT SIZE=2>Subject: [rt-users] mod_perl rpm and perl 5.8.4</FONT>
</P>
<BR>

<P><FONT SIZE=2>Hello,</FONT>
</P>

<P><FONT SIZE=2>I just upgraded to RT 3.2.0 on my Red Hat Linux 7.3 box, and as a result</FONT>
<BR><FONT SIZE=2>had to compile a new version of perl (5.8.4) to comply with the new</FONT>
<BR><FONT SIZE=2>requirements. I use the apache-1.3.27-2 and mod_perl-1.26-5 rpms, but</FONT>
<BR><FONT SIZE=2>the compiled perl (the perl rpm is still installed). Even though I</FONT>
<BR><FONT SIZE=2>installed RT with the 5.8.4 perl, and have confirmed that version</FONT>
<BR><FONT SIZE=2>appears at the top of all RT-related files I've looked at so far, I</FONT>
<BR><FONT SIZE=2>still get errors like this in many places:</FONT>
</P>

<P><FONT SIZE=2>Undefined subroutine &Scalar::Util::weaken called at </FONT>
<BR><FONT SIZE=2>/usr/local/pkgs/rt3/lib/RT/Action/Generic.pm line 85.</FONT>
</P>
<BR>

<P><FONT SIZE=2>Trace begun at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Exceptions.pm </FONT>
<BR><FONT SIZE=2>line 128</FONT>
<BR><FONT SIZE=2>HTML::Mason::Exceptions::rethrow_exception('Undefined subroutine </FONT>
<BR><FONT SIZE=2>&Scalar::Util::weaken called at </FONT>
<BR><FONT SIZE=2>/usr/local/pkgs/rt3/lib/RT/Action/Generic.pm line 85.^J') called at </FONT>
<BR><FONT SIZE=2>/usr/local/pkgs/rt3/lib/RT/Action/Generic.pm line 85</FONT>
<BR><FONT SIZE=2>RT::Action::Generic::_Init('RT::Action::CreateTickets=HASH(0x963dba4)') </FONT>
<BR><FONT SIZE=2>called at /usr/local/pkgs/rt3/lib/RT/Action/Generic.pm line 55</FONT>
<BR><FONT SIZE=2>RT::Action::Generic::new('RT::Action::CreateTickets') called at </FONT>
<BR><FONT SIZE=2>/usr/local/pkgs/rt3/share/html/Tools/Offline.html line 81</FONT>
<BR><FONT SIZE=2>HTML::Mason::Commands::__ANON__ at </FONT>
<BR><FONT SIZE=2>/usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Component.pm line 133</FONT>
<BR><FONT SIZE=2>HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x94a771c)') </FONT>
<BR><FONT SIZE=2>called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 1056</FONT>
<BR><FONT SIZE=2>eval {...}('HTML::Mason::Component::FileBased=HASH(0x94a771c)') called </FONT>
<BR><FONT SIZE=2>at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 1050</FONT>
<BR><FONT SIZE=2>HTML::Mason::Request::comp('HTML::Mason::Request::ApacheHandler=HASH(0x9725b68)', </FONT>
<BR><FONT SIZE=2>'HTML::Mason::Component::FileBased=HASH(0x94a771c)') called at </FONT>
<BR><FONT SIZE=2>/usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 746</FONT>
<BR><FONT SIZE=2>HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x9725b68)') </FONT>
<BR><FONT SIZE=2>called at /usr/local/pkgs/rt3/share/html/autohandler line 199</FONT>
<BR><FONT SIZE=2>HTML::Mason::Commands::__ANON__ at </FONT>
<BR><FONT SIZE=2>/usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Component.pm line 133</FONT>
<BR><FONT SIZE=2>HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x899b990)') </FONT>
<BR><FONT SIZE=2>called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 1051</FONT>
<BR><FONT SIZE=2>eval {...}('HTML::Mason::Component::FileBased=HASH(0x899b990)') called </FONT>
<BR><FONT SIZE=2>at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 1050</FONT>
<BR><FONT SIZE=2>HTML::Mason::Request::comp('HTML::Mason::Request::ApacheHandler=HASH(0x9725b68)', </FONT>
<BR><FONT SIZE=2>'HASH(0x9611878)', 'HTML::Mason::Component::FileBased=HASH(0x899b990)') </FONT>
<BR><FONT SIZE=2>called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 332</FONT>
<BR><FONT SIZE=2>eval {...}('HTML::Mason::Request::ApacheHandler=HASH(0x9725b68)', </FONT>
<BR><FONT SIZE=2>'HASH(0x9611878)', 'HTML::Mason::Component::FileBased=HASH(0x899b990)') </FONT>
<BR><FONT SIZE=2>called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 332</FONT>
<BR><FONT SIZE=2>eval {...}('HTML::Mason::Request::ApacheHandler=HASH(0x9725b68)', </FONT>
<BR><FONT SIZE=2>'HASH(0x9611878)', 'HTML::Mason::Component::FileBased=HASH(0x899b990)') </FONT>
<BR><FONT SIZE=2>called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 292</FONT>
<BR><FONT SIZE=2>HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x9725b68)') </FONT>
<BR><FONT SIZE=2>called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm </FONT>
<BR><FONT SIZE=2>line 134</FONT>
<BR><FONT SIZE=2>eval {...}('HTML::Mason::Request::ApacheHandler=HASH(0x9725b68)') called </FONT>
<BR><FONT SIZE=2>at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm line 134</FONT>
<BR><FONT SIZE=2>HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x9725b68)') </FONT>
<BR><FONT SIZE=2>called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm </FONT>
<BR><FONT SIZE=2>line 783</FONT>
<BR><FONT SIZE=2>HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x8df6f3c)', </FONT>
<BR><FONT SIZE=2>'Apache=SCALAR(0x9622480)') called at /usr/local/pkgs/rt3/bin/webmux.pl </FONT>
<BR><FONT SIZE=2>line 145</FONT>
<BR><FONT SIZE=2>eval {...}('HTML::Mason::ApacheHandler=HASH(0x8df6f3c)', </FONT>
<BR><FONT SIZE=2>'Apache=SCALAR(0x9622480)') called at /usr/local/pkgs/rt3/bin/webmux.pl </FONT>
<BR><FONT SIZE=2>line 145</FONT>
<BR><FONT SIZE=2>RT::Mason::handler('Apache=SCALAR(0x9622480)') called at /dev/null line 0</FONT>
<BR><FONT SIZE=2>eval {...}('Apache=SCALAR(0x9622480)') called at /dev/null line 0</FONT>
</P>

<P><FONT SIZE=2>I've looked everywhere: what could possibly be looking at the wrong</FONT>
<BR><FONT SIZE=2>perl, and how do I tell it to stop? This is likely also what is causing</FONT>
<BR><FONT SIZE=2>my EX_TEMPFAIL errors on all mail sent through the mailgate.</FONT>
</P>

<P><FONT SIZE=2>-- </FONT>
<BR><FONT SIZE=2>Justin Clayton</FONT>
<BR><FONT SIZE=2>VLSI Research System Administrator</FONT>
<BR><FONT SIZE=2>University of Washington</FONT>
<BR><FONT SIZE=2>Electrical Engineering Dept</FONT>
<BR><FONT SIZE=2>justincl@u.washington.edu</FONT>
<BR><FONT SIZE=2>206/543.2523  EE1 307E</FONT>
</P>
<BR>

<P><FONT SIZE=2>_______________________________________________</FONT>
<BR><FONT SIZE=2><A HREF="http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users" TARGET="_blank">http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users</A></FONT>
</P>

<P><FONT SIZE=2>Be sure to check out the RT wiki at <A HREF="http://wiki.bestpractical.com" TARGET="_blank">http://wiki.bestpractical.com</A></FONT>
</P>

</BODY>
</HTML>
<P>------------------------------------------------------------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. <br>
<br>
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.<br>
<br>
============================================================</P>