From: Eduardo Aldaz-carroll Date: 2008-04-26T02:00:51+09:00 Subject: Help getting ruby-serialport to run in Windows XP Dear All I have not been able to make ruby-serialport in Windows XP. http://ruby-serialport.rubyforge.org/ I have looked hard in the web and forums and have not been able to find help, although i have found many people that have been equaly unsuccesful. It would be really great to have ruby-serialport work in Windows, it already works well in linux and cygwin (at least for me) I have succesfully compiled for windows following the excellent instructions in: http://blogs.law.harvard.edu/hoanga/2006/12/14/getting-a-ruby-c-extension-to-compile-on-windows/ It essential to read Part II) http://blogs.law.harvard.edu/hoanga/2006/12/19/getting-a-ruby-c-extension-to-compile-on-windows-part-2/ However no matter what i do when running the miniterm.rb example the program fails with: (eval):3:in `create': No such file or directory (Errno::ENOENT) from (eval):3:in `new' from miniterm.rb:11 I have painfully tracked (I think) the problem down to this part of the serialport.c code: rb_eval_string( "class SerialPort\n" "private_class_method(:create)\n" "def SerialPort::new(port, *params)\n" "sp = create(port)\n" <============ BREAKS HERE "begin\n" "sp.set_modem_params(*params)\n" (...) It would be great if someone more skilled could give me a hand with this, I have reached the limits of my (also limited) knowledge. Or even if someone could give me a compiled and working serialport.so for windows XP would probably be good enough. Thank you all Eduardo -- Posted via http://www.ruby-forum.com/.