【问题标题】:Homebrew's Git 1.8.3.2 causes an 'unlink loop'Homebrew 的 Git 1.8.3.2 导致“取消链接循环”
【发布时间】: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 签出一个分支,但弹出相同的错误,此时我很困惑。

有什么想法吗?

【问题讨论】:

    标签: git homebrew


    【解决方案1】:

    此问题已在 b1ad9b8 提交到 GitHub 存储库中得到修复。从那以后我了解到它不是特定于 Git 的,所以如果您使用的是“仅限 Keg”的公式,请记住这一点。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2021-05-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-11-30
      • 1970-01-01
      • 2012-11-11
      相关资源
      最近更新 更多