Hi guys,

Ive been trying to install the gem, ruby-serialport but having troubles
with it on windows. I have installed the Devkit but no luck with
installing the serialport. I have seen a few people having similar
problems but haven't found a solution.


C:\Ruby192\bin>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.

        C:/Ruby192/bin/ruby.exe extconf.rb
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:
        --with-opt-dir
        --without-opt-dir
        --with-opt-include
        --without-opt-include=${opt-dir}/include
        --with-opt-lib
        --without-opt-lib=${opt-dir}/lib
        --with-make-prog
        --without-make-prog
        --srcdir=.
        --curdir
        --ruby=C:/Ruby192/bin/ruby

Gem files will remain installed in
C:/Ruby192/lib/ruby/gems/1.9.1/gems/ruby-serialport-0.7.0 for
inspection.
Results logged to
C:/Ruby192/lib/ruby/gems/1.9.1/gems/ruby-serialport-0.7.0/ext/gem_make.out


Help will be much appreciated!! Thanks

-- 
Posted via http://www.ruby-forum.com/.