Without looking, I'm guessing you have a generated Makefile.PL that invokes
Module::Build, which isn't included in core anymore.

If so, you should remove the generated Makefile.PL and ensure that
Module::Build is present in your "configure_requires" field of your
META.yml (and the corresponding field in META.json prereqs structure).

David


On Fri, Jul 1, 2016 at 8:51 AM, Rocky Bernstein <rocky.bernst...@gmail.com>
wrote:

> [My show up as a duplicate I sent this 6 hours ago and don't see it
> appearing in the archives
> <http://www.nntp.perl.org/group/perl.cpan.testers.discuss/2016.html>].
>
> I am getting  failures like
> http://www.cpantesters.org/cpan/report/c453f4fe-3ea0-11e6-997c-c9195cc2a771
>
> which has:
>
>
>
>
> Output from '/usr/bin/make test':
>
> perl Build.PL
> Can't locate Module/Build.pm in @INC (you may need to install the 
> Module::Build module) (@INC contains: /etc/perl 
> /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 
> /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 
> /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 
> /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at Build.PL 
> line 6.
> BEGIN failed--compilation aborted at Build.PL line 6.
> GNUmakefile:101: recipe for target 'test-t' failed
> make: *** [test-t] Error 2
>
> ------------------------------
> PREREQUISITES
> ------------------------------
>
> Prerequisite modules loaded:
>
> requires:
>
>     Module             Need     Have
>     ------------------ -------- --------
>     Bio::Root::Version v1.6.924 1.006924
>     perl               v5.10.0  5.022002
>     rlib               0.02     0.02
>
> build_requires:
>
>     Module             Need     Have
>     ------------------ -------- --------
>     rlib               0.02     0.02
>     Test::More         0.81     1.302034
>
> configure_requires:
>
>     Module             Need     Have
>     ------------------ -------- --------
>     Module::Build      0.4214   0.4218
>
>
> The only thing I can think of is that somehow there are two perl's on this
> smoker and a simple "perl" gives the wrong one?
>
> If that's the case the proper way from a GnuMakefile to invoke "perl
> Build.PL"?
>
> If that's not the case, whats wrong?
>
> Thanks.
>
>


-- 
David Golden <x...@xdg.me> Twitter/IRC/GitHub: @xdg

Reply via email to