MySQL Forums
Forum List  »  Ruby

JRuby fails to install mysql gem - mkmf - no support for native extensions
Posted by: Birgit Arkesteijn
Date: July 16, 2008 07:12AM

Hi,

I'm using JRuby 1.1 in NetBeans 6.1 and MySQL 5.1.23
I fail to install the mysql gem, because JRuby doesn't support native extensions.

*** If I try it on the command line:
/opt/jruby-1.1.2/lib/ruby/1.8/mkmf.rb:7:in `/opt/jruby-1.1.2/lib/ruby/1.8/mkmf.rb': JRuby does not support native extensions. Check wiki.jruby.org for alternatives. (NotImplementedError)
from /opt/jruby-1.1.2/lib/ruby/1.8/mkmf.rb:1:in `require'
from extconf.rb:1
ERROR: Error installing mysql:
ERROR: Failed to build gem native extension.

/opt/jruby-1.1.2/bin/jruby extconf.rb install mysql


*** If I try it in NetBeans:
extconf.rb:1:in `require': no such file to load -- mkmf (LoadError)
from extconf.rb:1


I rather not install ruby.
Are there some C files I can download and compile.


Thanks, Birgit

Options: ReplyQuote


Subject
Written By
Posted
JRuby fails to install mysql gem - mkmf - no support for native extensions
July 16, 2008 07:12AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.