Issue Details (XML | Word | Printable)

Key: JRUBY-1036
Type: Bug Bug
Status: Closed Closed
Resolution: Won't Fix
Priority: Major Major
Assignee: Charles Oliver Nutter
Reporter: Randy Bias
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
JRuby

mkmf.rb missing from core in JRuby 1.0.0RC2

Created: 30/May/07 08:53 PM   Updated: 23/Apr/08 10:07 AM   Resolved: 30/May/07 08:57 PM
Return to search
Component/s: Core Classes/Modules
Affects Version/s: JRuby 1.0.0RC2
Fix Version/s: None

Time Tracking:
Not Specified

Environment: N/A


 Description  « Hide

mkmf.rb is missing from JRuby 1.0.0RC2. I don't know if this is intentional or not, but it blocks installing the mysql gem. It appears to be have been taken out as part of the bug JRUBY-515. I am new to JRuby so perhaps installing this mysql gem is the wrong idea, but I don't understand why mkmf would be pulled. As far as I can tell there isn't any particular reason mkmf shouldn't work.

Please close this if I'm wrong, but otherwise, mkmf should probably be in 1.0.0 if it's in 1.8.5.



Charles Oliver Nutter added a comment - 30/May/07 08:57 PM

mkmf is for creating C makefiles for Ruby extensions. Since we don't support running native (C-based) extensions in JRuby, we don't inclue mkmf. This does unfortunately mean that the C-based MySQL gem will not work, nor will other gems that include C code.

If you'd like to use MySQL on JRuby, you probably should look to ActiveRecord (with the ActiveRecord-JDBC connector), DBI (which will hopefully soon have support for JRuby), or just calling JDBC APIs directly.


Charles Oliver Nutter made changes - 30/May/07 08:57 PM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Assignee Charles Oliver Nutter [ headius ]
Resolution Won't Fix [ 2 ]
Charles Oliver Nutter made changes - 23/Apr/08 10:07 AM
Status Resolved [ 5 ] Closed [ 6 ]