Skip Menu |

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

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

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

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



Subject: find_perl does not find perl in some circumstances
If calling perl causes to emit warnings (e.g. by defining a non-existing locale env variable), then perl Makefile.PL cannot find the location of its binary. Easy to reproduce with env LC_ALL=does_not_exist perl Makefile.PL There's a warning ("Unable to find a perl 5 ...) and FULL_PERL and PERL are both zero in the generated Makefile. It seems that this (non-)problem may be solved by either not redirecting the stderr output when testing the perl binary in find_perl (as this would collect the locale warnings, too) or by using the /m modifier in the VER_OK regexp check (as this would match the VER_OK string in the output again). Regards, Slaven
Thanks. Fixed it by making the check for VER_OK multi-line. Will be in 6.33.