I have an on-line server obtained circa 2002 with RHEL3 running /usr/bin/perl 5.8.0. I just tried to install a new module as root as per my usual practice since then, running "/usr/bin/cpan" then "install String::Random". I'd just done that on my local PC without any problems, but on my server it came back with reams of output and ultimately failed.
Something seems to have happened to my cpan installation, as I now get muliple failures when trying to install anything, e.g. "install Bundle::CPAN" - including apparent make failures. So I tried to re-install cpan by running "/usr/bin/cpan" then "o conf init" and manually choosing all the defaults. But that failed with the final output being
Looking for CPAN mirrors near you (please be patient) Catching error:
+ "Can't locate Time/HiRes.pm in \@INC (\@INC contains: /usr/lib/perl5
+/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/si
+te_perl/5$ CPAN::shell() called at /usr/lib/perl5/5.8.0/App/Cpan.pm l
+ine 338 App::Cpan::_process_options('App::Cpan') called at /usr/lib/p
+erl5/5.8.0/App/Cpan.pm line 421 App::Cpan::run('App::Cpan') called at
+ /usr/bin/cpan line 12
So something seems hosed, but I don't know enough to deal with this. Is there some different/better way to create a "clean" cpan install??