The find_perl() problem of Win9X not understanding 2>&1 has finally been
solved in the latest development snapshot of MakeMaker. This was causing
the spurious "File creation error" messages from Makefile.PL.
It can be gotten from makemaker.org and will be in 6.06.
On Tue, Jul 09, 2002 at 09:48:00AM +0100, [EMAIL PROTECTED] wrote:
> While looking at a problem building ext/Devel/DProf, I saw that a
> file called &1 was created by MakeMaker. I protected it and ran
> in the debugger. The relevant extract is:
>
> DB<8> n
> ExtUtils::MM_Win32::find_perl(C:\perl-5.8.0RC2\win32\..\lib/ExtUtils/MM_Wi
> n32.p
> m:130):
> 130: $val = `$safe_abs -e "require $ver;" 2>&1`;
> DB<8> n
> File creation error
> ExtUtils::MM_Win32::find_perl(C:\perl-5.8.0-RC2\win32\..\lib/ExtUtils/MM_W
> in32.
> pm:131):
> 131: if ($? == 0) {
<snip>
> This is a problem because the W9X "shell" COMMAND.COM does not
> support the backtick operation nor redirections more complicated
> than the simplest < and > operators.
--
Michael G. Schwern <[EMAIL PROTECTED]> http://www.pobox.com/~schwern/
Perl Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One
Good tidings, my native American Indian friend! America will soon again
be yours! Please accept 5th Avenue as an initial return!