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
v1.12.0 installation failure on FreeBSD 13/ruby 3.0.2 #2298
Comments
Hopefully, this is just a simple dependency issue but I installed all the dependencies listed. The version of Nokogiri in /usr/ports is for ruby 2.7.4. |
@caponecicero Thanks for reporting this. I need to spend a bit more time to try to reproduce this, but based on a quick scan, it looks like |
Thanks. That got me moving forward again. |
OK, key lines from the install log are here:
even more specifically:
I just reproduced this in a VM, trying to diagnose now. |
Without looking, I'm going to guess that it's a difference between BSDMake and GNUMake. |
Sigh, I concur. The line in question is
which is very much a Gnu-ism. |
It's a shame BSDMake and GNUMake are essentially incompatible, but it's been that way forever (for an appropriate value of forever). Is there a way to do this entirely via |
@stevecheckoway Yup, I'm going to move this config into |
Actually, since 5c6f7c1 started passing |
The wildcard and patsubst functions, as well as $^, don't work in BSD make. Let's just inline everything to make it simple and portable. Related to #2298
PR fix is #2299, currently going through CI. |
The wildcard and patsubst functions, as well as $^, don't work in BSD make. Let's just inline everything to make it simple and portable. Related to #2298
Fix is merged, will cut a v1.12.1 release shortly. |
v1.12.1 has been released: https://github.com/sparklemotion/nokogiri/releases/tag/v1.12.1 |
Have you read and followed the installation tutorial at http://www.nokogiri.org/tutorials/installing_nokogiri.html?
mkmf.log
What is the complete output of
gem install
orbundle install
?If installation completed but is broken, what is the complete output from
nokogiri -v
?If installation failed during compilation, what are the complete contents of the
mkmf.log
file generated during the failed installation?Tell us about your system!
What is the output from
ruby -v
?What is the output from
gem -v
?What is the output from
gem env
?If you're using Bundler:
bundle version
?bundle config
? (Take care to redact any credentials)If Linux or a BSD variant, please note:
uname -a
/etc/lsb-release
.The text was updated successfully, but these errors were encountered: