在Mac OS 10.10上安装Xiki

时间:2014-07-01 17:36:42

标签: osx-yosemite xiki osx-yosemite-beta

有没有人在Mac OS Yosemite上成功安装过Xiki?开发人员的建议是它只与Ruby 1.9.3兼容,但Yosemite附带2.0.0,我无法为Mac OS 10.10成功构建1.9.3(没有预先出现的二进制文件,毫不奇怪)。

1 个答案:

答案 0 :(得分:0)

你是如何为10.9.3编译的?

我得到了:

sudo gem install xiki --pre

构建原生扩展。这可能需要一段时间......

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

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

make "DESTDIR="
compiling generator.c
linking shared-object json/ext/generator.bundle
clang: error: unknown argument: '-multiply_definedsuppress' [-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
make: *** [generator.bundle] Error 1


Gem files will remain installed in /Library/Ruby/Gems/2.0.0/gems/json-1.8.1 for inspection.
Results logged to /Library/Ruby/Gems/2.0.0/gems/json-1.8.1/ext/json/ext/generator/gem_make.out