Skip Menu |

This queue is for tickets about the Lingua-EN-Inflect CPAN distribution.

Report information
The Basics
Id: 119616
Status: resolved
Priority: 0/
Queue: Lingua-EN-Inflect

People
Owner: Nobody in particular
Requestors: skaji [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: configuring requires Module::Build
* Lingua-EN-Inflect has both Build.PL and Makefile.PL. * Lingua-EN-Inflect requires only ExtUtils::MakeMaker, not Module::Build at configure phase. https://metacpan.org/source/DCONWAY/Lingua-EN-Inflect-1.900/META.json#L28-32 * Some cpan clients (such as cpanminus) try to configure distributions by Build.PL first. As a result, some cpan clients fail to configure Lingua-EN-Inflect at first trial. ``` $ perl -v This is perl 5, version 24, subversion 0 (v5.24.0) built for darwin-2level (with 1 registered patch, see perl -V for more detail) $ cpanm -nq -Llocal Lingua::EN::Inflect Successfully installed Lingua-EN-Inflect-1.900 1 distribution installed $ cat ~/.cpanm/build.log ... Configuring Lingua-EN-Inflect-1.900 Running Build.PL Can't locate Module/Build.pm in @INC (you may need to install the Module::Build module) (@INC contains: /Users/skaji/work/2016-12-25/local/lib/perl5 /Users/skaji/env/plenv/versions/t5.24/lib/site_perl/5.24.0/darwin-2level /Users/skaji/env/plenv/versions/t5.24/lib/site_perl/5.24.0 /Users/skaji/env/plenv/versions/t5.24/lib/5.24.0/darwin-2level /Users/skaji/env/plenv/versions/t5.24/lib/5.24.0 .) at Build.PL line 3. BEGIN failed--compilation aborted at Build.PL line 3. Running Makefile.PL Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Lingua::EN::Inflect Writing MYMETA.yml and MYMETA.json ``` So could you: * list Module::Build as configure requires? * or, remove Build.PL (or Makefile.PL, whichever you want)? Thank you.
Subject: Re: [rt.cpan.org #119616] configuring requires Module::Build
Date: Sun, 1 Jan 2017 06:17:10 +1100
To: bug-Lingua-EN-Inflect [...] rt.cpan.org
From: Damian Conway <damian [...] conway.org>
Thanks for the bug report. I've removed Build.PL for release 1.901. Damian
Thanks! On 2016-12-31T14:18:04-05:00, damian@conway.org wrote: Show quoted text
> Thanks for the bug report. > I've removed Build.PL for release 1.901. > > Damian