Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the IO-CaptureOutput CPAN distribution.

Report information
The Basics
Id: 43825
Status: resolved
Priority: 0/
Queue: IO-CaptureOutput

People
Owner: Nobody in particular
Requestors: michael [...] insulin-pumpers.org
Cc:
AdminCc:

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



Subject: minor bug report
Date: Tue, 03 Mar 2009 19:10:06 -0800
To: bug-IO-CaptureOutput [...] rt.cpan.org
From: michael [...] insulin-pumpers.org
IO-CaptureOutput-1.11 perl v5.8.4 built for sun4-solaris-64int SunOS 5.10 Generic_137137-09 sun4u sparc sun4u Module::Build and ExtUtils::CBuilder are not included in the core perl distro and are required to build the module. I suggest that you include them in the Makefile.PL PREREQ_PM list Even after installing those modules, get this error.... note that all tests pass. # make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/capture.t ....... ok t/capture_exec.t .. ok t/capture_file.t .. ok t/errors.t ........ ok t/noconsole.t ..... ok t/wperl.t ......... skipped: not MSWin32 All tests successful. Files=6, Tests=104, 5 wallclock secs ( 0.50 usr 0.13 sys + 3.35 cusr 0.66 csys = 4.64 CPU) Result: PASS -bash-3.00# make install Manifying blib/man3/IO::CaptureOutput.3 /usr/bin/perl "-Iblib/arch" "-Iblib/lib" Build.PL Build Too early to specify a build action 'Build'. Do 'Build Build' instead. *** Error code 2 make: Fatal error: Command failed for target `Build' Regards, Miker@cpan.org
Subject: Re: [rt.cpan.org #43825] minor bug report
Date: Tue, 3 Mar 2009 22:39:31 -0500
To: bug-IO-CaptureOutput [...] rt.cpan.org
From: David Golden <dagolden [...] cpan.org>
On Tue, Mar 3, 2009 at 10:10 PM, michael@insulin-pumpers.org via RT <bug-IO-CaptureOutput@rt.cpan.org> wrote: Show quoted text
> IO-CaptureOutput-1.11 > perl v5.8.4 built for sun4-solaris-64int > SunOS 5.10 Generic_137137-09 sun4u sparc sun4u > > Module::Build > and > ExtUtils::CBuilder > > are not included in the core perl distro and are required to build > the module. I suggest that you include them in the Makefile.PL
They aren't required. You're running a sufficiently old Perl that ExtUtils::MakeMaker thinks that it should try to run Build.PL instead of ignoring it. It turns out that IO-CaptureOutput needs PL_FILES => {} in the Makefile.PL to ensure this does not happen, even on older Perls. Thanks for the bug report. -- David
Fixed in 1.1101.