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