【发布时间】:2013-04-09 01:29:06
【问题描述】:
我正在尝试安装 node.js,但仍在运行 OSX 10.6.8,因此我坚持使用 XCode 3(使用 3.2)。
我的第一个问题是我无法让自制软件识别 XCode 3.2。当我运行brew -v doctor 时,我得到以下输出(在修复了一些其他问题之后):
Homebrew 0.9.4
Warning: Setting DYLD_* vars can break dynamic linking.
Set variables:
DYLD_LIBRARY_PATH
Warning: Xcode not installed
Most stuff needs Xcode to build: http://developer.apple.com/xcode/
我只能找到 XCode 4.xx 的修复程序,它们对我不起作用。如何将自制软件指向我的 XCode? (我也不太明白应该怎么设置DYLD_LIBRARY_PATH...)
当我运行 brew install node 时,我被告知未安装 xcode(肯定是),还有这个错误:IOError: [Errno 2] No such file or directory: 'out/Release/node'
我看到的修复与 XCode 相关(各种 xcode-select -switch 修复),但它们对我不起作用,因为这些修复适用于 XCode 4.xx。
当我运行详细版本时,还会出现此错误:
creating ./config.gypi
creating ./config.mk
sh: /usr/bin/usr/bin/xcodebuild: No such file or directory
/usr/bin/usr/bin/xcodebuild fails with 32512 - Unknown error: 32512
gyp: Error 69 running xcodebuild
非常感谢您对此的帮助。
感谢阅读。
【问题讨论】:
标签: node.js osx-snow-leopard homebrew xcode3.2