Re: cpan problems
by Khen1950fx (Canon) on Apr 18, 2012 at 07:14 UTC
|
IO::Uncompress::Base is core and was first released with
perl-5.9.4. If your version is less than that, then you'll have to install it. In the CPAN shell:
cpan> install Bundle::Compress::Zlib
or as a last resort:
cpan> install Bundle::Compress::Zlib IO::Uncompress::Base
| [reply] [d/l] [select] |
Re: cpan problems
by sam_bakki (Pilgrim) on May 24, 2012 at 10:57 UTC
|
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
- extract .tar.gz file and cd Scalar-List-Utils-1.25
- perl Makefile.PL
- gmake
- gmake test
- 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.
| [reply] [d/l] [select] |
|
|
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 [...]
| [reply] [d/l] |
|
|
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!
| [reply] |
|
|
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/Base.pm line 1075.
was caused by a bad
Scalar::Util module ?
| [reply] [d/l] |
|
|
Not found:
search.cpan.org/~pevans/Scalar-List-Utils-1.25/lib/Scalar/Util.pm
| [reply] |
|
|
| [reply] [d/l] |
|
|
Thanks a lot! Worked like charm. Saved me many hours in researching the issue.
| [reply] |
|
|
That fixed the problem. Perfect answer.
| [reply] |
|
|
Thank you, thank you, thank you.
| [reply] |
Re: cpan problems
by toolic (Bishop) on Apr 18, 2012 at 17:01 UTC
|
According to corelist, File::Path is part of the Core distribution, which means there should be no need to install it:
corelist File::Path
File::Path was first released with perl 5.001
| [reply] [d/l] |
Re: cpan problems
by Anonymous Monk on Apr 30, 2013 at 04:56 UTC
|
And apparently this is still a problem. Thank you for posting saved me a huge amount of time. | [reply] |
|
|
Yep screwed up 2 of my servers this week :-/
| [reply] |
Re: cpan problems
by Anonymous Monk on Aug 20, 2013 at 00:50 UTC
|
You will need to download at a different location now...
http://search.cpan.org/dist/Scalar-List-Utils/
This fixed my issues...
KD. | [reply] |
|
|
Thanks so much. Peer1 updated my server again (I asked them to just email me so I can do it manually), and a bunch of my perl scripts crashed.
This fixed it immediately!
| [reply] |
Re: cpan problems
by Anonymous Monk on Nov 08, 2012 at 21:36 UTC
|
This worked on RedHat 5 (Linux <snip> 2.6.18-308.16.1.el5 #1 SMP. CPAN broke after a yum update. Your fix resolved the issue. Thank you! | [reply] |
|
|
Thanks for posting Bakkiaraj M
Fixed on Centos 5.8 x64
Cheers.
Steveh
| [reply] |