Having problems installing a module on Solaris 5.9. I'm using perl 5.6.1 and CPAN.
First, it's my first time running CPAN on this machine, or ever, so I set up the paths to various things like ftp, etc. So my 'index' of modules is empty. So when I do 'i /xml/' to search for available modules I get a bunch of errors. I tried to install XML::Simple and got many errors, each of which began with "LWP not available". So I'm guessing the cpan program is trying to find libwww before it tries to access the internet. Do I have to install libwww and all its dependencies manually before installing anything else using cpan? I cannot even do "reload index", which I think is critical to the functioning of the cpan program. Here is the error message: ======================================== cpan> reload index LWP not available Please check, if the URLs I found in your configuration file (http://141.217.1.55/cpan/ http://216.52.237.135 ftp://69.16.251.60/CPAN/) are valid. The urllist can be edited. E.g. with 'o conf urllist push ftp://myurl/' Could not fetch authors/01mailrc.txt.gz LWP not available Please check, if the URLs I found in your configuration file (http://141.217.1.55/cpan/ http://216.52.237.135 ftp://69.16.251.60/CPAN/) are valid. The urllist can be edited. E.g. with 'o conf urllist push ftp://myurl/' Could not fetch modules/02packages.details.txt.gz LWP not available Please check, if the URLs I found in your configuration file (http://141.217.1.55/cpan/ http://216.52.237.135 ftp://69.16.251.60/CPAN/) are valid. The urllist can be edited. E.g. with 'o conf urllist push ftp://myurl/' Could not fetch modules/03modlist.data.gz ======================================== Our Sun ftp is not set up with an entry pointing to a DNS server so I had to look up the IP address and put them in my CPAN/Config.pm file myself. I now have 3 different CPAN mirrors in CPAN/Config.pm. So now, our Sun FTP util can reach the internet, but CPAN has other problems since "LWP is not available". How do I fix LWP if I can't install any modules via CPAN? Install LWP manually along with its many dependencies? (I saw 5-6 dependencies and who knows how many each of those have.) Perhaps I did not edit the Config.pm properly. Did I use the q construct correctly for listing multiple URLs? Here's what I have: 'urllist' => [q[http://141.217.1.55/cpan/ http://216.52.237.135 ftp://69.16.251.60/CPAN/]], Thank you. Chuck