New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gem fails to compile #55
Comments
hmmm I'm gonna assume that's reeeally old. One moment, I haven't looked at this in a while. |
I just successfully compiled on 2.7.0 on Ubuntu 20.04 and 3.0.1 on macOS. It looks like your Is it possible to see what your Also since I've taken over maintenance of this gem, can you try building my fork? |
Same thing from your fork, I'm afraid. It's entirely possible that this is on me; I very rarely use Ruby and I'm going by guesswork and google for how to build gems. Here's a log of what I did, how it failed, and what's in extconf.rb and extconf.h : |
hm, as predicted those defines are missing. eeeeeenteresting. |
I can try to recreate it in a Fedora VM, just to rule out any weird local variations? |
If |
actually, what is |
Got somebody on Freenode to reproduce on Fedora with 3.0.1; inclined to chalk this up as a Fedora problem. Something is messing with the execution of that |
Hi. Using ruby 2.7.2 on Fedora 33, both "gem install lmdb" and a git clone / bundle exec rake fails with very similar errors:
As far as I can tell, this is this block in lmdb_ext.c , starting at line 169:
Just removing the entire ifdef and uncritically using the #else version seems to work for me, but I assume it's there for a reason.
The text was updated successfully, but these errors were encountered: