Advertisement
Guest User

another error installing Rails

a guest
Mar 6th, 2015
268
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.46 KB | None | 0 0
  1. Building native extensions. This could take a while...
  2. ERROR: Error installing rails:
  3. ERROR: Failed to build gem native extension.
  4.  
  5. /usr/bin/ruby -r ./siteconf20150306-6046-1tgmamm.rb extconf.rb
  6. checking if the C compiler accepts ... *** extconf.rb failed ***
  7. Could not create Makefile due to some reason, probably lack of necessary
  8. libraries and/or headers. Check the mkmf.log file for more details. You may
  9. need configuration options.
  10.  
  11. Provided configuration options:
  12. --with-opt-dir
  13. --without-opt-dir
  14. --with-opt-include
  15. --without-opt-include=${opt-dir}/include
  16. --with-opt-lib
  17. --without-opt-lib=${opt-dir}/lib64
  18. --with-make-prog
  19. --without-make-prog
  20. --srcdir=.
  21. --curdir
  22. --ruby=/usr/bin/ruby
  23. --help
  24. --clean
  25. /usr/share/ruby/mkmf.rb:456:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
  26. You have to install development tools first.
  27. from /usr/share/ruby/mkmf.rb:571:in `block in try_compile'
  28. from /usr/share/ruby/mkmf.rb:522:in `with_werror'
  29. from /usr/share/ruby/mkmf.rb:571:in `try_compile'
  30. from extconf.rb:80:in `nokogiri_try_compile'
  31. from extconf.rb:87:in `block in add_cflags'
  32. from /usr/share/ruby/mkmf.rb:621:in `with_cflags'
  33. from extconf.rb:86:in `add_cflags'
  34. from extconf.rb:337:in `<main>'
  35.  
  36. extconf failed, exit code 1
  37.  
  38. Gem files will remain installed in /usr/local/share/gems/gems/nokogiri-1.6.6.2 for inspection.
  39. Results logged to /usr/local/lib64/gems/ruby/nokogiri-1.6.6.2/gem_make.out
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement