I've run into an 'interesting' issue when building some of my own XS
extensions - I've narrowed the issue somewhat, but am about at the limit
of my knowledge (or possibly already beyond it). Can anyone else
duplicate the problem?
My setup:
Win98
Perl 5.8.7 Activestate build 813
MingW (gcc 2.3.2, win32api 3.6, runtime 3.9)
ExtUtils::FakeConfig V0.06
Steps to invoke problem:
(1) run: h2xs -A -n SomeModule
(2) cd into the created SomeModule directory
(3) run the incantation:
perl -MConfig_m Makefile.PL
nmake
nmake test
Generally this works fine, and the (one) test passes, but if
'SomeModule' is 'DropFile' or 'DropFiles' I get the following test
result (re-formatted for readability:
C:\Perl\5.8.7\bin\perl.exe "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib\lib', 'blib\arch')" t\DropFiles.t
# Failed test (t\DropFiles.t at line 9)
# Tried to use 'DropFiles'.
t\DropFiles....NOK 1#
Error: Can't load
'C:\WINDOWS\Desktop\xs_test\DropF\DropFiles\blib\arch/auto/DropFiles/DropFiles.dll'
for module DropFiles: load_file:The operation completed successfully at
C:/Perl/5.8.7/lib/DynaLoader.pm line 230.
# at (eval 3) line 2
# Compilation failed in require at (eval 3) line 2.
# BEGIN failed--compilation aborted at t\DropFiles.t line 9.
# Looks like you failed 1 test of 1.
t\DropFiles....dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 1
Failed 1/1 tests, 0.00% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t\DropFiles.t 1 256 1 1 100.00% 1
Failed 1/1 test scripts, 0.00% okay. 1/1 subtests failed, 0.00% okay.
It's an odd error message! The problem disappears if I compile with
VC6, making me think in more likely to be a MinGW issue, but I'd like to
be able to build with MinGW without choosing a different module name.
Any suggestions on where to go next appreciated. Thanks for your time.
Regards,
Rob.
--
Robert May
Win32::GUI, a perl extension for native Win32 applications
http://perl-win32-gui.sourceforge.net/
_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs