The breaking of File::Temp and Scalar::Util after upgrading Perl on Red Hat-based systems has been discussed quite a few times over the years. With Scalar::Util, the version installed by the upgrade is up to date, but how it’s compiled by the package maintainers is the issue.
James MoseleyOn Dec 29, 2010, at 8:57 AM, Kurt Engle engle@4j.lane.edu wrote:
Hit it right on the head.
Ran the force install Scalar::Util and all is well.
How did you know that this was the issue?
Kurt Engle
Network Engineer
4J Schools
From: “James Moseley” jmoseley@corp.xanadoo.com
To: “Kurt Engle” engle@4j.lane.edu
Cc: “rt-users” rt-users@lists.bestpractical.com
Sent: Tuesday, December 28, 2010 5:05:35 PM
Subject: Re: [rt-users] File::Temp
More than likely, the upgrade broke the Scalar::Util perl module. From a CPAN prompt, do:
force install Scalar::Util
This should reinstall the Scalar::Util perl module over what the Redhat upgrade just installed…
–
James Moseley
On Tue, Dec 28, 2010 at 6:34 PM, Kurt Engle engle@4j.lane.edu wrote:
I just upgraded the Red Hat system that RT 3.8.8 is running on. Upon reboot, RT would not stop and was complaining that my File::Temp was at 0.16 and needed to be at 0.18. So I upgraded to 0.22 and now RT will still not start. The error message in the httpd log is:
Unknown error\nCompilation failed in require at (eval 2) line 1.\n
I have loaded 0.18 and things are still down.
Any ideas or any more information needed?
Thanks,
Kurt Engle