Web lists-archives.com

Re: cpan broken ???




On 05.02.18,16:59, Pavel Fedin wrote:
>  I am trying to install a Perl module via CPAN and it fails:
> --- cut ---
> $ cpan install Parallel::ForkManager
> CPAN: Storable loaded ok (v2.62)
> Reading '/home/p.fedin/.cpan/Metadata'
>   Database was generated on Mon, 05 Feb 2018 12:17:02 GMT
> Running install for module 'Parallel::ForkManager'
> CPAN: Digest::SHA loaded ok (v6.01)
> CPAN: Compress::Zlib loaded ok (v2.074)
> Checksum for /home/p.fedin/.cpan/sources/authors/id/Y/YA/YANICK/Parallel-ForkManager-1.19.tar.gz ok
> 'YAML' not installed, will not store persistent state
> CPAN: CPAN::Meta::Requirements loaded ok (v2.140)
> CPAN: Parse::CPAN::Meta loaded ok (v2.150010)
> CPAN: CPAN::Meta loaded ok (v2.150010)
> The content of '/home/p.fedin/.cpan/build/Parallel-ForkManager-1.19-6/META.json' is not a HASH reference. Cannot use it.
> Configuring Y/YA/YANICK/Parallel-ForkManager-1.19.tar.gz with Makefile.PL
> Checking if your kit is complete...
> Looks good
> Warning: prerequisite Test::Warn 0 not found.
> Could not load PERL_YAML_BACKEND 'YAML'
>  at /usr/share/perl5/5.26/CPAN/Meta.pm line 622.
> Warning: No success on command[/usr/bin/perl Makefile.PL]
>   YANICK/Parallel-ForkManager-1.19.tar.gz
>   /usr/bin/perl Makefile.PL -- NOT OK
> 
> --- cut ---
>  I've just updated; the system is x86-64. How to fix this?
> 

You can try "sudo cpan install YAML" first on the command line. Also 
check that you have 'make' installed. 

Jostein

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple