Undefined subroutine &Carp::longmess_heavy called at /usr/lib/perl5/5.
+8.8/Carp.pm line 239.
Warning: No success on command[/usr/bin/perl Makefile.PL]
ZEFRAM/Carp-1.26.tar.gz
/usr/bin/perl Makefile.PL -- NOT OK
AFAICT, you should be getting that same failure *every* time you do a cpan install ... and it puzzles me how *any* cpan install could ever succeed while that broken version of Carp is being found.
Every time 'perl Makefile.PL' gets run, ExtUtils/MakeMaker.pm is loaded and it, in turn, loads that broken version of Carp - at which point the build fails.
I presume the problem there is that /usr/lib/perl5/5.8.8/Carp/Heavy.pm, which should define the longmess_heavy sub, is either corrupted or not being loaded - and the best way I can see of fixing this would be to manually copy'n'paste Heavy.pm (from the source distro) to the location that I've just specified. Maybe you should also copy Carp.pm from the source distro to /usr/lib/perl5/5.8.8/Carp.pm (just to make sure that you have matching versions of Carp.pm and Heavy.pm).
However, I believe this is the *system* perl that you're tampering with, and I'm always a bit nervous when it comes to doing that lest the system gets broken.
It would be far preferable that you install and use a different perl (say, /usr/local/perl) and leave the system perl well alone.
Cheers,
Rob
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.