Skip to content

Instantly share code, notes, and snippets.

@craysiii

craysiii/error Secret

Created September 24, 2015 22:41
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 craysiii/54b99add4393525f9a8f to your computer and use it in GitHub Desktop.
Save craysiii/54b99add4393525f9a8f to your computer and use it in GitHub Desktop.
charles@charles-desktop:~/code/chatdoe$ gem install rwx -v '0.0.1.1.dev'
Building native extensions. This could take a while...
ERROR: Error installing rwx:
ERROR: Failed to build gem native extension.
/home/charles/.rvm/rubies/ruby-2.2.1/bin/ruby -r ./siteconf20150924-19683-1gmhhqy.rb extconf.rb
checking for wx-config... yes
checking for gcc... yes
checking for g++... yes
checking for wx/preferences.h... *** 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}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/home/charles/.rvm/rubies/ruby-2.2.1/bin/$(RUBY_BASE_NAME)
--with-rwx-dir
--without-rwx-dir
--with-rwx-include
--without-rwx-include=${rwx-dir}/include
--with-rwx-lib
--without-rwx-lib=${rwx-dir}/lib
--with-gtk+-x11-2.0-config
--without-gtk+-x11-2.0-config
--with-pkg-config
--without-pkg-config
--with-gdk-x11-2.0-config
--without-gdk-x11-2.0-config
/home/charles/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/mkmf.rb:456:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
You have to install development tools first.
from /home/charles/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/mkmf.rb:587:in `try_cpp'
from /home/charles/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/mkmf.rb:1060:in `block in have_header'
from /home/charles/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/mkmf.rb:911:in `block in checking_for'
from /home/charles/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/mkmf.rb:351:in `block (2 levels) in postpone'
from /home/charles/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/mkmf.rb:321:in `open'
from /home/charles/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/mkmf.rb:351:in `block in postpone'
from /home/charles/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/mkmf.rb:321:in `open'
from /home/charles/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/mkmf.rb:347:in `postpone'
from /home/charles/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/mkmf.rb:910:in `checking_for'
from /home/charles/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/mkmf.rb:1059:in `have_header'
from extconf.rb:71:in `block in <main>'
from /home/charles/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/mkmf.rb:619:in `with_cflags'
from extconf.rb:67:in `<main>'
extconf failed, exit code 1
Gem files will remain installed in /home/charles/.rvm/gems/ruby-2.2.1/gems/rwx-0.0.1.1.dev for inspection.
Results logged to /home/charles/.rvm/gems/ruby-2.2.1/extensions/x86_64-linux/2.2.0/rwx-0.0.1.1.dev/gem_make.out
charles@charles-desktop:~/code/chatdoe$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment