小编Hel*_*len的帖子

快速干扰器安装问题

由于存在问题,我很难安装我想要的任何红宝石宝石fast-stemmer.我把错误放在了下面.

Building native extensions.  This could take a while...
ERROR:  Error installing fast-stemmer:
ERROR: Failed to build gem native extension.

/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby extconf.rb
creating Makefile

make "DESTDIR=" clean

make "DESTDIR="
compiling porter.c
porter.c:359:27: warning: '&&' within '||' [-Wlogical-op-parentheses]
  if (a > 1 || a == 1 && !cvc(z, z->k - 1)) z->k--;
            ~~ ~~~~~~~^~~~~~~~~~~~~~~~~~~~
porter.c:359:27: note: place parentheses around the '&&' expression to silence this warning
  if (a > 1 || a == 1 && !cvc(z, z->k - 1)) …
Run Code Online (Sandbox Code Playgroud)

ruby gem rvm

5
推荐指数
1
解决办法
1022
查看次数

标签 统计

gem ×1

ruby ×1

rvm ×1