--- Sisyphus wrote:
> 
> ----- Original Message ----- 
> From: "robert johnson" 
> 
> >
> > 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
> >
> 
> They shouldn't matter.
> 
> > and it failed 1 out of 2 tests.
> > t/test....FAILED test 2
> >
> 
> I think that might just be a poorly constructed test (also note that there's
> no segfault during the running of the tests - which is a good sign.)
> 
> In test.t, at the very last line, change /TEMP/, to /TEMP/i . Hopefully that
> will then pass the test. In any case, have test.t print out $lpbuffer so
> that you can see that it does in fact contain the name of the temporary
> directory.

ok, that fixes the test error, but its still not working.  Heres what Im doing:

perl Makefile.PL
    writes the Makefile

make
    seems to work okay, except for the warnings that i noted above.

make test
    now it passes both tests, after modifying test.t as you suggested.  
    BUT, it does not print $lpbuffer, even though i put a line to do so.
    my entire line (print "lpbuffer: $lpbuffer\n";) is just ignored (?!)

make install
    appears to install correctly.

Installing /usr/lib/perl5/site_perl/5.8/cygwin/auto/Win32/API/API.dll
Installing /usr/lib/perl5/site_perl/5.8/cygwin/auto/Win32/API/libAPI.dll.a
Files found in blib/arch: installing files in blib/lib into architecture
dependent library tree
Writing /usr/lib/perl5/site_perl/5.8/cygwin/auto/Win32/API/.packlist
Appending installation info to /usr/lib/perl5/5.8/cygwin/perllocal.pod

now when i run your simple test script, it still returns
    Sementation Fault.  core dumped

and when i attempt to run the test.t in perl:
    $ perl t/test.t 
    1..2
    Segmentation fault (core dumped)

i have no idea what to do.

thanks again,
rob




                
__________________________________ 
Yahoo! Mail Mobile 
Take Yahoo! Mail with you! Check email on your mobile phone. 
http://mobile.yahoo.com/learn/mail 
_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to