尝试在Windows 7中安装总结gem并出错

时间:2016-07-12 19:52:18

标签: ruby rubygems

我尝试在我的Windows PC上安装摘要gem并发出错误:

ERROR:  Error installing summarize:
        ERROR: Failed to build gem native extension.

    C:/RailsInstaller/Ruby2.2.0/bin/ruby.exe extconf.rb
creating Makefile
C:/RailsInstaller/Ruby2.2.0/bin/ruby.exe extconf.rb
creating Makefile

make "DESTDIR=" clean

make "DESTDIR="
generating summarize-i386-mingw32.def
compiling article.c
In file included from article.c:25:0:
libots.h:24:18: fatal error: glib.h: No such file or directory
compilation terminated.
make: *** [article.o] Error 1

make failed, exit code 2

是否有可能轻易克服这个问题?解决方案是什么?

0 个答案:

没有答案