Skip Menu |

This queue is for tickets about the Proc-Exists CPAN distribution.

Report information
The Basics
Id: 36315
Status: resolved
Priority: 0/
Queue: Proc-Exists

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

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



Subject: 'make test' removes Makefile, no 'make install' possible
At the end of t/01.usage.t I find unlink('Makefile') which seems to remove the Makefile we need to execute the 'make install'. When 'make install' is called then, it says: make[3]: Entering directory `/home/sand/.cpan/build/Proc-Exists-0.11-3gyYuM' make[3]: *** No rule to make target `install'. Stop. make[3]: Leaving directory `/home/sand/.cpan/build/Proc-Exists-0.11-3gyYuM' Regards,
Thanks for reporting this. That's what I get for cat Makefile.PL Show quoted text
>>t/01.usage.t and then editing t/01.usage.t instead of just copy and
pasting the lines I really wanted ;-) Please try the attached patch until I get a moment to bundle 0.12 together.
Index: t/01.usage.t =================================================================== --- t/01.usage.t (revision 325) +++ t/01.usage.t (revision 326) @@ -77,12 +77,3 @@ ok(1 == pexists(@pids_to_strobe, {any => 1})); #make sure "all" arg works properly ok(0 == pexists(@pids_to_strobe, {all => 1})); -#!perl -$|++; -use ExtUtils::MakeMaker; - -use Config qw(%Config); #for $Config{cc} - -# An existing makefile can confuse the CC test. -unlink('Makefile'); -
I'm somewhat surprised the smokers don't simulate a make install to catch obvious mistakes like this. The egg still belongs on my face, tho. Fixed in svn rev 326, soon to be released (pending testing) as 0.12.
0.12, which fixes this (and some minor things), has been released to PAUSE and will percolate out to mirrors soon. Thanks again...