Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re: cpan problems

by sam_bakki (Pilgrim)
on May 24, 2012 at 10:57 UTC ( #972219=note: print w/replies, xml ) Need Help??

in reply to cpan problems

Hi themoops

I also faced same issue today and just solved it.

issue is with Scalar::Util perl module. Looks like CentOS update installs older version of Scalar::Util module. So perl could not load this module.

To Solve this issue,

    Download Scalar::Utils sources from
    1. extract .tar.gz file and cd Scalar-List-Utils-1.25
    2. perl Makefile.PL
    3. gmake
    4. gmake test
    5. gmake install

    Once you complete this successfully,
    perl -MCPAN -e 'shell'
    works fine and I could install modules.

    Thanks & Regards,
    Bakkiaraj M
    My Perl Gtk2 technology demo project - , contributions are welcome.

Replies are listed 'Best First'.
Re^2: cpan problems
by (Initiate) on Oct 03, 2012 at 02:56 UTC

    Spot on Bakkiaraj, thanks!

    I was receiving the following error when attempting to execute some code, and your solution resolved the situation. BTW I'm running RHEL - 2.6.18-238.19.1.el5.
    List::Util object version 1.21 does not match bootstrap parameter 1.25 + at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/ line + 94. Compilation failed [...]
Re^2: cpan problems
by Anonymous Monk on Nov 01, 2012 at 15:23 UTC
    Your message probably saved me hundreds of dollars in customer orders that would have been lost because my scripts started breaking after yum reinstalled Perl 5.8.8 overnight on my CentOS managed cloud server. Rackspace Support helped me scope out the problem, and we found your message on Google. It provided the exact solution to the problem.


Re^2: cpan problems
by mds (Novice) on Jun 05, 2013 at 18:40 UTC

    Bakkiaraj, Thank you for the post. That saved me a lot of time. How did you figure out that this problem:

    Database was generated on Mon, 09 Apr 2012 17:10:35 GMT Going to read /root/.cpan/sources/authors/01mailrc.txt.gz CPAN: Compress::Zlib loaded ok Undefined subroutine &IO::Uncompress::Base::readonly called at /usr/li +b/perl5/site_perl/5.8.8/IO/Uncompress/ line 1075.

    was caused by a bad Scalar::Util module ?

Re^2: cpan problems
by Anonymous Monk on Oct 12, 2013 at 12:52 UTC
    Not found:

      The version number in that link has increased. Either use a Google search to find the current URL or use the [dist://] form of URLs to create a link to whatever version is current, like Scalar::List::Utils.

Re^2: cpan problems
by Anonymous Monk on Dec 14, 2012 at 15:50 UTC
    That fixed the problem. Perfect answer.
Re^2: cpan problems
by Anonymous Monk on Jan 31, 2013 at 19:55 UTC
    Thank you, thank you, thank you.
Re^2: cpan problems
by Anonymous Monk on Jul 01, 2013 at 18:45 UTC
    Thanks a lot! Worked like charm. Saved me many hours in researching the issue.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://972219]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (10)
As of 2018-06-18 13:47 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (109 votes). Check out past polls.