Skip Menu |

This queue is for tickets about the File-Sharedir-Install CPAN distribution.

Report information
The Basics
Id: 49510
Status: resolved
Priority: 0/
Queue: File-Sharedir-Install

People
Owner: Nobody in particular
Requestors: peter [...] makholm.net
Cc:
AdminCc:

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



Subject: Test fails with local::lib
This module fails to be installed if you're using local::lib to manage you CPAN installations. local::lib uses PERL_MM_OPT to set the INSTALL_BASE parameter, giving the following error: makholm@makholm:~/.cpan/build/File-ShareDir-Install-0.02-s3OiLW$ prove - vb t/10_makefile.t t/10_makefile....1..15 Only one of PREFIX or INSTALL_BASE can be given. Not both. # Looks like your test exited with 255 before it could output anything. dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-15 Failed 15/15 tests, 0.00% okay Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------ ------- t/10_makefile.t 255 65280 15 30 1-15 Failed 1/1 test scripts. 15/15 subtests failed. Files=1, Tests=15, 1 wallclock secs ( 0.15 cusr + 0.00 csys = 0.15 CPU) Failed 1/1 test programs. 15/15 subtests failed. makholm@makholm:~/.cpan/build/File-ShareDir-Install-0.02-s3OiLW$ Adding '$ENV{PERL_MM_OPT} = "";' just above the WriteMakefile invocation in t/10_makefile.t solves this problme.
Thank you for your bug report. I have applied the fix in 0.03, which has just been uploaded to PAUSE.