标题: 我又来纠结了…… [打印本页] 作者: yangff 时间: 2011-6-3 10:18 标题: 我又来纠结了…… C:\DevKit>gem install curb
Building native extensions. This could take a while...
ERROR: Error installing curb:
ERROR: Failed to build gem native extension.
C:/Ruby192/bin/ruby.exe extconf.rb
checking for curl-config... no
checking for main() in -lcurl... 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.
Try passing --with-curl-dir or --with-curl-lib and --with-curl-include
options to extconf.
Gem files will remain installed in C:/Ruby192/lib/ruby/gems/1.9.1/gems/curb-0.7.
15 for inspection.
Results logged to C:/Ruby192/lib/ruby/gems/1.9.1/gems/curb-0.7.15/ext/gem_make.o
ut