C extensions are enabled
rbglib_messages.c: In function ‘rbglib_log_handler’:
rbglib_messages.c:66:37: error: ‘ruby_sourcefile’ undeclared (first use in this function)
rbglib_messages.c:66:37: note: each undeclared identifier is reported only once for each function it appears in
rbglib_messages.c:66:54: error: ‘ruby_sourceline’ undeclared (first use in this function)
make: *** [rbglib_messages.o] Error 1
Looks like the real problem is JRuby doesn't support rb_sourceline() and rb_sourcefile(), which glib2 uses for some of its logging. We can fake them fairly easily.
Unless you are installing a package that explicitly depends on the cext based glib2/gnome2 stack, I would recommend investigating https://github.com/mvz/ruby-gir-ffi - that uses FFI to do the bindings from glib/gtk2+, etc and will work on future versions of JRuby (and MRI of course).
Fake cext rb_sourcefile(), rb_sourceline(), ruby_sourcefile. Fixes #467.
hi, i'm installing some math gems. If I install the jruby-head from rvm do i get this last commit?
I would assume so. Best way to find out is to try it.