Re: CPAN install difficulties on CentOS 4.4



"dan" <dhazer@xxxxxxxxx> writes:

I just finished install some modules (i.e. Archive::Tar Compress::Zlib
and its dependencies)

because in order to install any other module it needed the above two.

So here's my question, why doesn't cpan come installed with these base
packages so that basic installations can be made from the cpan
interface instead of having to manually install modules?

Simple answer: CPAN.pm will use those modules if they're available, but they
aren't required. It'll fall back to executing external "tar" and "gunzip"
commands if the modules aren't available.

Same thing with LWP - CPAN.pm will happily use LWP if it's available, but will
also fall back to external commands like wget, curl, or lynx if necessary.

sherm--

--
Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net
.



Relevant Pages

  • Syntax error using cpan leads to bizarre behavior
    ... accidentally used the wrong syntax when using the 'cpan' command-line ... the correct way to install a module ... Fetching with LWP: ... try to install junoscript but, lacking the dependencies, predictably ...
    (comp.lang.perl.modules)
  • force install Bundle::CPAN failing
    ... This is on an ubuntu machine an force install Bundle::CPAN is failing. ... CPAN: File::HomeDir loaded ok ... Checking if your kit is complete... ... CPAN: checksum security checks disabled because Digest::SHA not installed. ...
    (Ubuntu)
  • perlmagick install trouble on sol 10 sparc
    ... cpan shell -- CPAN exploration and modules installation ... ReadLine support available (try 'install Bundle::CPAN') ... LWP not available ... Fetching with Net::FTP: ...
    (SunManagers)
  • LWP install MacOS X
    ... Download LWP. ... install in a new place. ... I've checked the perl and CPAN FAQs. ...
    (comp.lang.perl.misc)
  • Re: Perl-GD module installation
    ... then, unpack and install ... cpan> install GD ... Fetching with LWP: ...
    (perl.beginners)