Attempts to install ffi on jruby #30

Closed
roja opened this Issue Feb 10, 2010 · 6 comments

Comments

Projects
None yet
2 participants
@roja

roja commented Feb 10, 2010

The current GEM attempts to install ffi on jruby thus causing the install to fail.

@roja

This comment has been minimized.

Show comment
Hide comment
@roja

roja Feb 10, 2010

braeburn:words roja$ sudo gem install rufus-tokyo
Building native extensions. This could take a while...
ERROR: Error installing rufus-tokyo:
ERROR: Failed to build gem native extension.

/Users/roja/.rvm/rubies/jruby-1.4.0/bin/jruby extconf.rb
WARNING: JRuby does not support native extensions or the mkmf' library. Check wiki.jruby.org for alternatives. extconf.rb:4: undefined methoddir_config' for main:Object (NoMethodError)

Gem files will remain installed in /Users/roja/.rvm/gems/jruby-1.4.0/gems/ffi-0.6.0 for inspection.
Results logged to /Users/roja/.rvm/gems/jruby-1.4.0/gems/ffi-0.6.0/ext/ffi_c/gem_make.out
braeburn:words roja$ sudo gem install ffi
Building native extensions. This could take a while...
ERROR: Error installing ffi:
ERROR: Failed to build gem native extension.

roja commented Feb 10, 2010

braeburn:words roja$ sudo gem install rufus-tokyo
Building native extensions. This could take a while...
ERROR: Error installing rufus-tokyo:
ERROR: Failed to build gem native extension.

/Users/roja/.rvm/rubies/jruby-1.4.0/bin/jruby extconf.rb
WARNING: JRuby does not support native extensions or the mkmf' library. Check wiki.jruby.org for alternatives. extconf.rb:4: undefined methoddir_config' for main:Object (NoMethodError)

Gem files will remain installed in /Users/roja/.rvm/gems/jruby-1.4.0/gems/ffi-0.6.0 for inspection.
Results logged to /Users/roja/.rvm/gems/jruby-1.4.0/gems/ffi-0.6.0/ext/ffi_c/gem_make.out
braeburn:words roja$ sudo gem install ffi
Building native extensions. This could take a while...
ERROR: Error installing ffi:
ERROR: Failed to build gem native extension.

@jmettraux

This comment has been minimized.

Show comment
Hide comment
@jmettraux

jmettraux Feb 10, 2010

Owner

So I guess, I will remove the dependency on ffi and then let the regular ruby users complaints go to you.

Owner

jmettraux commented Feb 10, 2010

So I guess, I will remove the dependency on ffi and then let the regular ruby users complaints go to you.

@jmettraux

This comment has been minimized.

Show comment
Hide comment
@jmettraux

jmettraux Feb 10, 2010

Owner

removed hard dependency on ffi so that JRuby installs stop failing. Closed by bdd2ead.

Owner

jmettraux commented Feb 10, 2010

removed hard dependency on ffi so that JRuby installs stop failing. Closed by bdd2ead.

@jmettraux

This comment has been minimized.

Show comment
Hide comment
@jmettraux

jmettraux Feb 10, 2010

Owner

rufus-tokyo 1.0.7 out.

Owner

jmettraux commented Feb 10, 2010

rufus-tokyo 1.0.7 out.

@roja

This comment has been minimized.

Show comment
Hide comment
@roja

roja Feb 10, 2010

lol... Well, doubtless there is a nice way to make the gem detect it's installation platform? Much appreciate the the quick work though!

roja commented Feb 10, 2010

lol... Well, doubtless there is a nice way to make the gem detect it's installation platform? Much appreciate the the quick work though!

@jmettraux

This comment has been minimized.

Show comment
Hide comment
@jmettraux

jmettraux Feb 10, 2010

Owner

you're welcome, though dependencies are managed via rubygems, which has [currently] no conditional declaration mecha. I had added the dep because people complained. Preventing non-installation has priority, so here we go, removed.

Cheers,

Owner

jmettraux commented Feb 10, 2010

you're welcome, though dependencies are managed via rubygems, which has [currently] no conditional declaration mecha. I had added the dep because people complained. Preventing non-installation has priority, so here we go, removed.

Cheers,

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment