develooper Front page | perl.perl5.porters | Postings from June 2009

Re: [PATCH] Update CPANPLUS::Dist::Build to CPAN version 0.34

Thread Previous | Thread Next
From:
Chris 'BinGOs' Williams
Date:
June 25, 2009 01:18
Subject:
Re: [PATCH] Update CPANPLUS::Dist::Build to CPAN version 0.34
Message ID:
20090625081815.GA16402@klanker.bingosnet.co.uk
On Wed, Jun 24, 2009 at 10:14:07PM -0500, Craig A. Berry wrote:
> 
> So basically we're running the Perl we just built to execute
> cpanp-run-perl which calls C<do> to execute Build.com.  But, unlike
> system() or exec(), do() only knows how to run Perl (I think, is that
> right?), and Build.com is not exactly a Perl script.  It has one
> embedded in it, but it's a DCL procedure, morally equivalent to
> Build.bat on Windows.  The value in $? is 1024 after system() returns.
>  The "invalid argument" error is spurious and is whatever was already
> there before the system() call.  I will dig a bit more tomorrow.  It
> wouldn't surprise me if whatever is the real trouble has been there
> awhile and has been hiding behind other reasons for failure (sorry not
> to drill down sooner).

Ah, right.

So on VMS the Build scripts become Build.com

cpanp-run-perl got added to all the IPC::Cmd calls in 0.32

0.32 Mon Jun  1 21:43:52 BST 2009
  - Removed generation of .output files
  - Fixed the setting of PERL5_CPANPLUS_IS_EXECUTING env var in 
    prepare. Spotted by Matt Trout
  - Added 'perlwrapper' to all perl calls. Spotted by Matt Trout.

Sync'd with blead as of e42df61ffa4b532a113a57b2965d347ce4da44b3 I think.

If it's a problem with the perlwrapper I'll conditionally remove it
for VMS.

Let me know and I'll sort it.

Cheers,

-- 
Chris Williams
aka BinGOs
PGP ID 0x4658671F
http://www.gumbynet.org.uk
==========================


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About