From: "Mauricio Fernández" Date: 2004-02-06T20:13:32+09:00 Subject: Re: ruby-serialport on Win32 On Fri, Feb 06, 2004 at 06:45:04PM +0900, Stephan K�mper wrote: > >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 > > I did install MSYS and the MSYSDTK as mentioned above. So I guess that > your MinGW gets termios.h from somewhere else, probably CygWin or > whatever other compiler you have installed (or available via environment > variables). The only compilers I had on that machine were Cygwin & MSYS, but I don't think Cygwin was 'contaminating' MSYS since I ran them separately (and were not sharing ENV vars). Maybe I'm just being silly and it didn't compile, although I am positive I noticed the difference concerning #read; actually because #read blocked on MSYS' version and not on Cygwin I thought that build was broken and used win32serial instead (actually rewriting it & just copy-pasting the Win32 API calls). It was only later that I realized I should have been using #sysread from the beginning. > >other dev. tools (except cygwin's env. which was completely separated) > >and I had no problem compiling this AFAIR. > > Well, I'll try get around with Nobu's pathch (Thanks Nobu!) or try > CygWin then. If you compile with Cygwin you have to use Cygwin's ruby too. I'd consider that if you don't need the extensions bundled with the single click installer. -- _ _ | |__ __ _| |_ ___ _ __ ___ __ _ _ __ | '_ \ / _` | __/ __| '_ ` _ \ / _` | '_ \ | |_) | (_| | |_\__ \ | | | | | (_| | | | | |_.__/ \__,_|\__|___/_| |_| |_|\__,_|_| |_| Running Debian GNU/Linux Sid (unstable) batsman dot geo at yahoo dot com The most important design issue... is the fact that Linux is supposed to be fun... -- Linus Torvalds at the First Dutch International Symposium on Linux