-
Notifications
You must be signed in to change notification settings - Fork 14
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
Can't install ruby-minisat gem locally on OS X #2
Comments
I can't install, either.
Doesn't find installed minisat for some reason. |
Thank you for the report. Looks minisat's unfixed issue. Please use gcc instead of clang. Did it really fail? |
Hi @mame unfortunately I still get the same error even after installing and using gcc. Is there something am missing or not reading correctly? |
I'm not famliar with os x, but If you got exactly the same error, you are using clang. The style of error log is clang's, not gcc's. On my Ubuntu box, g++ succeeded to compile minisat as follows:
and clang failed the same way as you.
|
I see. So is there a way to specify the compiling option for a ruby gem when doing a gem install? Looking up options and can't seem to find any sadly. |
ruby-minisat uses So if you need ruby-minisat soon, please rebuild and reinstall ruby. I think Now I think it would be good for ruby-minisat to have the way to specify the compiler. But sorry I have no time to fix it soon. |
Okay. Thanks for the pointers. I will look for a work around and if it fails then I will install ruby again and see if it works. |
+1 for fix |
This issue should be fixed in the upstream of minisat. I have no thought of patching the bundled source of minisat. All I can do is allow you to choose the C compiler. |
This is still a problem on OS X. |
I've now released ruby-minisat 2.2.0.1 with #3 merged. I guess it builds on macOS. If not, let me know. Sorry for leaving this issue untouched. |
Excellent, it works! Thank you for all your efforts in fixing and responding to this issue @mame. Highly appreciated! |
I get the following error when trying to install the gem. The error points to the
Solver.h
file. Where am I missing it?The text was updated successfully, but these errors were encountered: