Hello,
In order to overcome a known performance bug in perl-5.8.8-10 in centos 5 (see https://bugzilla.redhat.com/show_bug.cgi?id=196836) I downloaded the perl package from fedora 8 (http://mirror.internode.on.net/pub/fedora/linux/releases/8/Fedora/source/SRP...) and mod_perl (http://mirror.internode.on.net/pub/fedora/linux/releases/8/Fedora/source/SRP...) and compiled them on an x86_64 machine following instructions from http://sial.org/howto/rpm/.
The perl-5.8.8-30 installed fine but when I try to install the new mod_perl it insists on installing perl-4:5.8.8-10.el5_0.2.i386:
Dependencies Resolved
============================================================================= Package Arch Version Repository Size ============================================================================= Installing: mod_perl x86_64 2.0.3-14 threatmetrix 5.5 M Installing for dependencies: perl i386 4:5.8.8-10.el5_0.2 updates 12 M
Going ahead with this complains about conflicts with the installed perl-5.8.8-30.
What can I do to fix this?
Is anyone here is aware of another way to get a fixed version of perl for CentOS 5?
Thanks,
--Amos
On Thu, Mar 13, 2008 at 6:37 AM, Amos Shapira amos.shapira@gmail.com wrote:
Hello,
In order to overcome a known performance bug in perl-5.8.8-10 in centos 5 (see https://bugzilla.redhat.com/show_bug.cgi?id=196836) I downloaded the perl package from fedora 8 (http://mirror.internode.on.net/pub/fedora/linux/releases/8/Fedora/source/SRP...) and mod_perl (http://mirror.internode.on.net/pub/fedora/linux/releases/8/Fedora/source/SRP...) and compiled them on an x86_64 machine following instructions from http://sial.org/howto/rpm/.
The perl-5.8.8-30 installed fine but when I try to install the new mod_perl it insists on installing perl-4:5.8.8-10.el5_0.2.i386:
Dependencies Resolved
============================================================================= Package Arch Version Repository Size ============================================================================= Installing: mod_perl x86_64 2.0.3-14 threatmetrix 5.5 M Installing for dependencies: perl i386 4:5.8.8-10.el5_0.2 updates 12 M
Going ahead with this complains about conflicts with the installed perl-5.8.8-30.
What can I do to fix this?
Recompile the mod_perl package with after you installed the new perl. It looks like the mod_perl was build against the base CentOS perl version and not the one you build.
Is anyone here is aware of another way to get a fixed version of perl for CentOS 5?
You need to get upstream to fix it. Report this bug in our and theirs bug reportingtools (bugs.centos.org and bugzilla.redhat.com)
Regards, Tim
On Thu, Mar 13, 2008 at 9:17 AM, Tim Verhoeven tim.verhoeven.be@gmail.com wrote:
Recompile the mod_perl package with after you installed the new perl. It looks like the mod_perl was build against the base CentOS perl version and not the one you build.
That's what I suspected so I re-compiled mod_perl after I installed perl on the compilation machine but got exactly the same results.
Is anyone here is aware of another way to get a fixed version of perl for CentOS 5?
You need to get upstream to fix it. Report this bug in our and theirs bug reportingtools (bugs.centos.org and bugzilla.redhat.com)
It's a known bug in RHEL: https://bugzilla.redhat.com/show_bug.cgi?id=379791 I now see that the previous bug link I provided was against Fedora and is closed. This one is against 5.0 and is open with recent activity.
After some more digging with a colleague we suspect that:
1. We probably miss something about RPM version ordering (the perl version it looks for is 4:... while ours is just plain 5.8.8...) 2. The "overriding" package comes from rpmforge.
We solved it in two ways (we have two test fail-over machines so we could try two fixes): 1. Manually installing all the dependent packages in one rpm command (there is a circular dependency) somehow passed fine. 2. Giving our own private repository higher priority.
Thanks for your reply.
--Amos