Skip to content

Instantly share code, notes, and snippets.

@RPGP1
Created March 17, 2017 12:47
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 RPGP1/3f95c60cb3e8c92d87a6daa1675614c3 to your computer and use it in GitHub Desktop.
Save RPGP1/3f95c60cb3e8c92d87a6daa1675614c3 to your computer and use it in GitHub Desktop.
failed in 'gem install debase'
current directory: C:/Ruby23/lib/ruby/gems/2.3.0/gems/debase-0.2.1/ext
C:/Ruby23/bin/ruby.exe -r ./siteconf20170317-11968-1h343qx.rb extconf.rb
checking for vm_core.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=C:/Ruby23/bin/$(RUBY_BASE_NAME)
--with-ruby-dir
--without-ruby-dir
--with-ruby-include
--without-ruby-include=${ruby-dir}/include
--with-ruby-lib
--without-ruby-lib=${ruby-dir}/lib
C:/Ruby23/lib/ruby/2.3.0/mkmf.rb:456:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
You have to install development tools first.
from C:/Ruby23/lib/ruby/2.3.0/mkmf.rb:587:in `try_cpp'
from C:/Ruby23/lib/ruby/2.3.0/mkmf.rb:1091:in `block in have_header'
from C:/Ruby23/lib/ruby/2.3.0/mkmf.rb:942:in `block in checking_for'
from C:/Ruby23/lib/ruby/2.3.0/mkmf.rb:350:in `block (2 levels) in postpone'
from C:/Ruby23/lib/ruby/2.3.0/mkmf.rb:320:in `open'
from C:/Ruby23/lib/ruby/2.3.0/mkmf.rb:350:in `block in postpone'
from C:/Ruby23/lib/ruby/2.3.0/mkmf.rb:320:in `open'
from C:/Ruby23/lib/ruby/2.3.0/mkmf.rb:346:in `postpone'
from C:/Ruby23/lib/ruby/2.3.0/mkmf.rb:941:in `checking_for'
from C:/Ruby23/lib/ruby/2.3.0/mkmf.rb:1090:in `have_header'
from extconf.rb:31:in `block in <main>'
from C:/Ruby23/lib/ruby/gems/2.3.0/gems/debase-ruby_core_source-0.9.6/lib/debase/ruby_core_source.rb:15:in `create_makefile_with_core'
from extconf.rb:47:in `<main>'
To see why this extension failed to compile, please check the mkmf.log which can be found here:
C:/Ruby23/lib/ruby/gems/2.3.0/extensions/x86-mingw32/2.3.0/debase-0.2.1/mkmf.log
extconf failed, exit code 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment