ruby-debug / ruby-debug-ide

An interface which glues ruby-debug to IDEs like Eclipse (RDT), NetBeans and RubyMine.
https://www.jetbrains.com/ruby/features/ruby_debugger.html
Other
371 stars 83 forks source link

ruby-debug-ide can't install on Windos10 and Ruby2.5.3,I use rubyinstaller+devkit #159

Open JianminWu opened 5 years ago

JianminWu commented 5 years ago

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.

current directory: D:/Tools/Ruby25-x64/lib/ruby/gems/2.5.0/gems/ruby-debug-ide-0.6.1/ext

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.

current directory: D:/Tools/Ruby25-x64/lib/ruby/gems/2.5.0/gems/debase-0.2.3.beta2/ext

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 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:intry_cpp' from D:/Tools/Ruby25-x64/lib/ruby/2.5.0/mkmf.rb:1098:in block in have_header' from D:/Tools/Ruby25-x64/lib/ruby/2.5.0/mkmf.rb:948:inblock in checking_for' from D:/Tools/Ruby25-x64/lib/ruby/2.5.0/mkmf.rb:350:in block (2 levels) in postpone' from D:/Tools/Ruby25-x64/lib/ruby/2.5.0/mkmf.rb:320:inopen' from D:/Tools/Ruby25-x64/lib/ruby/2.5.0/mkmf.rb:350:in block in postpone' from D:/Tools/Ruby25-x64/lib/ruby/2.5.0/mkmf.rb:320:inopen' from D:/Tools/Ruby25-x64/lib/ruby/2.5.0/mkmf.rb:346:in postpone' from D:/Tools/Ruby25-x64/lib/ruby/2.5.0/mkmf.rb:947:inchecking_for' from D:/Tools/Ruby25-x64/lib/ruby/2.5.0/mkmf.rb:1097:in have_header' from extconf.rb:31:inblock 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 create_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 run' D:/Tools/Ruby25-x64/lib/ruby/2.5.0/rubygems/ext/ext_conf_builder.rb:46:inblock in build' D:/Tools/Ruby25-x64/lib/ruby/2.5.0/tempfile.rb:295:in open' D:/Tools/Ruby25-x64/lib/ruby/2.5.0/rubygems/ext/ext_conf_builder.rb:30:inbuild' D:/Tools/Ruby25-x64/lib/ruby/2.5.0/rubygems/ext/builder.rb:164:in block (2 levels) in build_extension' D:/Tools/Ruby25-x64/lib/ruby/2.5.0/rubygems/ext/builder.rb:163:inchdir' D:/Tools/Ruby25-x64/lib/ruby/2.5.0/rubygems/ext/builder.rb:163:in block in build_extension' D:/Tools/Ruby25-x64/lib/ruby/2.5.0/rubygems/ext/builder.rb:162:insynchronize' D:/Tools/Ruby25-x64/lib/ruby/2.5.0/rubygems/ext/builder.rb:162:in build_extension' D:/Tools/Ruby25-x64/lib/ruby/2.5.0/rubygems/ext/builder.rb:201:inblock in build_extensions' D:/Tools/Ruby25-x64/lib/ruby/2.5.0/rubygems/ext/builder.rb:198:in each' D:/Tools/Ruby25-x64/lib/ruby/2.5.0/rubygems/ext/builder.rb:198:inbuild_extensions' D:/Tools/Ruby25-x64/lib/ruby/2.5.0/rubygems/installer.rb:774:in build_extensions' D:/Tools/Ruby25-x64/lib/ruby/2.5.0/rubygems/installer.rb:306:ininstall' D:/Tools/Ruby25-x64/lib/ruby/2.5.0/rubygems/resolver/specification.rb:97:in install' D:/Tools/Ruby25-x64/lib/ruby/2.5.0/rubygems/request_set.rb:168:inblock in install' D:/Tools/Ruby25-x64/lib/ruby/2.5.0/rubygems/request_set.rb:156:in each' D:/Tools/Ruby25-x64/lib/ruby/2.5.0/rubygems/request_set.rb:156:ininstall' D:/Tools/Ruby25-x64/lib/ruby/2.5.0/rubygems/dependency_installer.rb:409:in install' mkrf_conf.rb:35:inrescue in

' mkrf_conf.rb:28:in `
'

rake 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

ViugiNick commented 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

JianminWu commented 5 years ago

issue has resolved..I removed MinGW,everthing is ok...Maybe there is some conflict..Thanks !