Closed coding-bunny closed 1 year ago
The error message says:
/opt/include/libxml2,/opt/local/include/libxml2,/usr/local/include/libxml2,/usr/include/libxml2,/usr/local/include...
no
checking for xmlParseDoc() in -lxml2... no
checking for xmlParseDoc() in -llibxml2... no
So the libxml libraries are not being found. Perhaps the way Ruby 2.5 was compiled changes its default search path for headers? Try manually specifying the '--with-xml2-include' option.
Hello,
I'm running into something weird with this gem on Ruby 2.5 specifically. Here at work we build gems against multiple versions of Ruby to handle legacy requirements, and it seems that the gem has issues finding its dependencies on Ruby 2.5 specifically.
We build against the following versions:
And on all versions, the gem is being build correctly using Appraisal except 2.5:
When looking at the other Ruby versions, they all install without problem. All the containers are identical when it comes to installed packages, the only difference is the installed Ruby version.