Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Installing nokogiri (1.6.1) with native extensions
- Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension
- .
- /opt/chef/embedded/bin/ruby extconf.rb
- Extracting libxml2-2.8.0.tar.gz into tmp/x86_64-linux-gnu/ports/libxml2/2.8.0...
- OK
- Running 'configure' for libxml2 2.8.0... OK
- Running 'compile' for libxml2 2.8.0... ERROR, review 'tmp/x86_64-linux-gnu/ports
- /libxml2/2.8.0/compile.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
- --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=/opt/chef/embedded/bin/ruby
- /home/ubuntu/chef-repo/.chef/vendor/ruby/1.9.1/gems/mini_portile-0.5.2/lib/mini_
- portile.rb:265:in `block in execute': Failed to complete compile task (RuntimeEr
- ror)
- from /home/ubuntu/chef-repo/.chef/vendor/ruby/1.9.1/gems/mini_portile-0.
- 5.2/lib/mini_portile.rb:257:in `chdir'
- from /home/ubuntu/chef-repo/.chef/vendor/ruby/1.9.1/gems/mini_portile-0.
- 5.2/lib/mini_portile.rb:257:in `execute'
- from /home/ubuntu/chef-repo/.chef/vendor/ruby/1.9.1/gems/mini_portile-0.
- 5.2/lib/mini_portile.rb:69:in `compile'
- from /home/ubuntu/chef-repo/.chef/vendor/ruby/1.9.1/gems/mini_portile-0.
- 5.2/lib/mini_portile.rb:109: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 /home/ubuntu/chef-repo/.chef/vendor/ruby/1.9.
- 1/gems/nokogiri-1.6.1 for inspection.
- Results logged to /home/ubuntu/chef-repo/.chef/vendor/ruby/1.9.1/gems/nokogiri-1
- .6.1/ext/nokogiri/gem_make.out
- An error occured while installing nokogiri (1.6.1), and Bundler cannot continue.
- Make sure that `gem install nokogiri -v '1.6.1'` succeeds before bundling.
- ubuntu@ip-10-234-7-133:~/chef-repo/.chef$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement