标题: [rUBY]继续求助 == [打印本页] 作者: yangff 时间: 2011-4-26 22:51 标题: [rUBY]继续求助 == 貌似说要什么tool= =求解释
D:\G3D\g3d-ruby\source>extconf
Host: i686-pc-mingw32
checking for main() in -lz... *** D:/G3D/g3d-ruby/source/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=D:/G3D/g3d-ruby/source
--curdir
--ruby=C:/Ruby192/bin/ruby
--with-SDL-dir
--without-SDL-dir
--with-SDL-include
--without-SDL-include=${SDL-dir}/include
--with-SDL-lib
--without-SDL-lib=${SDL-dir}/lib
--with-G3D-dir
--without-G3D-dir
--with-G3D-include
--without-G3D-include=${G3D-dir}/include
--with-G3D-lib
--without-G3D-lib=${G3D-dir}/lib
--with-zlib
--without-zlib
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:435:in `try_link0'
from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:440:in `try_link'
from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:552:in `try_func'
from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:748:in `block in have_library'
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:743:in `have_library'
from D:/G3D/g3d-ruby/source/extconf.rb:13:in `<main>' 作者: 苏小脉 时间: 2011-4-27 02:27
这货同时需要 G3D 和 SDL 的源啊。