Advertisement
Guest User

Untitled

a guest
Jul 20th, 2016
432
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.25 KB | None | 0 0
  1.  
  2. C:\Sites>gem install nio4r -v '1.2.1'
  3. Building native extensions. This could take a while...
  4. ERROR: Error installing nio4r:
  5. ERROR: Failed to build gem native extension.
  6.  
  7. C:/RailsInstaller/Ruby2.2.0/bin/ruby.exe -r ./siteconf20160720-4992-1ajk6ob.
  8. rb extconf.rb
  9. checking for unistd.h... *** extconf.rb failed ***
  10. Could not create Makefile due to some reason, probably lack of necessary
  11. libraries and/or headers. Check the mkmf.log file for more details. You may
  12. need configuration options.
  13.  
  14. Provided configuration options:
  15. --with-opt-dir
  16. --without-opt-dir
  17. --with-opt-include
  18. --without-opt-include=${opt-dir}/include
  19. --with-opt-lib
  20. --without-opt-lib=${opt-dir}/lib
  21. --with-make-prog
  22. --without-make-prog
  23. --srcdir=.
  24. --curdir
  25. --ruby=C:/RailsInstaller/Ruby2.2.0/bin/$(RUBY_BASE_NAME)
  26. C:/RailsInstaller/Ruby2.2.0/lib/ruby/2.2.0/mkmf.rb:456:in `try_do': The compiler
  27. failed to generate an executable file. (RuntimeError)
  28. You have to install development tools first.
  29. from C:/RailsInstaller/Ruby2.2.0/lib/ruby/2.2.0/mkmf.rb:587:in `try_cpp'
  30.  
  31. from C:/RailsInstaller/Ruby2.2.0/lib/ruby/2.2.0/mkmf.rb:1060:in `block i
  32. n have_header'
  33. from C:/RailsInstaller/Ruby2.2.0/lib/ruby/2.2.0/mkmf.rb:911:in `block in
  34. checking_for'
  35. from C:/RailsInstaller/Ruby2.2.0/lib/ruby/2.2.0/mkmf.rb:351:in `block (2
  36. levels) in postpone'
  37. from C:/RailsInstaller/Ruby2.2.0/lib/ruby/2.2.0/mkmf.rb:321:in `open'
  38. from C:/RailsInstaller/Ruby2.2.0/lib/ruby/2.2.0/mkmf.rb:351:in `block in
  39. postpone'
  40. from C:/RailsInstaller/Ruby2.2.0/lib/ruby/2.2.0/mkmf.rb:321:in `open'
  41. from C:/RailsInstaller/Ruby2.2.0/lib/ruby/2.2.0/mkmf.rb:347:in `postpone
  42. '
  43. from C:/RailsInstaller/Ruby2.2.0/lib/ruby/2.2.0/mkmf.rb:910:in `checking
  44. _for'
  45. from C:/RailsInstaller/Ruby2.2.0/lib/ruby/2.2.0/mkmf.rb:1059:in `have_he
  46. ader'
  47. from extconf.rb:3:in `<main>'
  48.  
  49. extconf failed, exit code 1
  50.  
  51. Gem files will remain installed in C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2
  52. .0/gems/nio4r-1.2.1 for inspection.
  53. Results logged to C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/extensions/x86
  54. -mingw32/2.2.0/nio4r-1.2.1/gem_make.out
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement