in reply to Re^3: Win32::SerialPort - compilation failed in require
in thread Win32::SerialPort - compilation failed in require

Device::SerialPort is an API compatible version of Win32::SerialPort for use on Unix systems.

You'll need to change any references to Device::SerialPort to Win32::SerialPort.

You also may wish to look at Platform-independent Serial Port code


TGI says moo

  • Comment on Re^4: Win32::SerialPort - compilation failed in require

Replies are listed 'Best First'.
Re^5: Win32::SerialPort - compilation failed in require
by Anonymous Monk on May 07, 2007 at 18:03 UTC
    I tried both of these and am still receiving the same problems.

      Are you sure?

      Try running this from a dos command prompt:

      perl -MWin32::SerialPort -e "print 'OK'"

      If this code prints 'OK' then Win32::SerialPort is installed on your system. Double check your sample script.

      If you get an error message, you may need to reinstall the serial port module. Post the error message.


      TGI says moo