Advertisement
Guest User

Untitled

a guest
Feb 16th, 2019
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.73 KB | None | 0 0
  1. root@kl:~# gem install cms_scanner
  2. Building native extensions. This could take a while...
  3. ERROR: Error installing cms_scanner:
  4. ERROR: Failed to build gem native extension.
  5.  
  6. current directory: /var/lib/gems/2.5.0/gems/nokogiri-1.10.1/ext/nokogiri
  7. /usr/bin/ruby2.5 -I /usr/local/lib/site_ruby/2.5.0 -r ./siteconf20190216-6995-uoeuzb.rb extconf.rb
  8. checking if the C compiler accepts ... yes
  9. Building nokogiri using packaged libraries.
  10. Using mini_portile version 2.4.0
  11. checking for gzdopen() in -lz... no
  12. zlib is missing; necessary for building libxml2
  13. *** extconf.rb failed ***
  14. Could not create Makefile due to some reason, probably lack of necessary
  15. libraries and/or headers. Check the mkmf.log file for more details. You may
  16. need configuration options.
  17.  
  18. Provided configuration options:
  19. --with-opt-dir
  20. --without-opt-dir
  21. --with-opt-include
  22. --without-opt-include=${opt-dir}/include
  23. --with-opt-lib
  24. --without-opt-lib=${opt-dir}/lib
  25. --with-make-prog
  26. --without-make-prog
  27. --srcdir=.
  28. --curdir
  29. --ruby=/usr/bin/$(RUBY_BASE_NAME)2.5
  30. --help
  31. --clean
  32. --use-system-libraries
  33. --enable-static
  34. --disable-static
  35. --with-zlib-dir
  36. --without-zlib-dir
  37. --with-zlib-include
  38. --without-zlib-include=${zlib-dir}/include
  39. --with-zlib-lib
  40. --without-zlib-lib=${zlib-dir}/lib
  41. --enable-cross-build
  42. --disable-cross-build
  43.  
  44. To see why this extension failed to compile, please check the mkmf.log which can be found here:
  45.  
  46. /var/lib/gems/2.5.0/extensions/x86_64-linux/2.5.0/nokogiri-1.10.1/mkmf.log
  47.  
  48. extconf failed, exit code 1
  49.  
  50. Gem files will remain installed in /var/lib/gems/2.5.0/gems/nokogiri-1.10.1 for inspection.
  51. Results logged to /var/lib/gems/2.5.0/extensions/x86_64-linux/2.5.0/nokogiri-1.10.1/gem_make.out
  52. root@kl:~#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement