[rt-users] File::Temp
Jason A. Smith
smithj4 at bnl.gov
Wed Dec 29 12:13:51 EST 2010
I have never had any problem with RHEL5 perl updates breaking
Scalar::Util, but I do keep a separate File::Temp package installed
outside of the perl package:
# locate File/Temp.pm
/usr/lib/perl5/5.8.8/File/Temp.pm
/usr/lib/perl5/vendor_perl/5.8.8/File/Temp.pm
# rpm -qf /usr/lib/perl5/5.8.8/File/Temp.pm
/usr/lib/perl5/vendor_perl/5.8.8/File/Temp.pm
perl-5.8.8-32.el5_5.1.x86_64
perl-File-Temp-0.20-1.rhel5.noarch
My whole rt install is not done with CPAN, but with rpms that I mostly
got from EPEL, Fedora and a few odd ones, like perl-File-Temp from DAG.
I find this a lot easier than having CPAN and rpm fight each other
over package updates. From a sysadmin point of view, I like having
everything installed via rpms.
~Jason
On 12/29/2010 11:56 AM, James Moseley wrote:
> 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 Moseley
>
> On Dec 29, 2010, at 8:57 AM, Kurt Engle <engle at 4j.lane.edu
> <mailto:engle at 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 at corp.xanadoo.com
>> <mailto:jmoseley at corp.xanadoo.com>>
>> *To: *"Kurt Engle" <engle at 4j.lane.edu <mailto:engle at 4j.lane.edu>>
>> *Cc: *"rt-users" <rt-users at lists.bestpractical.com
>> <mailto:rt-users at 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
>> <<mailto:engle at 4j.lane.edu>engle at 4j.lane.edu
>> <mailto:engle at 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
>>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4068 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20101229/03f84c03/attachment.bin>
More information about the rt-users
mailing list