JRuby fails to install mysql gem - mkmf - no support for native extensions
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
Sorry, you can't reply to this topic. It has been closed.
© 1995-2008 MySQL AB, 2008- Sun Microsystems, Inc.