J
Jim Keenan
This posting does not concern Perl code. It concerns the use of 'nmake' to
install a Perl module on a Windows98 system. If you deem this off-topic or
want to rant about why I am still using a Win98 box, stop reading here.
I have developed a number of Perl modules in a Linux environment using the
standard MakeMaker approach. Once these modules have been tested and
installed on Linux, I send the tarball to my Win98 box and repeat the
process with 'nmake' (v1.50). Heretofore, have never had any difference in
results, and two of these modules have been uploaded to CPAN where they
passed all tests on both *nix and Windows.
Tonight I followed the same procedure with a new module. Everything fine on
Linux. On Windows, when I called 'nmake test', I got a screen full of
warning messages and indications that most of the tests failed. But I
couldn't get a clear reading on the errors, because the DOS-prompt doesn't
permit me to scroll backwards far enough.
I got this far with the previous version of the module a couple of days ago.
For fun, I went ahead and called 'nmake install' -- and the module installed
correctly!
Tonight I tried a different approach. I shifted to the Cygwin BASH prompt
after calling 'perl Makefile.PL' and 'nmake'. I then called 'nmake test' --
and this time all 200 tests passed, just as they had done on Linux! I then
proceeded to 'nmake install', which, as before, proceeded correctly.
So has anyone seen this problem before? 'nmake test' gives 1 (wrong) result
from the DOS-prompt and a different (correct) result from the Cygwin
BASH-prompt.
Jim Keenan
install a Perl module on a Windows98 system. If you deem this off-topic or
want to rant about why I am still using a Win98 box, stop reading here.
I have developed a number of Perl modules in a Linux environment using the
standard MakeMaker approach. Once these modules have been tested and
installed on Linux, I send the tarball to my Win98 box and repeat the
process with 'nmake' (v1.50). Heretofore, have never had any difference in
results, and two of these modules have been uploaded to CPAN where they
passed all tests on both *nix and Windows.
Tonight I followed the same procedure with a new module. Everything fine on
Linux. On Windows, when I called 'nmake test', I got a screen full of
warning messages and indications that most of the tests failed. But I
couldn't get a clear reading on the errors, because the DOS-prompt doesn't
permit me to scroll backwards far enough.
I got this far with the previous version of the module a couple of days ago.
For fun, I went ahead and called 'nmake install' -- and the module installed
correctly!
Tonight I tried a different approach. I shifted to the Cygwin BASH prompt
after calling 'perl Makefile.PL' and 'nmake'. I then called 'nmake test' --
and this time all 200 tests passed, just as they had done on Linux! I then
proceeded to 'nmake install', which, as before, proceeded correctly.
So has anyone seen this problem before? 'nmake test' gives 1 (wrong) result
from the DOS-prompt and a different (correct) result from the Cygwin
BASH-prompt.
Jim Keenan