Re: Trouble installing module: "LWP not available"

[email protected] (Adam Kennedy) Wed, 08 Nov 2006 16:55:21 +1100
Newsgroups perl.cpan.discuss
Message-ID <[email protected]>
Andreas

Speaking of bad configs, I think I might be a good idea to start adding 
some basic error checks.

Yesterday I got caught by the various paths not allowing the use of 
tilde ~. Instead of my homedir, it installed to a directory called, 
literally, "~".

Apart from being a little annoying, fixing it required I make the 
scariest command I've ever done on a production system.

rm -rf "~"

:/

Adam K

(Andreas J. Koenig) wrote:
>>>>>> On Tue, 7 Nov 2006 10:55:44 -0500, "news.gmane.org" <[email protected]> said:
> 
>   > Having problems installing a module on Solaris 5.9. I'm using perl 5.6.1 
>   > and CPAN. 
> 
> 5.6.1 is a bit old, so I may misremember the options that were in the
> CPAN.pm that comes with 5.6.1.
> 
> I'd expect that installing Net::FTP and pulling the ftp:// URL to the
> front of urllist would get it working with the least possible
> resistence.
> 
> Or maybe configuring an external ftp command like ftp or wget would be
> even easier.
> 
>   [...]
>   > 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/]],
> 
> Ah, yes, this is wrong! It should be
> 
>   > 'urllist' => [q[http://141.217.1.55/cpan/], q[http://216.52.237.135], 
>   > q[ftp://69.16.251.60/CPAN/]],
> 
> Hope this helps,