Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Error While installing perl

by abiisharma (Initiate)
on Oct 22, 2012 at 08:18 UTC ( #1000288=perlquestion: print w/replies, xml ) Need Help??
abiisharma has asked for the wisdom of the Perl Monks concerning the following question:

Hello All,

I am new to perl, I am trying to install perl-Sys Statistics-Linux-0.59-4, but getting error " Failed dependency: perl(:MODULE_COMPAT_5.12.3) is needed by perl-Sys-Statistics-Linux-0.59-4.fc15.noarch". However, I have installed perl 5.12.3, it still shows the same error. Please suggest!!

RALF24root#perl -v

This is perl 5, version 12, subversion 3 (v5.12.3) built for x86_64-linux Copyright 1987-2010, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at, the Perl Home Page.

RALF24root#rpm -ivh perl-Sys-Statistics-Linux-0.59-4.fc15.noarch.rpm

warning: perl-Sys-Statistics-Linux-0.59-4.fc15.noarch.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 069c8460

error: Failed dependencies: perl(:MODULE_COMPAT_5.12.3) is needed by perl-Sys-Statistics-Linux-0.59-4.fc15.noarch ,

rpmlib(FileDigests) <= 4.6.0-1 is needed by perl-Sys-Statistics-Linux-0.59-4.fc15.noarch

rpmlib(PayloadIsXz) <= 5.2-1 is needed by perl-Sys-Statistics-Linux-0.59-4.fc15.noarch

Replies are listed 'Best First'.
Re: Error While installing perl
by marto (Archbishop) on Oct 22, 2012 at 09:01 UTC

    I suggest that you don't change or use the Perl which ships with your operating system, and install your own Perl else where. Your OS uses the system Perl for various system tasks, messing around with it can result in an unstable or broken system.

    To achieve this either install via source which is as pretty easy, or use something like perlbrew to do the work for you.

    Once you've done this use cpan rather than your OS package management to install modules. This will install each modules dependencies. See A Guide to Installing Modules from the tutorials section of the site.

Re: Error While installing perl
by Anonymous Monk on Oct 22, 2012 at 09:00 UTC
Re: Error While installing perl
by daxim (Chaplain) on Oct 22, 2012 at 14:30 UTC
    Are you running Fedora 15 as your operating system?

    If not, why do you install this RPM package? Did you just randomly get an RPM off the Web?

    If yes, be advised that official lifetime for this release expired 4 months ago. It will become increasingly more difficult to find people who provide free support. Instead upgrade to the current stable version, Fedora 17. perl-Sys-Statistics-Linux has been packaged there properly.

      I am running a perl script which is looking for perl-Sys-Statistics module. I tried perl-Sys-Statistics-Linux-0.59-4 but it showed dependency over perl 5.12.3. I am running RHEL 5.8. It has currently perl 5.8.8. I have configured another perl 5.12.3 from cpan over it with a thought that it might not show perl-sys-statistics error but still its saying same.
Re: Error While installing perl
by aitap (Curate) on Oct 22, 2012 at 16:18 UTC
    If you didn't install perl via package manager (rpm), it has no chance of knowing that perl(:MODULE_COMPAT_5.12.3) is installed. Solution: use cpan to install modules instead of pre-compiled packages.
    Sorry if my advice was wrong.
      No, I didn't install via rpm. I downloaded perl 5.12.3 tar from and configured it manually (./configure, make, makeinstall) over my system. What elese nned to be done to get module perl-Sys-Statistics-Linux-0.59-4, please advice.

        Read the previous responses you already have which explain how to install this module. If you have problems be specific as to what they are (How do I post a question effectively?). Sys::Statistics::Linux is now at version 0.66, note the change to provide backward comparability for Perl lower than v5.10. The version you are installing has problems, and is a couple of years out of date.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1000288]
Approved by Corion
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (3)
As of 2018-05-23 02:26 GMT
Find Nodes?
    Voting Booth?