Perl version for RT

I’m running “Red Hat Enterprise Linux ES release 3 (Taroon Update 2)” which
has a version of Perl older than what RT docs say is needed. But so far I
have not found an RPM for the latest version of Perl. Does anyone here run
RT on Redhat, and can you tell me where you got your newest Perl RPM?

| Phil Howard KA9WGN | http://linuxhomepage.com/ http://ham.org/ |
| (first name) at ipal.net | http://phil.ipal.org/ http://ka9wgn.ham.org/ |

In one fell swoop, I’ve recently upgraded my freebsd server to perl
5.8.5, mod_perl 1.29_1, and rt 3.2.2.

Since then we’ve been seeing random errors when opening up URLs inside
RT, like this:

 error:   	Can't locate unicore/Canonical.pl in @INC (@INC
 contains: /usr/local/lib/perl5/site_perl/5.8.4
 /usr/local/rt3/local/lib /usr/local/rt3/lib
 /usr/local/lib/perl5/site_perl/5.8.4/i386-freebsd-64int
 /usr/local/lib/perl5/site_perl/5.8.4/mach
 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.4/BSDPAN
 /usr/local/lib/perl5/5.8.4/mach /usr/local/lib/perl5/5.8.4 .
 /usr/local/ /usr/local/lib/perl) at
 /usr/local/lib/perl5/5.8.4/utf8_heavy.pl line 81.
 context:  	
 unable to open file  	
 code stack:  	/usr/local/lib/perl5/5.8.4/utf8_heavy.pl:81
 /usr/local/rt3/share/html/Elements/Menu:64
 /usr/local/rt3/share/html/Elements/Menu:89
 /usr/local/rt3/share/html/Elements/PageLayout:61
 /usr/local/rt3/local/html/Elements/Tabs:24
 /usr/local/rt3/share/html/Ticket/Elements/Tabs:47
 /usr/local/rt3/share/html/Search/Results.html:47
 /usr/local/rt3/share/html/autohandler:221
 raw error

What’s strange about this is that, well… we shouldn’t be looking in
the 5.8.4 directories there. unicore/Canonical.pl is in
/usr/local/lib/perl5/5.8.5. libperl.so knows this:

 $ strings libperl.so |grep 5.8
 /usr/local/lib/perl5/5.8.5/mach/CORE
 /usr/local/lib/perl5/site_perl/5.8.5/i386-freebsd-64int

…and for that matter, perl knows this:

 Characteristics of this binary (from libperl):
   Compile-time options: USE_64_BIT_INT USE_LARGE_FILES
   Built under freebsd
   Compiled at Oct 21 2004 16:57:56
   @INC:
     /usr/local/lib/perl5/site_perl/5.8.5/mach
     /usr/local/lib/perl5/site_perl/5.8.5
     /usr/local/lib/perl5/site_perl/5.8.4
     /usr/local/lib/perl5/site_perl/5.005
     /usr/local/lib/perl5/site_perl
     /usr/local/lib/perl5/5.8.5/BSDPAN
     /usr/local/lib/perl5/5.8.5/mach
     /usr/local/lib/perl5/5.8.5
     .

…and there’s (as far as I can tell) nothing in apache’s or RT’s
configuration or environment that would point to the 5.8.4 @INC rather
than the perl default @INC.

And yet… there the error is. I’ve restarted apache and cleaned out
both the session_data and mason_data directories, to no avail.

Am I missing something?

-n

------------------------------------------------------------memory@blank.org
Remember when they told you there’d be no future? Well, this is it.
http://blank.org/memory/----------------------------------------------------

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Oops. I sent the last message from the wrong address. Sorry if
this comes through twice.On Fri, Oct 22, 2004 at 02:19:25PM -0500, Phil Howard wrote:

I’m running “Red Hat Enterprise Linux ES release 3 (Taroon Update 2)” which
has a version of Perl older than what RT docs say is needed. But so far I
have not found an RPM for the latest version of Perl. Does anyone here run
RT on Redhat, and can you tell me where you got your newest Perl RPM?

I’m running RT (3.0.11 ATM) on “White Box Enterprise Linux release
3.0 (Liberation Respin 1)”. I upgraded the stock perl to
"perl-5.8.3-16" with, IIRC, the SRPM from Fedora Core 2. I think it
was an easy rebuild, but I’d have to dig out my notes to be sure.


Matt Brodeur RHCE
MBrodeur@NextTime.com http://www.NextTime.com

Entropy isn’t what it used to be.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBeWHtc8/WFSz+GKMRAkGRAKCbJLChcaCoN3skI7f+12T7lTwAJACfQqon
rNNsfjDdEzCfr3VAHoM7Lj0=
=hnOB
-----END PGP SIGNATURE-----

Sigh. Ignore that problem report – user error, and an obvious one.

------------------------------------------------------------memory@blank.org
I have seen the future of the net, and it’s a pimply 14-year old boy shouting
"ADD ME TO THE LIST!!!11!!!" Forever.
http://blank.org/memory/----------------------------------------------------