--- Sisyphus wrote:
>
> ----- Original Message -----
> From: "robert johnson"
>
> >
> > Rob, Bill,
> >
> > Ive installed Risacher's patched Win32::API as Rob suggested, and tried
> > again to install Win32::SerialPort in my cygwin build. however, it
> > (Win:Ser) still fails all tests.
> >
> > [EMAIL PROTECTED] ~/SerialPort-0.19
> > $ perl test.pl
> > t/test1....dubious
> >
> > Test returned status 0 (wstat 139, 0x8b)
> > test program seems to have generated a core
> > DIED. FAILED tests 1-275
> > Failed 275/275 tests, 0.00% okay
> >
> > (... ditto each test group ...)
> >
> > Failed 7/7 test scripts, 0.00% okay. 1749/1749 subtests failed, 0.00%
> >
> > any suggestions?
>
> I'm a little concerned that perhaps you didn't install Win32::API correctly.
> Can you confirm that you built and installed Win32::API by running (in
> succession):
> perl Makefie.PL
> make test
> make install
youre right. during the make there were several warnings.
API.c: In function `XS_Win32__API_LoadLibrary':
API.c:90: warning: cast from pointer to integer of different size
API.c: In function `XS_Win32__API_GetProcAddress':
API.c:102: warning: cast to pointer from integer of different size
API.c: In function `XS_Win32__API_FreeLibrary':
API.c:121: warning: cast to pointer from integer of different size
API.xs: In function `XS_Win32__API_PointerAt':
API.xs:171: warning: cast to pointer from integer of different size
API.xs: In function `XS_Win32__API_Call':
API.xs:217: warning: cast to pointer from integer of different size
and it failed 1 out of 2 tests.
t/test....FAILED test 2
> Afaict, the first test in SerialPort test1.t simply tries to load
> Win32::SerialPort ..... and that "generated a core", which makes me suspect
> that there's something wrong with Win32::API.
>
> As another check, does the following script simply print "done", and then
> exit:
>
> use Win32::API;
> print "done\n";
> __END__
right again: Sementation Fault. core dumped.
Yahoo! Mail
Stay connected, organized, and protected. Take the tour:
http://tour.mail.yahoo.com/mailtour.html
_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs