【发布时间】:2013-06-30 01:39:03
【问题描述】:
我运行了 brew update,它说 1.8.3.2 可用,所以我安装它并运行 brew cleanup 以清除旧公式。但是现在当我运行brew doctor 时,它会报告以下错误:
Warning: You have unlinked kegs in your Cellar
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built. Run `brew link` on these:
curl
gettext
readline
当我按照建议brew link 时,我收到此错误:
Warning: Some keg-only formula are linked into the Cellar.
Linking a keg-only formula, such as gettext, into the cellar with
`brew link <formula>` will cause other formulae to detect them during
the `./configure` step. This may cause problems when compiling those
other formulae.
Binaries provided by keg-only formulae may override system binaries
with other strange results.
You may wish to `brew unlink` these brews:
readline
curl
gettext
我已经尝试卸载 Git 并使用 1.8.3.1 签出一个分支,但弹出相同的错误,此时我很困惑。
有什么想法吗?
【问题讨论】: