Hello! > -----Original Message----- > From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On Behalf Of > Csaba Raduly > Sent: Monday, February 05, 2018 6:00 PM > To: cygwin list <cygwin@cygwin.com> > Subject: Re: cpan broken ??? > > On Mon, Feb 5, 2018 at 3:45 PM, Jostein Berntsen wrote: > > On 05.02.18,16:59, Pavel Fedin wrote: > >> I am trying to install a Perl module via CPAN and it fails: > >> --- cut --- > ... > >> 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. [p.fedin]
sudo?? On Cygwin??? > > > > It says > /usr/bin/perl Makefile.PL -- NOT OK > > I believe 'make' was not run at all. Maybe something (either the > package or CPAN itself) needs YAML. [p.fedin] --- cut --- $ cpan install YAML 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 'YAML' CPAN: Digest::SHA loaded ok (v6.01) CPAN: Compress::Zlib loaded ok (v2.074) Checksum for /home/p.fedin/.cpan/sources/authors/id/T/TI/TINITA/YAML-1.24.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/YAML-1.24-3/META.json' is not a HASH reference. Cannot use it. Configuring T/TI/TINITA/YAML-1.24.tar.gz with Makefile.PL Checking if your kit is complete... Looks good Warning: prerequisite Test::YAML 1.05 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] TINITA/YAML-1.24.tar.gz /usr/bin/perl Makefile.PL -- NOT OK --- cut --- Neither anything called "yaml" is listed in setup.exe Kind regards, Pavel Fedin Senior Engineer Samsung Electronics Research center Russia -- 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