Skip Menu |

This queue is for tickets about the CPANPLUS CPAN distribution.

Report information
The Basics
Id: 1655
Status: resolved
Priority: 0/
Queue: CPANPLUS

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

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



Subject: Backend make() sometimes finds wrong Makefile.PL
Patch attached. Essentially, the C<do"Makefile.PL"> code seems to sometimes catch the wrong Makefile.PL. Changing it to C<do"./Makefile.PL"> ensures that it catches the right one. -- Rocco Caputo / troc@pobox.com / poe.perl.org / poe.sf.net
--- CPANPLUS/Internals/Make.pm-orig Sun Oct 13 22:26:58 2002 +++ CPANPLUS/Internals/Make.pm Sun Oct 13 22:27:34 2002 @@ -111,7 +111,7 @@ ### BIG CAVEAT: We're forced to use the $|=1 trick to ensure proper ### ordering of STDIN, STDOUT and STDERR in captured buffer unless( $self->_run( - command => [$perl, '-e', '$|=1;do"Makefile.PL"', @args], + command => [$perl, '-e', '$|=1;do"./Makefile.PL"', @args], buffer => \$captured, verbose => 1 ) ) {
Date: Mon, 14 Oct 2002 10:45:07 +0200
From: "Jos I. Boumans" <boumans [...] frg.eur.nl>
To: bug-CPANPLUS [...] rt.cpan.org
Cc: 'AdminCc [...] fsck.com, of [...] fsck.com, cpan [...] fsck.com, Ticket [...] fsck.com, "#1655':" [...] fsck.com, ";" [...] fsck.com
Subject: Re: [cpan #1655] Backend make() sometimes finds wrong Makefile.PL
via RT wrote: Show quoted text
>This message about CPANPLUS was sent to you by RCAPUTO via rt.cpan.org > >Full context and any attached attachments can be found at: ><URL: https://rt.cpan.org/Ticket/Display.html?id=1655 > > >Patch attached. Essentially, the C<do"Makefile.PL"> code seems to >sometimes catch the wrong Makefile.PL. Changing it to >C<do"./Makefile.PL"> ensures that it catches the right one. > >-- Rocco Caputo / troc@pobox.com / poe.perl.org / poe.sf.net >
thanks for the patch rocco, but you seem to be patching against a version that is not 0.036 -- which is current stable on CPAN. perhaps you can try again with the latest version to see if your problem persists? thanks, jos
no complaints after 6 months, probably resolved