From: Heesob Park Date: 2010-10-26T22:12:15+09:00 Subject: Re: Can't get ruby serial port to work Hi, 2010/10/26 Dd Dd > > Anyway, does anyone have any idea what the problem might be?  It says > that one problem might be a lack of libraries or headers.  I think it > failed when it reached this point: checking for termios.h... no > *** extconf.rb failed *** > > I know that the termios.h fileis associated with UNIX specifically for > serial port operations.  It seems to be different in Windows, but Ruby > doesn't seem to detect the equivalent file. > > Also, do I need to download C to get Ruby to work?  Thanks. > According to the document at project's homepage(http://ruby-serialport.rubyforge.org/) "It support POSIX (Linux, *BSD, Solaris, AIX, Mac OS X), Cygwin and native Windows. The native Windows version of this library supports Microsoft‘s Visual C++ and Borland‘s C++ compilers." You cannot build and install ruby-serialport with MinGW Development Kit. And even worse, the current ruby-serialport 0.7.0 is not compatible with Ruby 1.9.x There is another patched ruby-serialport(http://github.com/hparra/ruby-serialport) And you can install it like this gem install serialport The whole story is here http://www.ruby-forum.com/topic/203540 Regards, Park Heesob