Open langhorst opened 11 years ago
Yes, this is a known issue. Please provide a patch or ask the rubinius people how to fix that. I need rb_funcall_passing_block
. Ruby 1.8 is also unsupported because of that.
I'd love to provide a patch, but I know very little about writing C extensions for Ruby. Maybe it's time to learn. I'll ask around and try to get it fixed. Thanks for the comment!
@minad, what are your thoughts on an FFI version? Could an FFI-based approach solve the compatibility issues around 1.8 and Rubinius?
FFI version would be great.
I'm actually seeing this same error trying to install the gem against MRI Ruby 2.3 on Fedora 25.
Full Ruby Version: ruby 2.3.3p222 (2016-11-21 revision 56859) [x86_64-linux]
I also get the same error if I install from the latest source.
I was able to get it to compile just by removing the ifndef.
https://github.com/MarcoPeraza/lmdb/commit/d7ef1d01f16267e653650c6c7809ad0a2d8a1aee
It seems to work fine.
I attempted to install the lmdb gem on a fresh install of Rubinius through RVM without success. For this build, I created a new gemset in RVM for freshness. Any plans to support compiling lmdb with Rubinius?