I installed the developer, but still can’t get the serial port to work.
I still get the following:
ruby 1.9.2p0 (2010-08-18) [i386-mingw32]
C:\Users\Deepak>sudo gem install ruby-serialport
‘sudo’ is not recognized as an internal or external command,
operable program or batch file.
C:\Users\Deepak>gem install ruby-serialport
Temporarily enhancing PATH to include DevKit…
Building native extensions. This could take a while…
ERROR: Error installing ruby-serialport:
ERROR: Failed to build gem native extension.
checking for OS… mingw
checking for termios.h… no
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Provided configuration options:
Gem files will remain installed in
ems/ruby-serialport-0.7.0 for inspection.
Results logged to
I don’t know what to do.