Garreau Alexandre:
Le samedi 06 juillet 2013 à 22:19 +0200, Lunar a écrit :
Garreau Alexandre:
As I've said, I use Debian GNU/Linux Wheezy on my server. I've installed ruby-dev, but that didn't fixed the problem: same error.
Buildig nokogiri requires libxml2-dev and libxslt-dev. Installing those two packages should fix the issue. At least it did in a fresh live Wheezy system.
I have updated the INSTALL documentation accordingly, thanks for the report.
Good :)
But, even installing libxml2-dev and libxslt-dev, it still doesn't work :/ […] xml_xpath_context.c:184:3: error: format not a string literal and no format arguments [-Werror=format-security] cc1: some warnings being treated as errors make: *** [xml_xpath_context.o] Erreur 1
I am sorry but I can't reproduce this. IIRC, this issue has been fixed in a more recent release of nokogiri.
I'll take care of updating the bundle before the next release, but it probably won't happen before at least a few weeks.
In the meantime, feel free to experiment with updating the bundle yourself.