有人在 Mac OS Yosemite 上成功安装过 Xiki 吗?开发人员的建议是它只与 Ruby 1.9.3 兼容,但 Yosemite 附带 2.0.0,我无法为 Mac OS 10.10 成功构建 1.9.3(没有预烘焙的二进制文件,这不足为奇)。
问问题
411 次
1 回答
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
于 2014-07-08T12:31:39.657 回答