Amos Shapira
2008-Mar-13 05:37 UTC
[CentOS] recompiled mod_perl insists on old perl dependency
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/SRPMS/perl-5.8.8-30.fc8.src.rpm) and mod_perl (http://mirror.internode.on.net/pub/fedora/linux/releases/8/Fedora/source/SRPMS/mod_perl-2.0.3-14.src.rpm) 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
Tim Verhoeven
2008-Mar-13 09:17 UTC
[CentOS] recompiled mod_perl insists on old perl dependency
On Thu, Mar 13, 2008 at 6:37 AM, Amos Shapira <amos.shapira at 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/SRPMS/perl-5.8.8-30.fc8.src.rpm) > and mod_perl (http://mirror.internode.on.net/pub/fedora/linux/releases/8/Fedora/source/SRPMS/mod_perl-2.0.3-14.src.rpm) > 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 -- Tim Verhoeven - tim.verhoeven.be at gmail.com - 0479 / 88 11 83 Hoping the problem magically goes away by ignoring it is the "microsoft approach to programming" and should never be allowed. (Linus Torvalds)