----- Original Message ----- 
From: "robert johnson" <[EMAIL PROTECTED]>

>
> 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.)

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

_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to