Ubuntu 10.04
Ruby ruby 1.9.3p194 (2012-04-20 revision 35410) [i686-linux]
I need to install Nokogiri but the installation fails with an error that
follows.
Building native extensions. This could take a while...
ERROR: Error installing nokogiri:
ERROR: Failed to build gem native extension.
/home/soichi/.rvm/rubies/ruby-1.9.3-p194/bin/ruby extconf.rb
checking for libxml/parser.h... no
···
-----
libxml2 is missing. please visit
http://nokogiri.org/tutorials/installing_nokogiri.html for help with
installing dependencies.
-----
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
But I have certainly installed libxml2, where I can check it with sudo
apt-get install libxml2.
Could anyone help me out here?
It says, "Check the mkmf.log...", does anyone know where the file
resides?
soichi
--
Posted via http://www.ruby-forum.com/.