Skip Menu |

This queue is for tickets about the Geo-JapanMesh CPAN distribution.

Report information
The Basics
Id: 131839
Status: open
Priority: 0/
Queue: Geo-JapanMesh

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

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



Subject: Can't locate Module/Build/Compat.pm
If CPAN.pm is configured to prefer Makefile.PL over Build.PL (prefer_installer=EUMM) and Module::Build::Compat is not yet installed, then the automatic installation fails: ... Output from '/usr/perl5.31.8p/bin/perl5.31.8 Makefile.PL': Can't locate Module/Build/Compat.pm in @INC (you may need to install the Module::Build::Compat module) (@INC contains: lib /var/tmp/cpansmoker-1023/2020021620/CPAN-Reporter-lib-stDI /usr/perl5.31.8p/lib/site_perl/5.31.8/amd64-freebsd /usr/perl5.31.8p/lib/site_perl/5.31.8 /usr/perl5.31.8p/lib/5.31.8/amd64-freebsd /usr/perl5.31.8p/lib/5.31.8 .) at Makefile.PL line 2. BEGIN failed--compilation aborted at Makefile.PL line 2. ... Probably easiest is to drop Makefile.PL and work only with Build.PL. Alternatively specify Module::Build::Compat as a configure_requires dependency, or rewrite Makefile.PL to not use Module::Build::Compat.
Module::Build::Compat is best avoided anyway. Just use Module::Build (or Module::Build::Tiny if you don't need MB's features) in Build.PL, *or* use ExtUtils::MakeMaker in Makefile.PL. Don't add both files - pick one.