carlhuda/bundler — Issue #1575: Error installing nokogiri
Author: uberoo
Created: 2011-12-03 11:37:34+00:00
State: open

Installing nokogiri (1.5.0) with native extensions Unfortunately, a fatal error has occurred. Please report this error to the Bundler issue tracker at https://github.com/carlhuda/bundler/issues so that we can fix it. Thanks!
/home/uberoo/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:552:in `rescue in block in build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)

/home/uberoo/.rvm/rubies/ruby-1.9.2-p290/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.

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/uberoo/.rvm/rubies/ruby-1.9.2-p290/bin/ruby
--with-zlib-dir
--without-zlib-dir
--with-zlib-include
--without-zlib-include=${zlib-dir}/include
--with-zlib-lib
--without-zlib-lib=${zlib-dir}/lib
--with-iconv-dir
--without-iconv-dir
--with-iconv-include
--without-iconv-include=${iconv-dir}/include
--with-iconv-lib
--without-iconv-lib=${iconv-dir}/lib
--with-xml2-dir
--without-xml2-dir
--with-xml2-include
--without-xml2-include=${xml2-dir}/include
--with-xml2-lib
--without-xml2-lib=${xml2-dir}/lib
--with-xslt-dir
--without-xslt-dir
--with-xslt-include
--without-xslt-include=${xslt-dir}/include
--with-xslt-lib
--without-xslt-lib=${xslt-dir}/lib

Gem files will remain installed in /home/uberoo/.rvm/gems/ruby-1.9.2-p290/gems/nokogiri-1.5.0 for inspection.
Results logged to /home/uberoo/.rvm/gems/ruby-1.9.2-p290/gems/nokogiri-1.5.0/ext/nokogiri/gem_make.out
from /home/uberoo/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:530:in `block in build_extensions'
from /home/uberoo/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:505:in `each'
from /home/uberoo/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:505:in `build_extensions'
from /home/uberoo/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:180:in `install'
from /home/uberoo/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.1.rc/lib/bundler/source.rb:90:in `block in install'
from /home/uberoo/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.1.rc/lib/bundler/rubygems_integration.rb:78:in `preserve_paths'
from /home/uberoo/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.1.rc/lib/bundler/source.rb:89:in `install'
from /home/uberoo/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.1.rc/lib/bundler/installer.rb:73:in `block in install_gem_from_spec'
from /home/uberoo/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.1.rc/lib/bundler/rubygems_integration.rb:93:in `with_build_args'
from /home/uberoo/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.1.rc/lib/bundler/installer.rb:72:in `install_gem_from_spec'
from /home/uberoo/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.1.rc/lib/bundler/installer.rb:56:in `block in run'
from /home/uberoo/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.1.rc/lib/bundler/installer.rb:55:in `run'
from /home/uberoo/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.1.rc/lib/bundler/installer.rb:12:in `install'
from /home/uberoo/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.1.rc/lib/bundler/cli.rb:272:in `update'
from /home/uberoo/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.1.rc/lib/bundler/vendor/thor/task.rb:22:in `run'
from /home/uberoo/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.1.rc/lib/bundler/vendor/thor/invocation.rb:118:in `invoke_task'
from /home/uberoo/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.1.rc/lib/bundler/vendor/thor.rb:263:in `dispatch'
from /home/uberoo/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.1.rc/lib/bundler/vendor/thor/base.rb:386:in `start'
from /home/uberoo/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.1.rc/bin/bundle:13:in `'
from /home/uberoo/.rvm/gems/ruby-1.9.2-p290/bin/bundle:19:in `load'
from /home/uberoo/.rvm/gems/ruby-1.9.2-p290/bin/bundle:19:in `

'