--- Sisyphus wrote:
>
> ----- Original Message -----
> From: "robert johnson"
> >
> > So, now my question becomes trivial. How do I get Win32::SerialPort
> towork
> > under cygwin? i tried installing this module but it dies miserably during
> the
> > make. I therefore assumed it was incompatable with cygwin. I've
> installed it
> > (win32:serial) and had it working just fine on my "normal" Windows perl
> build.
> > Sorry for all the hand-holding, I'm feeling pretty incompetent about now.
> >
>
> Installing the module is just a matter of running 'perl install.pl' (on the
> version I have, at least). If that
> doesn't work then you could manually copy the 2 '.pm' files to the
> appropriate perl folder.
>
> I expect the real problem will be that you don't have the prerequisite
> Win32::API - which used not to build straight out of the box on Cygwin, and
> I assume still doesn't. There is a version of Win32::API around somewhere
> that *does* build on Cygwin. I used to have it and may still do. See if you
> can Google it up - else, let me know, and I'll see if I can find it. (The
> only problem with Aldo's version of Win32::API is/was that the assembly code
> is/was written for MS compilers - and for Cygwin you need assembly code that
> gcc understands.)
>
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% okay.
any suggestions?
thanks, rob
> Just checked and managed to find the Cygwin-compatible versions of API-0.20
> and 0.21. The gas assembly code was added by Daniel Risacher
> <[EMAIL PROTECTED]> . He may have something more recent if you want to
> check up on Google (or contact him) - though either of those 2 versions that
> I have should be quite adequate for Win32::SerialPort. Let me know if you
> want me to send 'em over.
>
>
> Cheers,
> 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
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs