Report abuse

Installing nokogiri (1.4.1.20100514000014) from rubygems repository at http://tenderlovemaking.com/ with native extensions An exception occurred running /usr/bin/bundle
    ERROR: Failed to build gem native extension.

/home/hal/rubinius/bin/rbx extconf.rb
checking for iconv.h... yes
checking for libxml/parser.h... yes
checking for libxslt/xslt.h... yes
checking for libexslt/exslt.h... yes
checking for libiconv_open() in -liconv... no
-----
libiconv 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/hal/rubinius/bin/rbx
	--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
	--with-iconvlib
	--without-iconvlib


Gem files will remain installed in /home/hal/.bundle/rbx/1.8/gems/nokogiri-1.4.1.20100514000014 for inspection.
Results logged to /home/hal/.bundle/rbx/1.8/gems/nokogiri-1.4.1.20100514000014/ext/nokogiri/gem_make.out
 (Gem::Installer::ExtensionBuildError)

Backtrace:
   Gem::Installer#build_extensions {} at /home/hal/rubinius/lib/rubygems
                                         /installer.rb:483
                            Array#each at kernel/bootstrap/array.rb:158
      Gem::Installer#build_extensions at /home/hal/rubinius/lib/rubygems
                                         /installer.rb:446
               Gem::Installer#install at /home/hal/rubinius/lib/rubygems
                                         /installer.rb:198
    Bundler::Source::Rubygems#install at /home/hal/rubinius/gems/1.8/gems
                                         /bundler-0.9.25/lib/bundler
                                         /source.rb:43
            Bundler::Installer#run {} at /home/hal/rubinius/gems/1.8/gems
                                         /bundler-0.9.25/lib/bundler
                                         /installer.rb:34
             Bundler::SpecSet#each {} at /home/hal/rubinius/gems/1.8/gems
                                         /bundler-0.9.25/lib/bundler
                                         /spec_set.rb:12
                            Array#each at kernel/bootstrap/array.rb:158
                Bundler::SpecSet#each at /home/hal/rubinius/gems/1.8/gems
                                         /bundler-0.9.25/lib/bundler
                                         /spec_set.rb:12
               Bundler::Installer#run at /home/hal/rubinius/gems/1.8/gems
                                         /bundler-0.9.25/lib/bundler
                                         /installer.rb:21
           Bundler::Installer.install at /home/hal/rubinius/gems/1.8/gems
                                         /bundler-0.9.25/lib/bundler
                                         /installer.rb:6
                 Bundler::CLI#install at /home/hal/rubinius/gems/1.8/gems
                                         /bundler-0.9.25/lib/bundler/cli.rb:90
                       Thor::Task#run at /home/hal/rubinius/gems/1.8/gems
                                         /bundler-0.9.25/lib/bundler/vendor/thor
                                         /task.rb:33
 Thor::Invocation(Bundler::CLI)#invoke {} at /home/hal/rubinius/gems/1.8/gems
                                             /bundler-0.9.25/lib/bundler/vendor
                                             /thor/invocation.rb:109
 Thor::Invocation(Bundler::CLI)#invoke at /home/hal/rubinius/gems/1.8/gems
                                          /bundler-0.9.25/lib/bundler/vendor
                                          /thor/invocation.rb:116
                        Thor.start {} at /home/hal/rubinius/gems/1.8/gems
                                         /bundler-0.9.25/lib/bundler/vendor
                                         /thor.rb:137
 Thor::Base::ClassMethods(Class)#start at /home/hal/rubinius/gems/1.8/gems
                                          /bundler-0.9.25/lib/bundler/vendor
                                          /thor/base.rb:378
                           Thor.start at /home/hal/rubinius/gems/1.8/gems
                                         /bundler-0.9.25/lib/bundler/vendor
                                         /thor.rb:124
                      main.__script__ at /home/hal/rubinius/gems/1.8/gems
                                         /bundler-0.9.25/bin/bundle:13
                   Kernel(Object)#load at kernel/common/kernel.rb:638
                       main.__script__ at /usr/bin/bundle:19
      Rubinius::CodeLoader#load_script at kernel/delta/codeloader.rb:65
      Rubinius::CodeLoader.load_script at kernel/delta/codeloader.rb:88
               Rubinius::Loader#script at kernel/loader.rb:435
                 Rubinius::Loader#main at kernel/loader.rb:526
                 Rubinius::Loader.main at kernel/loader.rb:552
                     Object#__script__ at kernel/loader.rb:564