oakley has asked for the wisdom of the Perl Monks concerning the following question:
I was installing a few modules and CPAN told me there was a new version and to run an upgrade for "Bundle::CPAN" which I did. Well, it appears (which is now known to me) that the bundle actually upgrades perl... I was running 5.005 so I was due to upgrade anyways. Well, it did it's thing which took like an hour in which it installed quite a few modules, and then upgraded perl itself.
The kicker now is that when I try to read the docs on a module, I get an error from perldoc and honestly dont have a clue how to fix this and im getting quite pissed off. Here is the error:
oakserver:/usr/local/lib/perl5/5.6.1# perldoc Net::Telnet syntax error at warnings.pm line 306, near "{^" syntax error at warnings.pm line 311, near "{^" BEGIN failed--compilation aborted at /usr/local/bin/perldoc line 5. oakserver:/usr/local/lib/perl5/5.6.1#
Another "fun" issue is that if I am not in the actual base directory for the modules, and then I run perldoc on something, I get an error as well:
oakserver:~# perldoc Net::Telnet Can't locate warnings.pm in @INC (@INC contains: /usr/lib/perl5/5.005/ +i386-linux /usr/lib/perl5/5.005 /usr/local/lib/site_perl/i386-linux /usr/local/lib/site_perl /usr/lib/ +perl5 .) at /usr/local/bin/perldoc line 5. BEGIN failed--compilation aborted at /usr/local/bin/perldoc line 5. oakserver:~#
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: install of perl 5.6.1 and new issues
by sachmet (Scribe) on Apr 13, 2001 at 23:49 UTC | |
by oakley (Scribe) on Apr 14, 2001 at 00:22 UTC | |
by sachmet (Scribe) on Apr 14, 2001 at 01:10 UTC | |
by Anonymous Monk on Apr 14, 2001 at 03:23 UTC |