From: Allan Chin Date: 2010-11-17T03:30:45+09:00 Subject: Re: Fast Debugger (Ruby 1.9.2, DevKit 4.5.0, JDK 6u22, NetBeans 6.9.1) I only copied the DevKit over the existing Ruby install because there were a few blogs which mentioned to do that. But at any rate, I installed the DevKit in a separate folder and installed it via the "init" and "install" scripts. They worked ok, but the ruby-debug19 seems to fail the same way. ========================================================================== D:\Downloads\Ruby\DevKit>ruby dk.rb init [INFO] found RubyInstaller v1.9.2 at C:/Ruby192 Initialization complete! Please review and modify the auto-generated 'config.yml' file to ensure it contains the root directories to all of the installed Rubies you want enhanced by the DevKit. D:\Downloads\Ruby\DevKit>ruby dk.rb install [INFO] Installing C:/Ruby192/lib/ruby/1.9.1/rubygems/defaults/operating_system.r b [INFO] Installing C:/Ruby192/lib/ruby/site_ruby/devkit.rb D:\Downloads\Ruby\DevKit>gem install ruby-debug19 -p http://web-proxy:8080 Temporarily enhancing PATH to include DevKit... Building native extensions. This could take a while... ERROR: Error installing ruby-debug19: ERROR: Failed to build gem native extension. C:/Ruby192/bin/ruby.exe 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:/Ruby192/bin/ruby --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:/Ruby192/lib/ruby/1.9.1/mkmf.rb:368:in `try_do': The complier failed to genera te an executable file. (RuntimeError) You have to install development tools first. from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:452:in `try_cpp' from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:834:in `block in have_header' from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:693:in `block in checking_for' from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:280:in `block (2 levels) in postp one' from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:254:in `open' from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:280:in `block in postpone' from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:254:in `open' from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:276:in `postpone' from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:692:in `checking_for' from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:833:in `have_header' from extconf.rb:15:in `block in
' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/ruby_core_source-0.1.4/lib/ruby _core_source.rb:18:in `call' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/ruby_core_source-0.1.4/lib/ruby _core_source.rb:18:in `create_makefile_with_core' from extconf.rb:20:in `
' Gem files will remain installed in C:/Ruby192/lib/ruby/gems/1.9.1/gems/linecache 19-0.5.11 for inspection. Results logged to C:/Ruby192/lib/ruby/gems/1.9.1/gems/linecache19-0.5.11/ext/tra ce_nums/gem_make.out D:\Downloads\Ruby\DevKit> ========================================================================== By the way, the "smoke test", gem install rdiscount --platform=Ruby -p http://web-proxy:8080 fails the same way. -- Posted via http://www.ruby-forum.com/.