Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cd /usr/share/metasploit-framework/ ; bundle install
- Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
- installing your bundle as root will break this application for all non-root
- users on this machine.
- 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`.
- Fetching gem metadata from https://rubygems.org/.........
- Fetching version metadata from https://rubygems.org/...
- Fetching dependency metadata from https://rubygems.org/..
- 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`.
- Installing rake 11.1.2
- Installing i18n 0.7.0
- Installing json 1.8.3 with native extensions
- Installing minitest 5.8.4
- Installing thread_safe 0.3.5
- Installing tzinfo 1.2.2
- Installing activesupport 4.2.6
- Installing builder 3.2.2
- Installing erubis 2.7.0
- Installing mini_portile2 2.0.0
- Installing nokogiri 1.6.7.2 with native extensions
- Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
- /usr/bin/ruby2.2 -r ./siteconf20160624-6114-tqtmnm.rb extconf.rb
- checking if the C compiler accepts ... yes
- Building nokogiri using packaged libraries.
- Using mini_portile version 2.0.0
- checking for gzdopen() in -lz... no
- zlib is missing; necessary for building libxml2
- *** 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/$(RUBY_BASE_NAME)2.2
- --help
- --clean
- --use-system-libraries
- --enable-static
- --disable-static
- --with-zlib-dir
- --without-zlib-dir
- --with-zlib-include
- --without-zlib-include=${zlib-dir}/include
- --with-zlib-lib
- --without-zlib-lib=${zlib-dir}/lib
- --enable-cross-build
- --disable-cross-build
- extconf failed, exit code 1
- Gem files will remain installed in /usr/share/metasploit-framework/vendor/bundle/ruby/2.2.0/gems/nokogiri-1.6.7.2 for inspection.
- 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
- An error occurred while installing nokogiri (1.6.7.2), and Bundler cannot
- continue.
- Make sure that `gem install nokogiri -v '1.6.7.2'` succeeds before bundling.
- root@kali:/usr/share/metasploit-framework# msfconsole
- Could not find nokogiri-1.6.7.2 in any of the sources
- Run `bundle install` to install missing gems.
- root@kali:/usr/share/metasploit-framework#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement