Guest User

Untitled

a guest
Oct 10th, 2017
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.95 KB | None | 0 0
  1. Fetching: nokogiri-1.8.1.gem (100%)
  2. Building native extensions. This could take a while...
  3. ERROR: Error installing rails:
  4. ERROR: Failed to build gem native extension.
  5.  
  6. current directory: /var/lib/gems/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri
  7. /usr/bin/ruby2.3 -r ./siteconf20171011-1533-1bj2d0r.rb extconf.rb
  8. checking if the C compiler accepts ... *** extconf.rb failed ***
  9. Could not create Makefile due to some reason, probably lack of necessary
  10. libraries and/or headers. Check the mkmf.log file for more details. You may
  11. need configuration options.
  12.  
  13. Provided configuration options:
  14. --with-opt-dir
  15. --without-opt-dir
  16. --with-opt-include
  17. --without-opt-include=${opt-dir}/include
  18. --with-opt-lib
  19. --without-opt-lib=${opt-dir}/lib
  20. --with-make-prog
  21. --without-make-prog
  22. --srcdir=.
  23. --curdir
  24. --ruby=/usr/bin/$(RUBY_BASE_NAME)2.3
  25. --help
  26. --clean
  27. /usr/lib/ruby/2.3.0/mkmf.rb:456:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
  28. You have to install development tools first.
  29. from /usr/lib/ruby/2.3.0/mkmf.rb:571:in `block in try_compile'
  30. from /usr/lib/ruby/2.3.0/mkmf.rb:522:in `with_werror'
  31. from /usr/lib/ruby/2.3.0/mkmf.rb:571:in `try_compile'
  32. from extconf.rb:138:in `nokogiri_try_compile'
  33. from extconf.rb:162:in `block in add_cflags'
  34. from /usr/lib/ruby/2.3.0/mkmf.rb:629:in `with_cflags'
  35. from extconf.rb:161:in `add_cflags'
  36. from extconf.rb:407:in `<main>'
  37.  
  38. To see why this extension failed to compile, please check the mkmf.log which can be found here:
  39.  
  40. /var/lib/gems/2.3.0/extensions/x86_64-linux/2.3.0/nokogiri-1.8.1/mkmf.log
  41.  
  42. extconf failed, exit code 1
  43.  
  44. Gem files will remain installed in /var/lib/gems/2.3.0/gems/nokogiri-1.8.1 for inspection.
  45. Results logged to /var/lib/gems/2.3.0/extensions/x86_64-linux/2.3.0/nokogiri-1.8.1/gem_make.out
Advertisement
Add Comment
Please, Sign In to add comment