syphilis has asked for the wisdom of the Perl Monks concerning the following question:

Hi,
I'm running Windows XP (32-bit) on an AMD-64 box.
I have perl-5.8.8 built with dmake and the MinGW compiler. I have also built PDL from the latest CVS source. It built and installed without error, but there's an odd little quirk.

There's a test file in the 't' folder called 'flexraw.t', and every time that I run 'perl t\flexraw.t' I get the following output:
C:\_32\comp58_M\PDL>perl t\flexraw.t 1..29 ExtUtils::F77: Version 1.15 Loaded ExtUtils::F77 version 1.15 Found compiler g77.exe ExtUtils::F77: Using system=MSWin32 compiler=<undefined> ExtUtils::F77: Unable to guess and/or validate system/compiler configu +ration ExtUtils::F77: Will try system=Generic Compiler=G77 ExtUtils::F77: Validating -LC:/_32/MinGW/bin/../lib/gcc/mingw32/3.4.4/ +../../.. - L/usr/lib -lg2c -lm -LC:/_32/MinGW/bin/../lib/gcc/mingw32/3.4.4 -lgcc + [ok] ExtUtils::F77: Compiler: g77.exe ExtUtils::F77: Cflags: -O ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 ok 11 ok 12 ok 13 ok 14 ok 15 ok 16 ok 17 ok 18 ok 19 ok 20 ok 21 ok 22 gzip: C:\\DOCUME~1\\Rob\\LOCALS~1\\Temp\\tmprawdata: No such file or d +irectory ok 23 ok 24 ok 25 ok 26 ok 27 ok 28 ok 29

The output never varies, but every second time that I run 'perl t\flexraw.t' I get a pop-up box immediately after test 22 has been run and reported 'ok'. That pop-up box is entitled "16 bit MS-DOS Subsystem" and it contains the following info:
cmd.exe - perl t\flexraw.t The NTVDM CPU has encountered an illegal instruction CS:0540 IP::ffe8 OP:fe ff 00 01 fe Choose 'Close' to terminate the app +lication

Instead of choosing 'Close', I hit the 'Ignore' button - at which point the gzip error message gets printed to the console, and the remaining tests (23 and onwards) run successfully.

On a P-III box, with Windows 2000, the same version of perl, and the same version of PDL, there's no problem at all ... no mention of 'tmprawdata' being unfindable. (ie the output is essentially exactly the same, except the "gzip: ..." warning/error does not appear - and no pop-up ever appears.)

Any advice on where to start with this ? Seeing a "16 bit MS-DOS Subsystem" error box on a 64-bit box running a 32-bit OS just completely knocks the stuffing out of my brain.

Cheers,
Rob

Replies are listed 'Best First'.
Re: [OT] "16 bit MS-DOS Subsystem" pop-up error box
by Corion (Patriarch) on Jan 20, 2007 at 12:34 UTC

    You are using some weirdo 16-bit version of gzip.exe and/or have a cygwin library conflict.

      and/or have a cygwin library conflict

      Aaah ... I was indeed using Cygwin's gzip. I've now installed the GNUWin32 version (available from http://gnuwin32.sourceforge.net/packages.html) and the problem goes away.

      Should've known better than to try and make use of Cygwin. Thanks, Corion.

      Cheers,
      Rob