$ brew install libyaml
==> Downloading http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz
Already downloaded: /Library/Caches/Homebrew/libyaml-0.1.4.tar.gz
==> ./configure --prefix=/usr/local/Cellar/libyaml/0.1.4
==> make install
Warning: Could not link libyaml. Unlinking...
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
You can try again using `brew link libyaml'
==> Summary
/usr/local/Cellar/libyaml/0.1.4: 7 files, 336K, built in 9 secondsOS 10.8.2我如何解决这个问题?我该怎么做?
发布于 2013-03-26 10:25:16
从brew doctor开始,它将显示brew安装程序的错误。
您可能会看到类似这样的内容:“警告: /usr/local/lib/pkgconfig isn writable”。
它会给你一个建议:“你可能应该chown /usr/local/lib/pkgconfig”。
这意味着:sudo chown {your-user-name} /usr/local/lib/pkgconfig
然后,您需要使用以下命令链接这些文件:brew link libyaml
如果这不起作用,希望brew doctor的输出将为您提供继续搜索所需的足够信息。
https://stackoverflow.com/questions/15449581
复制相似问题