Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
Just another Perl shrine
 
PerlMonks  

Re: cpan problems

by sam_bakki (Monk)
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 http://search.cpan.org/~pevans/Scalar-List-Utils-1.25/lib/Scalar/Util.pm
    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 - http://code.google.com/p/saaral-soft-search-spider/ , contributions are welcome.


Comment on Re: cpan problems
Select or Download Code
Re^2: cpan problems
by errant.info (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/XSLoader.pm 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.

    THANK YOU!

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://972219]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (22)
As of 2013-05-21 15:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best material for plates (tableware) is:









    Results (439 votes), past polls