Skip Menu |

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

Report information
The Basics
Id: 60733
Status: resolved
Worked: 10 min
Priority: 0/
Queue: ExtUtils-MakeMaker

People
Owner: Nobody in particular
Requestors: david [...] cantrell.org.uk
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 6.56
Fixed in: 6.69_05



Subject: Test failures when perl has a relative path
If you run Makefile.PL using a relative path for perl, then you get test failures later when you "make test". Everything's fine if you use a fully-qualified path for perl. To reproduce this: $ tar xzf ExtUtils-MakeMaker-6.56.tar.gz $ cd ExtUtils-MakeMaker-6.56 $ ../myperl/bin/perl Makefile.PL $ make test ... FAIL! DOOM! DISASTER! Invoking Makefile.PL thus with exactly the same build of perl makes everything work: $ $HOME/myperl/bin/perl Makefile.PL $ make test ... YAY! SPARKLY UNICORNS! I guess that there's a chdir() somewhere in the tests. The fix in this situation is normally to use $Config{perlpath} (possibly with $Config{_exe} tacked on the end if it's not there already).
I have tested this with the latest version of EUMM and all I see is unicorns. Many thanks.