装了很多次,还是不行,不知道哪里出了问题,恳请路过的大侠给出明确指点。。 在这里先拜谢了。。。
d:\>gem install ruby-debug19 --no-ri --no-rdoc
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.
D:/worksoft/ruby-1.9.3-p0/bin/ruby.exe extconf.rb
checking for vm_core.h... no
D:/worksoft/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/ruby_core_source-0.1.5/lib/ru
by_core_source.rb:39: Use RbConfig instead of obsolete and deprecated Config.
checking for vm_core.h... no
*** 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:/worksoft/ruby-1.9.3-p0/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
D:/worksoft/ruby-1.9.3-p0/lib/ruby/1.9.1/fileutils.rb:1400:in `rmdir': Directory
not empty - C:/Users/King/AppData/Local/Temp/d20120113-5496-cwb0xb/ruby-1.9.3-p
0/lib (Errno::ENOTEMPTY)
from D:/worksoft/ruby-1.9.3-p0/lib/ruby/1.9.1/fileutils.rb:1400:in `bloc
k in remove_dir1'
from D:/worksoft/ruby-1.9.3-p0/lib/ruby/1.9.1/fileutils.rb:1414:in `plat
form_support'
from D:/worksoft/ruby-1.9.3-p0/lib/ruby/1.9.1/fileutils.rb:1399:in `remo
ve_dir1'
from D:/worksoft/ruby-1.9.3-p0/lib/ruby/1.9.1/fileutils.rb:1392:in `remo
ve'
from D:/worksoft/ruby-1.9.3-p0/lib/ruby/1.9.1/fileutils.rb:770:in `block
in remove_entry'
from D:/worksoft/ruby-1.9.3-p0/lib/ruby/1.9.1/fileutils.rb:1444:in `bloc
k (2 levels) in postorder_traverse'
from D:/worksoft/ruby-1.9.3-p0/lib/ruby/1.9.1/fileutils.rb:1444:in `bloc
k (2 levels) in postorder_traverse'
from D:/worksoft/ruby-1.9.3-p0/lib/ruby/1.9.1/fileutils.rb:1448:in `post
order_traverse'
from D:/worksoft/ruby-1.9.3-p0/lib/ruby/1.9.1/fileutils.rb:1443:in `bloc
k in postorder_traverse'
from D:/worksoft/ruby-1.9.3-p0/lib/ruby/1.9.1/fileutils.rb:1442:in `each
'
from D:/worksoft/ruby-1.9.3-p0/lib/ruby/1.9.1/fileutils.rb:1442:in `post
order_traverse'
from D:/worksoft/ruby-1.9.3-p0/lib/ruby/1.9.1/fileutils.rb:1443:in `bloc
k in postorder_traverse'
from D:/worksoft/ruby-1.9.3-p0/lib/ruby/1.9.1/fileutils.rb:1442:in `each
'
from D:/worksoft/ruby-1.9.3-p0/lib/ruby/1.9.1/fileutils.rb:1442:in `post
order_traverse'
from D:/worksoft/ruby-1.9.3-p0/lib/ruby/1.9.1/fileutils.rb:768:in `remov
e_entry'
from D:/worksoft/ruby-1.9.3-p0/lib/ruby/1.9.1/fileutils.rb:692:in `remov
e_entry_secure'
from D:/worksoft/ruby-1.9.3-p0/lib/ruby/1.9.1/tmpdir.rb:85:in `mktmpdir'
from D:/worksoft/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/ruby_core_source
-0.1.5/lib/ruby_core_source.rb:60:in `block in create_makefile_with_core'
from D:/worksoft/ruby-1.9.3-p0/lib/ruby/1.9.1/tempfile.rb:316:in `open'
from D:/worksoft/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/ruby_core_source
-0.1.5/lib/ruby_core_source.rb:51:in `create_makefile_with_core'
from extconf.rb:19:in `<main>'
Requesting http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p0.tar.gz
Downloading http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p0.tar.gz
Gem files will remain installed in D:/worksoft/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/linecache19-0.5.12 for inspection.
Results logged to D:/worksoft/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/linecache19-0.5.12/ext/trace_nums/gem_make.out