This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: cpan broken ???
- From: Pavel Fedin <p dot fedin at samsung dot com>
- To: 'Csaba Raduly' <rcsaba at gmail dot com>, 'cygwin list' <cygwin at cygwin dot com>
- Date: Mon, 05 Feb 2018 18:26:34 +0300
- Subject: RE: cpan broken ???
- Authentication-results: sourceware.org; auth=none
- Cms-type: 201P
- Dkim-filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20180205152637euoutp0213094f8029524b7e6e769d0e0595c82b~Qd3ALZAdG2651526515euoutp022
- References: <CGME20180205135913eucas1p11d0a725dfc95efd35c6264c4a06af748@eucas1p1.samsung.com> <011301d39e89$80bc0430$82340c90$@samsung.com> <20180205144537.GB2376@jbsupah> <CAEhDDbDmgruCAVuP9+fSGvEYnwK1-UuvY5tucgqiyq2Y09KDNQ@mail.gmail.com>
Hello!
> -----Original Message-----
> From: cygwin-owner@cygwin.com [mailto:cygwin-owner@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