Subject:
Re: [ruby-ffi] 1.2.0.pre6 testing
From:
Wayne Meissner
Date:
11/14/12 3:24 PM
To:
ruby-ffi@googlegroups.com



On Wednesday, 14 November 2012 15:17:19 UTC+11, Jon wrote:

While I never install ffi this way, jruby+bundler on Win7 32bit with JRuby 1.7.0 ended up in Wile E. flames trying to build the C ext due to my scheming:

C:\Users\Jon\Downloads\temp\ffi-java>type Gemfile
source :rubygems
gem 'ffi', '1.2.0.pre6', :platforms => :jruby

C:\Users\Jon\Downloads\temp\ffi-java>bundle install
Fetching gem metadata from http://rubygems.org/...........
Fetching gem metadata from http://rubygems.org/..
Installing ffi (1.2.0.pre6) with native extensions
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
 
Hmm.  When installing on something that is not MRI, extconf.rb generates a dummy Makefile.  I suspect on win32, the dummy Makefile isn't quite correct.  Can you investigate this one a bit more (look right at the bottom of ext/ext_c/extconf.rb)?  It could be something as simple as \r\n vs \n line termination.

I can continue to publish the ffi-java gem, but, I want to get rid of it in the long term.