Subject: | Missing CPAN::Meta::YAML dependency |
While installing under cygwin (PERL 5.10.1) via cpan, I receive the
following error during tests:
t/mymeta.t ..................... 25/39 Can't locate object method "new"
via package "CPAN::Meta::YAML" at t/mymeta.t line 115.
# Looks like you planned 39 tests but ran 28.
# Looks like your test exited with 2 just after 28.
t/mymeta.t ..................... Dubious, test returned 2 (wstat 512, 0x200)
I looked at mymeta.t and saw a call to CPAN::Meta::YAML->new(). I did
not have CPAN::Meta::YAML installed, and the Module::Build doesn't call
it out as a dependency. Further, I had to add 'use CPAN::Meta::YAML;' to
mymeta.t for its tests to pass.
This may only be a problem under cygwin / perl 5.10.1 as I was able to
successfully install Module::Build on Ubuntu 11.10 / perl 5.12 with no
issue.