-
-
Notifications
You must be signed in to change notification settings - Fork 902
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
Cannot build on FreeBSD 12 #1941
Comments
@theirix Hi! Thanks for posting this, and sorry to hear you're having trouble. I'd like to try to isolate whether this is an issue with libxml2.9.10-on-freebsd-12 or if it's a more general problem of libxml2-on-freebsd-12 or nokogiri-on-freebsd-12. Can you try to do one or both of these things, please:
Thanks in advance for your help diagnosing what's going on. |
@flavorjones , thanks for the instructions! I'll return with results from a fresh FreeBSD installation. |
Tried with a clean FreeBSD 12, seems strange. Reproduce steps:
freebsd: FreeBSD bazinga.localdomain 12.0-RELEASE FreeBSD 12.0-RELEASE r341666 GENERIC amd64
|
Sorry for the delay in replying here, will take a look. |
OK, I've totally reproduced this now, thanks for your help. Unfortunately I don't know how to fix this! The same issue comes up if I check out (upstream) libxml2 and try to compile it. I'm wondering if someone who understands freebsd better than me can try to get it working? I've spent about an hour on this and haven't made any progress. Maybe @nurse has some time to take a look? |
I also reproduced on FreeBSD 11 and it looks because of the difference of GNU make and BSD make ...? And #1953 also fix this |
Shipped in v1.10.6 just now. @theirix please let us know how you get on? |
Works perfectly now, thanks for the quick fix! GNU/BSD differences can be unexpected and very annoying. |
I've finally gotten around to proposing a fix upstream in libxml2: Makefile.am: omit $(top_builddir) from DEPS and LDADDS (!232) · Merge requests · GNOME / libxml2 · GitLab |
Woo! Patch has been accepted upstream. The next minor release of libxml will allow us to delete the patch from Nokogiri. |
Just a note to close the loop: libxml2 v2.13.0 no longer needs the patch, and I'm removing it in #3230 |
Have you read and followed the installation tutorial at http://www.nokogiri.org/tutorials/installing_nokogiri.html?
Yes.
What is the complete output of
gem install
?What are the complete contents of the
mkmf.log
file generated during the failed installation?What operating system are you using?
FreeBSD 12
uname -a:
gem env:
cc -v
The text was updated successfully, but these errors were encountered: