Skip Menu |

This queue is for tickets about the ExtUtils-MakeMaker CPAN distribution.

Report information
The Basics
Id: 69900
Status: resolved
Priority: 0/
Queue: ExtUtils-MakeMaker

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

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



Subject: EUMM breaks the ability to build makefiles (perl Makefile.PL)
Hi, I've come across this bug, seems like it's been around since the last release: http://stackoverflow.com/questions/6074655/cant-install-new-perl-modules-using-makemaker/6880163#6880163 I've tested on several machines and narrowed down to this module. Basically you aren't declaring dependency for Parse::CPAN::Meta version 1.44, when distros like CentOS only come with 1.4. EUMM build is going through fine because it uses the bundled/Parse-CPAN-Meta/Parse/CPAN/Meta.pm version 1.44 it comes with. But of course as the system doesn't have this, everything else breaks. I posted a quick workaround on stackoverflow for people googling this issue, but it's far from ideal. Lyle
What's happened here is that because CPAN::Meta set $VERSION in a BEGIN block, the ->VERSION check returned true even though CPAN::Meta hadn't successfully loaded and as such ExtUtils::MakeMaker carried on believing that it had. I've now updated EUMM master to a new version of CPAN::Meta that does do this and tweaked the test for CPAN::Meta being available to be slightly more defensive, which I believe resolves the problem. To double check I'm right, please could you try installing ExtUtils-MakeMaker-6.58_01.tar.gz either from my CPAN directory via Show quoted text
cpan> install MSTROUT/ExtUtils-MakeMaker-6.58_01.tar.gz
or by direct download from http://www.trout.me.uk/perl/ExtUtils-MakeMaker-6.58_01.tar.gz
Released in 6.59. Thanks very much for the report!