From: Osuka Adartse Date: 2004-02-06T11:46:38+09:00 Subject: Re: ruby-serialport on Win32 Mauricio Fern�ndez wrote: > On Thu, Feb 05, 2004 at 09:55:04PM +0900, Stephan K�mper wrote: > >>Did that too. Up to running "make install" in the ruby directory >>everything went fine. >>Anyway, I apparently made a mistake (I think) since I have to set some >>include paths explicitly, since otherwise neither 'mkmf' nor 'rbconfig' >>are found. Any ideas? Is there anything special to running 'make >>install' on MinGW that I missed? > > > I don't know if that's the reason, but I was running this all in MSYS > (just to keep it completely separated from cygwin so that I wouldn't run > the wrong ruby binary). I only remember setting the PATH to > $prefix/bin/ruby ($prefix being where Ruby was installed). > > >>I assume you're running these inside the ruby-serialport directory. >>Doing this I get: >> >>$ /ruby.exe -I /lib -I >>extconf.rb >>checking for OS... mingw >>checking for termios.h... no > > > This might be included in MSYS, in case you haven't installed it > already. It should be there since the machine I tested this on had no > other dev. tools (except cygwin's env. which was completely separated) > and I had no problem compiling this AFAIR. > No, stock mingw/msys/msysdtk doesn't include termios.h, so it'll fail to compile, exactly as above.