我想在Debian Linux上安装nokogiri 1.6.2.1.我正在运行Ruby-2.1.1.我已经安装了libxml2,libxml2-dev,libxslt,和libxslt-dev.
输出:
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.<br>
/home/xxx/.rvm/rubies/ruby-2.1.1/bin/ruby extconf.rb
Building nokogiri using packaged libraries.
checking for iconv.h... *** 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.<br>
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/home/xxx/.rvm/rubies/ruby-2.1.1/bin/ruby
--help
--clean
--use-system-libraries
--enable-static
--disable-static …Run Code Online (Sandbox Code Playgroud)