Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^3: Using Win32::SerialPort on Win7-64bit under 64-bit Strawberry Perl

by dasgar (Priest)
on May 02, 2014 at 15:40 UTC ( [id://1084801]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Using Win32::SerialPort on Win7-64bit under 64-bit Strawberry Perl
in thread Using Win32::SerialPort on Win7-64bit under 64-bit Strawberry Perl

I know that I personally have installed that module on 32-bit Strawberry Perl before.

Which version of Strawberry Perl are you using? You can verify which version you are using by running perl -v. If you can tell me which version you are using, I'd be willing to try installing Win32::SerialPort on that version to see if I can help you work through the issues.

  • Comment on Re^3: Using Win32::SerialPort on Win7-64bit under 64-bit Strawberry Perl
  • Download Code

Replies are listed 'Best First'.
Re^4: Using Win32::SerialPort on Win7-64bit under 64-bit Strawberry Perl
by gri6507 (Deacon) on May 02, 2014 at 16:37 UTC
    Here's what I have:
    This is perl 5, version 18, subversion 2 (v5.18.2) built for MSWin32-x +86-multi-thread-64int
    I am a bit surprised that it says "64int" in the build description. I just checked in my downloads folder - I installed from http://strawberryperl.com/download/5.18.2.2/strawberry-perl-5.18.2.2-32bit.msi
      I am a bit surprised that it says "64int" in the build description

      It's a 32-bit build of perl, but it does have 64-bit integers. (Advice provided earlier in this thread that such a perl is unavailable is wrong.)

      I suspect that it's perl's 64-bit integers that are creating your problem.
      If you go to http://strawberryperl.com/releases.html you'll see there's a without USE_64_BIT_INT portable edition that you can install anywhere you like.
      It will give you 32-bit integers - which will hopefully allow Win32::SerialPort to perform correctly, thereby proving that there's a bug in the 64-bit handling of Win32::SerialPort (which should be reported).

      Cheers,
      Rob
        Hello,

        just confirming that with the 32-bit version of Strawberry Perl without USE_64_BIT_INT portable version the Win32:SerialPort works fine.

        One issue I ran into was that the installer fails if you don't have a COM1 port on your system, but you can override this with

        perl Makefile.PL TESTPORT=COMx
        when building the Win32::SerialPort module.

        Regards, Hollie.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1084801]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-04-25 09:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found