Advertisement
userpaste001

Untitled

Jun 24th, 2016
416
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.85 KB | None | 0 0
  1. cd /usr/share/metasploit-framework/ ; bundle install
  2. Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
  3. installing your bundle as root will break this application for all non-root
  4. users on this machine.
  5. Warning: the running version of Bundler is older than the version that created the lockfile. We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.
  6. Fetching gem metadata from https://rubygems.org/.........
  7. Fetching version metadata from https://rubygems.org/...
  8. Fetching dependency metadata from https://rubygems.org/..
  9. Warning: the running version of Bundler is older than the version that created the lockfile. We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.
  10. Installing rake 11.1.2
  11. Installing i18n 0.7.0
  12. Installing json 1.8.3 with native extensions
  13. Installing minitest 5.8.4
  14. Installing thread_safe 0.3.5
  15. Installing tzinfo 1.2.2
  16. Installing activesupport 4.2.6
  17. Installing builder 3.2.2
  18. Installing erubis 2.7.0
  19. Installing mini_portile2 2.0.0
  20. Installing nokogiri 1.6.7.2 with native extensions
  21.  
  22. Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
  23.  
  24.    /usr/bin/ruby2.2 -r ./siteconf20160624-6114-tqtmnm.rb extconf.rb
  25. checking if the C compiler accepts ... yes
  26. Building nokogiri using packaged libraries.
  27. Using mini_portile version 2.0.0
  28. checking for gzdopen() in -lz... no
  29. zlib is missing; necessary for building libxml2
  30. *** extconf.rb failed ***
  31. Could not create Makefile due to some reason, probably lack of necessary
  32. libraries and/or headers.  Check the mkmf.log file for more details.  You may
  33. need configuration options.
  34.  
  35. Provided configuration options:
  36.     --with-opt-dir
  37.     --without-opt-dir
  38.     --with-opt-include
  39.     --without-opt-include=${opt-dir}/include
  40.     --with-opt-lib
  41.     --without-opt-lib=${opt-dir}/lib
  42.     --with-make-prog
  43.     --without-make-prog
  44.     --srcdir=.
  45.     --curdir
  46.     --ruby=/usr/bin/$(RUBY_BASE_NAME)2.2
  47.     --help
  48.     --clean
  49.     --use-system-libraries
  50.     --enable-static
  51.     --disable-static
  52.     --with-zlib-dir
  53.     --without-zlib-dir
  54.     --with-zlib-include
  55.     --without-zlib-include=${zlib-dir}/include
  56.     --with-zlib-lib
  57.     --without-zlib-lib=${zlib-dir}/lib
  58.     --enable-cross-build
  59.     --disable-cross-build
  60.  
  61. extconf failed, exit code 1
  62.  
  63. Gem files will remain installed in /usr/share/metasploit-framework/vendor/bundle/ruby/2.2.0/gems/nokogiri-1.6.7.2 for inspection.
  64. Results logged to /usr/share/metasploit-framework/vendor/bundle/ruby/2.2.0/extensions/x86-linux/2.2.0/nokogiri-1.6.7.2/gem_make.out
  65. An error occurred while installing nokogiri (1.6.7.2), and Bundler cannot
  66. continue.
  67. Make sure that `gem install nokogiri -v '1.6.7.2'` succeeds before bundling.
  68. root@kali:/usr/share/metasploit-framework# msfconsole
  69. Could not find nokogiri-1.6.7.2 in any of the sources
  70. Run `bundle install` to install missing gems.
  71. root@kali:/usr/share/metasploit-framework#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement