From: Dominic Sisneros Date: 2008-11-05T02:04:35+09:00 Subject: Re: [ANN] FFI 0.1.1 (Foreign Function Interface) for Ruby 1.8.6/7 and 1.9 ------=_Part_70969_21856020.1225818370745 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline > > On windows, I can't get it to work for jruby or ruby C:\jruby-1.1.5>jruby -v jruby 1.1.5 (ruby 1.8.6 patchlevel 114) (2008-11-03 rev 7996) [x86-java] C:\jruby-1.1.5>cd samples\ffi C:\jruby-1.1.5\samples\ffi>dir Volume in drive C has no label. Volume Serial Number is F4EA-F50A Directory of C:\jruby-1.1.5\samples\ffi 11/03/2008 05:04 PM . 11/03/2008 05:04 PM .. 11/03/2008 04:42 PM 301 ffi.rb 11/03/2008 04:42 PM 367 gettimeofday.rb 11/03/2008 04:42 PM 2,340 pty.rb 11/03/2008 04:42 PM 476 qsort.rb 11/03/2008 04:42 PM 2,078 win32api.rb 5 File(s) 5,562 bytes 2 Dir(s) 18,840,158,208 bytes free C:\jruby-1.1.5\samples\ffi>jruby win32api.rb null:1:in `const_missing': uninitialized constant POSIX::FFI (NameError) from ffi.rb:4 from ffi.rb:1:in `require' from win32api.rb:1 C:\jruby-1.1.5\samples\ffi> For MRI, it tries to compile C:\jruby-1.1.5\samples\ffi>gem install ffi Building native extensions. This could take a while... ERROR: Error installing ffi: ERROR: Failed to build gem native extension. c:/ruby/bin/ruby.exe extconf.rb install ffi creating Makefile nmake 'nmake' is not recognized as an internal or external command, operable program or batch file. Gem files will remain installed in c:/ruby/lib/ruby/gems/1.8/gems/ffi-0.1.1 for inspection. Results logged to c:/ruby/lib/ruby/gems/1.8/gems/ffi-0.1.1/ext/gem_make.out C:\jruby-1.1.5\samples\ffi> ------=_Part_70969_21856020.1225818370745--