(100%) Building native extensions. This could take a while... ERROR: Error installing nokogiri: ERROR: Failed to build gem native extension. /usr/bin/ruby1.9.1 extconf.rb /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- mkmf (LoadError) from /usr/lib/ruby/1.9.1/rubygems/ custom_require.rb:36:in `require' from extconf.rb:5:in `<main>' Gem files will remain installed in /var/lib/gems/1.9.1/ gems/nokogiri-1.6.0 for inspection. Results logged to /var/lib/gems/1.9.1/gems/ nokogiri-1.6.0/ext/nokogiri/gem_make.out
take a while... ERROR: Error installing nokogiri: ERROR: Failed to build gem native extension. /usr/bin/ruby1.9.1 extconf.rb Extracting libxml2-2.8.0.tar.gz into tmp//ports/libxml2/2.8.0... OK Running 'configure' for libxml2 2.8.0... ERROR, review 'tmp//ports/libxml2/2.8.0/configure.log' to see what happened. *** 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=/usr/bin/ruby1.9.1 /var/lib/gems/1.9.1/gems/mini_portile-0.5.0/lib/mini_portile.rb:235:in `block in execute': Failed to complete configure task (RuntimeError) from /var/lib/gems/1.9.1/gems/mini_portile-0.5.0/lib/mini_portile.rb:227:in `chdir' from /var/lib/gems/1.9.1/gems/mini_portile-0.5.0/lib/mini_portile.rb:227:in `execute' from /var/lib/gems/1.9.1/gems/mini_portile-0.5.0/lib/mini_portile.rb:57:in `configure' from /var/lib/gems/1.9.1/gems/mini_portile-0.5.0/lib/mini_portile.rb:100:in `cook' from extconf.rb:101:in `block in <main>' from extconf.rb:119:in `call' from extconf.rb:119:in `block in <main>' from extconf.rb:109:in `tap' from extconf.rb:109:in `<main>' Gem files will remain installed in /var/lib/gems/1.9.1/gems/nokogiri-1.6.0 for inspection. Results logged to /var/lib/gems/1.9.1/gems/nokogiri-1.6.0/ext/nokogiri/gem_make.out