Skip navigation links

MySQL Forums


Advanced Search

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 Birgit Arkesteijn 07/16/2008 07:12AM
Re: JRuby fails to install mysql gem - mkmf - no support for native extensions Young Joo Kim 11/26/2008 11:59PM
Re: JRuby fails to install mysql gem - mkmf - no support for native extensions Arun Gupta 01/19/2009 02:01AM


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