Skip to content

Instantly share code, notes, and snippets.

@freeone3000
Last active January 20, 2016 00:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save freeone3000/83f7a707718eed25b18a to your computer and use it in GitHub Desktop.
Save freeone3000/83f7a707718eed25b18a to your computer and use it in GitHub Desktop.
[ec2-user@ip-10-168-125-13 Noctilucent]$ gem install io-console
Building native extensions. This could take a while...
ERROR: Error installing io-console:
ERROR: Failed to build gem native extension.
/usr/bin/ruby2.0 extconf.rb
*** 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}/lib64
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/bin/ruby2.0
/usr/share/ruby/2.0/mkmf.rb:434:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
You have to install development tools first.
from /usr/share/ruby/2.0/mkmf.rb:549:in `block in try_compile'
from /usr/share/ruby/2.0/mkmf.rb:502:in `with_werror'
from /usr/share/ruby/2.0/mkmf.rb:549:in `try_compile'
from /usr/share/ruby/2.0/mkmf.rb:789:in `macro_defined?'
from extconf.rb:7:in `<main>'
Gem files will remain installed in /home/ec2-user/.gem/ruby/2.0/gems/io-console-0.4.5 for inspection.
Results logged to /home/ec2-user/.gem/ruby/2.0/gems/io-console-0.4.5/./gem_make.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment