Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^6: 5.16 vs Date::Manip (data++)

by ChrisDennis (Sexton)
on Jun 19, 2012 at 09:16 UTC ( #976994=note: print w/ replies, xml ) Need Help??


in reply to Re^5: 5.16 vs Date::Manip (data++)
in thread 5.16 vs Date::Manip

Thanks -- that helped:

$ locate /Storable.pm | xargs grep -w VERSION /usr/lib/perl5/core_perl/Storable.pm:use vars qw($canonical $forgive_m +e $VERSION); /usr/lib/perl5/core_perl/Storable.pm:$VERSION = '2.34'; /usr/lib/perl5/core_perl/Storable.pm:XSLoader::load('Storable', $Stora +ble::VERSION); /usr/lib/perl5/site_perl/Storable.pm:use vars qw($canonical $forgive_m +e $VERSION); /usr/lib/perl5/site_perl/Storable.pm:$VERSION = '2.30'; /usr/lib/perl5/site_perl/Storable.pm:XSLoader::load 'Storable', $Stora +ble::VERSION;

So I renamed the site_perl version, and now my script runs.

There are still other problems with site_perl though -- probably because in the past I've used cpanp to install modules. Now I can't re-run cpanp to update things because cpanp itself doesn't run:

$ cpanp Attempt to reload Module/Load/Conditional.pm aborted. Compilation failed in require at /usr/share/perl5/site_perl/IPC/Cmd.pm + line 50. BEGIN failed--compilation aborted at /usr/share/perl5/site_perl/IPC/Cm +d.pm line 50. Compilation failed in require at /usr/share/perl5/site_perl/CPANPLUS/C +onfig.pm line 18. BEGIN failed--compilation aborted at /usr/share/perl5/site_perl/CPANPL +US/Config.pm line 18. Compilation failed in require at /usr/share/perl5/site_perl/CPANPLUS/C +onfigure.pm line 7. BEGIN failed--compilation aborted at /usr/share/perl5/site_perl/CPANPL +US/Configure.pm line 7. Compilation failed in require at /usr/share/perl5/site_perl/CPANPLUS/B +ackend.pm line 7. BEGIN failed--compilation aborted at /usr/share/perl5/site_perl/CPANPL +US/Backend.pm line 7. Compilation failed in require at /usr/share/perl5/site_perl/CPANPLUS.p +m line 7. BEGIN failed--compilation aborted at /usr/share/perl5/site_perl/CPANPL +US.pm line 7. Compilation failed in require at /usr/bin/site_perl/cpanp line 11. BEGIN failed--compilation aborted at /usr/bin/site_perl/cpanp line 11.

There's lots of stuff in /usr/share/perl5/site_perl -- I'll try getting rid of all of it temporarily to see what else breaks...

cheers, Chris


Comment on Re^6: 5.16 vs Date::Manip (data++)
Select or Download Code
Re^7: 5.16 vs Date::Manip (data++)
by ChrisDennis (Sexton) on Jun 20, 2012 at 13:28 UTC
    On the advice of juster on the Arch Linux forum, I deleted all files under /usr/bin/site_perl, /usr/lib/perl5/site_perl and /usr/share/perl5/site_perl to remove the duplicates installed by the cpan shell.

    Then I reinstalled CPANPLUS::Dist:Arch and used cpanp to reinstall the modules I needed (i.e. Math::Combinatorics).

    Now it's all working again. Thanks for everyone's help.

    cheers, Chris

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2014-09-01 23:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (18 votes), past polls