Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: dakkar [...] thenautilus.net
jgoulah [...] gmail.com
Cc:
AdminCc:

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

Attachments


Subject: MM fails tests if PERL_MM_OPT is used
ExtUtils-MakeMaker 6.30 on MacOSX 10.4, stock perl (5.8.6). I use this settings to install modules in my home directory: export PERL_MM_OPT='INSTALLDIRS=perl LIB=/Users/dakkar/Library/Perl/ INSTALLBIN=/Users/dakkar/bin INSTALLSCRIPT=/Users/dakkar/bin/ INSTALLMAN1DIR=/Users/dakkar/man/man1 INSTALLMAN3DIR=/Users/dakkar/man/man3' They work perfectly (I use a similar setup for Module::Build), but I discovered that MakeMaker fails its tests. I'm attaching the output of 'make test TEST_VERBOSE=1' to help in the diagnosis. BTW, even if the tests are failing, MM work correctly once installed.
Download mm-tests-with-opt
application/octet-stream 31.3k

Message body not shown because it is not plain text.

Date: Wed, 5 Oct 2005 11:20:20 -0700
From: Michael G Schwern <schwern [...] pobox.com>
To: via RT <bug-ExtUtils-MakeMaker [...] rt.cpan.org>
CC: undisclosed-recipients: ;
Subject: Re: [cpan #14930] MM fails tests if PERL_MM_OPT is used
RT-Send-Cc:
On Wed, Oct 05, 2005 at 05:37:55AM -0400, via RT wrote: Show quoted text
> I use this settings to install modules in my home directory: > > export PERL_MM_OPT='INSTALLDIRS=perl LIB=/Users/dakkar/Library/Perl/ INSTALLBIN=/Users/dakkar/bin INSTALLSCRIPT=/Users/dakkar/bin/ INSTALLMAN1DIR=/Users/dakkar/man/man1 INSTALLMAN3DIR=/Users/dakkar/man/man3'
Huh. I wasn't even aware that existed. Show quoted text
> They work perfectly (I use a similar setup for Module::Build), but I discovered that MakeMaker fails its tests.
Yeah, because it doesn't take into account that a user might have PERL_MM_OPT set so its getting unexpected arguments when it tries to test itself. The simple fix, for you, is to unset PERL_MM_OPT before running the tests. I'll have to adjust the tests to do that themselves. -- Michael G Schwern schwern@pobox.com http://www.pobox.com/~schwern Don't try the paranormal until you know what's normal. -- "Lords and Ladies" by Terry Prachett
Subject: failing tests for PERL_MM_OPT='INSTALL_BASE=/somewhere'
Date: Thu, 16 Oct 2008 10:02:25 -0400
To: bugs-ExtUtils-MakeMaker [...] rt.cpan.org
From: "John Goulah" <jgoulah [...] gmail.com>

Message body is not shown because it is too large.

Fixed this. Will show up in the next release.