Bug#625980: CPAN: reports -> LWP not installed; cannot continue

Luk Claes luk at debian.org
Sat May 7 15:01:34 UTC 2011


On 05/07/2011 04:55 PM, Mike Mestnik wrote:

> www:~# perl -MCPAN -e shell
> Terminal does not support AddHistory.
> 
> cpan shell -- CPAN exploration and modules installation (v1.9402)
> Enter 'h' for help.
> 
> cpan[1]> reports PLURAL/Data-Form-Elements-0.61.tar.gz
> CPAN: Storable loaded ok (v2.20)
> Going to read '/root/.cpan/Metadata'
>   Database was generated on Sat, 07 May 2011 03:27:57 GMT
> Distribution: P/PL/PLURAL/Data-Form-Elements-0.61.tar.gz
> CPAN: CPAN::DistnameInfo loaded ok (v0.10)
> LWP not installed; cannot continue
> cpan[2]> q
> Terminal does not support GetHistory.
> Lockfile removed.
> www:~# 
> 
> I've traced this down to a call to CPAN::META->has_usable("LWP")
> 
> CPAN::LWP::UserAgent is what would otherwise be laoded and this
> exists as part of the perl-modules debian package.

Any reason why you can't just install libwww-perl before trying to use CPAN?

Cheers

Luk






More information about the Perl-maintainers mailing list