Open JianminWu opened 5 years ago
@JianminWu Do you have debase-ruby_core_source gem installed? Looks like installation failed at the moment of checking for vm_core.h
issue has resolved..I removed MinGW,everthing is ok...Maybe there is some conflict..Thanks !
the same problem when i use RubyMine install the ruby-debug-ide . I can gem install some other tools,like watir.,but can't install ruby-debug-ide and ruby-debase
I also user rdik install 2,3 for installed and update the Devkit,when i choose 3 , It tells me Install MSYS2 and MINGW development toolchain succeeded.All the tools is the latest.
Thanks...
C:\Users\wujianmin>gem install ruby-debug-ide Temporarily enhancing PATH for MSYS/MINGW... Building native extensions. This could take a while... ERROR: Error installing ruby-debug-ide: ERROR: Failed to build gem native extension.
D:/Tools/Ruby25-x64/bin/ruby.exe mkrf_conf.rb Installing base gem Building native extensions. This could take a while... Building native extensions. This could take a while... ERROR: Failed to build gem native extension.
D:/Tools/Ruby25-x64/bin/ruby.exe -r ./siteconf20181109-4408-unle4i.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=D:/Tools/Ruby25-x64/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 D:/Tools/Ruby25-x64/lib/ruby/2.5.0/mkmf.rb:456:in'
from D:/Tools/Ruby25-x64/lib/ruby/gems/2.5.0/gems/debase-ruby_core_source-0.10.3/lib/debase/ruby_core_source.rb:14:in '
try_do': The compiler failed to generate an executable file. (RuntimeError) You have to install development tools first. from D:/Tools/Ruby25-x64/lib/ruby/2.5.0/mkmf.rb:590:in
try_cpp' from D:/Tools/Ruby25-x64/lib/ruby/2.5.0/mkmf.rb:1098:inblock in have_header' from D:/Tools/Ruby25-x64/lib/ruby/2.5.0/mkmf.rb:948:in
block in checking_for' from D:/Tools/Ruby25-x64/lib/ruby/2.5.0/mkmf.rb:350:inblock (2 levels) in postpone' from D:/Tools/Ruby25-x64/lib/ruby/2.5.0/mkmf.rb:320:in
open' from D:/Tools/Ruby25-x64/lib/ruby/2.5.0/mkmf.rb:350:inblock in postpone' from D:/Tools/Ruby25-x64/lib/ruby/2.5.0/mkmf.rb:320:in
open' from D:/Tools/Ruby25-x64/lib/ruby/2.5.0/mkmf.rb:346:inpostpone' from D:/Tools/Ruby25-x64/lib/ruby/2.5.0/mkmf.rb:947:in
checking_for' from D:/Tools/Ruby25-x64/lib/ruby/2.5.0/mkmf.rb:1097:inhave_header' from extconf.rb:31:in
block increate_makefile_with_core' from extconf.rb:53:in
To see why this extension failed to compile, please check the mkmf.log which can be found here:
D:/Tools/Ruby25-x64/lib/ruby/gems/2.5.0/extensions/x64-mingw32/2.5.0/debase-0.2.3.beta2/mkmf.log
extconf failed, exit code 1
Gem files will remain installed in D:/Tools/Ruby25-x64/lib/ruby/gems/2.5.0/gems/debase-0.2.3.beta2 for inspection. Results logged to D:/Tools/Ruby25-x64/lib/ruby/gems/2.5.0/extensions/x64-mingw32/2.5.0/debase-0.2.3.beta2/gem_make.out D:/Tools/Ruby25-x64/lib/ruby/2.5.0/rubygems/ext/builder.rb:92:in'
mkrf_conf.rb:28:in `'
run' D:/Tools/Ruby25-x64/lib/ruby/2.5.0/rubygems/ext/ext_conf_builder.rb:46:in
block in build' D:/Tools/Ruby25-x64/lib/ruby/2.5.0/tempfile.rb:295:inopen' D:/Tools/Ruby25-x64/lib/ruby/2.5.0/rubygems/ext/ext_conf_builder.rb:30:in
build' D:/Tools/Ruby25-x64/lib/ruby/2.5.0/rubygems/ext/builder.rb:164:inblock (2 levels) in build_extension' D:/Tools/Ruby25-x64/lib/ruby/2.5.0/rubygems/ext/builder.rb:163:in
chdir' D:/Tools/Ruby25-x64/lib/ruby/2.5.0/rubygems/ext/builder.rb:163:inblock in build_extension' D:/Tools/Ruby25-x64/lib/ruby/2.5.0/rubygems/ext/builder.rb:162:in
synchronize' D:/Tools/Ruby25-x64/lib/ruby/2.5.0/rubygems/ext/builder.rb:162:inbuild_extension' D:/Tools/Ruby25-x64/lib/ruby/2.5.0/rubygems/ext/builder.rb:201:in
block in build_extensions' D:/Tools/Ruby25-x64/lib/ruby/2.5.0/rubygems/ext/builder.rb:198:ineach' D:/Tools/Ruby25-x64/lib/ruby/2.5.0/rubygems/ext/builder.rb:198:in
build_extensions' D:/Tools/Ruby25-x64/lib/ruby/2.5.0/rubygems/installer.rb:774:inbuild_extensions' D:/Tools/Ruby25-x64/lib/ruby/2.5.0/rubygems/installer.rb:306:in
install' D:/Tools/Ruby25-x64/lib/ruby/2.5.0/rubygems/resolver/specification.rb:97:ininstall' D:/Tools/Ruby25-x64/lib/ruby/2.5.0/rubygems/request_set.rb:168:in
block in install' D:/Tools/Ruby25-x64/lib/ruby/2.5.0/rubygems/request_set.rb:156:ineach' D:/Tools/Ruby25-x64/lib/ruby/2.5.0/rubygems/request_set.rb:156:in
install' D:/Tools/Ruby25-x64/lib/ruby/2.5.0/rubygems/dependency_installer.rb:409:ininstall' mkrf_conf.rb:35:in
rescue inrake failed, exit code 1
Gem files will remain installed in D:/Tools/Ruby25-x64/lib/ruby/gems/2.5.0/gems/ruby-debug-ide-0.6.1 for inspection. Results logged to D:/Tools/Ruby25-x64/lib/ruby/gems/2.5.0/extensions/x64-mingw32/2.5.0/ruby-debug-ide-0.6.1/gem_make.out