gem install mechanize导致libxml错误(windows 7)

时间:2013-11-07 13:11:41

标签: ruby mechanize

以下是我尝试命令' gem install mechanize '时的裁剪错误

Building native extensions.  This could take a while...
C:/Ruby/bin/ruby.exe extconf.rb
checking for libxml/parser.h... no
-----
libxml2 is missing.  please visit http://nokogiri.org/tutorials/installing_nokog
iri.html for help with installing dependencies.
-----
 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.

然后我尝试使用' gem install libxml '安装libxml并返回以下错误

ERROR:  Possible alternatives: eimxml, eim_xml, irxml, libacl, libowl

如果有任何EXE或预编译安装程序可以安装具有所有依赖项的机制,那就更好了。

我正在使用Windows7(64位)和ruby 2.0.0p247(2013-06-27)[x64-mingw32]

0 个答案:

没有答案