Clear questions and runnable code
get the best and fastest answer
RE: difficulty using CPAN.pm (update == success)by ybiC (Prior)
|on Jul 25, 2000 at 15:21 UTC||Need Help??|
Update: with accurate and timely advice from Corion and davorg, plus Chatterbox help from davorg and le, I had quite a bit of success with everything but CPAN.pm itself. Manual make/install of Net::Telnet::Cisco displayed pertinent errors that CPAN.pm kept hidden, which led me to successfull manual make/install (upgrade) of Net::Telnet, and then back to manual make/install of Net::Telnet::Cisco (this time successful).
CPAN.pm being unusable might be result of Debian's down-rev Perl 5.004.04, or perhaps from the way Debian packages a few CPAN modules as .deb's. Could easily be something specific to how my host is setup. Other Monks of the Debian persuasion care to share their experiences?
Update #2: another PM reference on installing modules: (manually, not with cpan.pm)
Update #3: With young perlhopper's suggestion below, I took a closer look at /usr/lib/perl5/CPAN/Config.pm. This one works on a Debian host at work. I'll compare with suspect Config.pm at home for diffs. Also found that txt.gz files in $HOME/.cpan/sources/authors/ and modules/ had to be deleted after fixing incorrect urllist entry.
Yes, I know I need to point my urllist to a mirror <grin> I just want to get this working first.
Update #4: aaaaall better now 8^P
My ignorance of make and the CPAN.pm shell were source of all my grief.
= correct syntax and sequence for make.
= proper configuration of /usr/lib/perl5/CPAN/Config.pm
= valid urllist entry (CPAN mirror)
= delete corrupt $HOME/.cpan/sources/*.txt.gz