This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: cpan broken ???
- From: Jostein Berntsen <jbernts at broadpark dot no>
- To: cygwin at cygwin dot com
- Date: Mon, 05 Feb 2018 15:45:37 +0100
- Subject: Re: cpan broken ???
- Authentication-results: sourceware.org; auth=none
- References: <CGME20180205135913eucas1p11d0a725dfc95efd35c6264c4a06af748@eucas1p1.samsung.com> <011301d39e89$80bc0430$82340c90$@samsung.com>
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