gpt4 book ai didi

git - MAC + git gui->软件包 "Tcl": have 8. 5.9版本冲突,需要8.6

转载 作者:行者123 更新时间:2023-12-03 16:22:18 28 4
gpt4 key购买 nike

我从终端单击git gui时收到此错误:

version conflict for package "Tcl": have 8.5.9, need 8.6

您能帮我解决这个问题吗? (使用mac)

最佳答案

这看起来像Homebrew/homebrew-core issue 49122

On Mac 10.14, after my last brew update, latest git (2.5.0) fails when I run git gui:

version conflict for package "Tcl": have 8.5.9, need 8.6

I tried installing tcl-tk (which does install 8.6) but it didn't fix the issue, so I assume git doesn't use the version installed with brew.



可能的修复: Homebrew/homebrew-core PR 49136

As a tcl-tk dependency for Git is not considered acceptable, this change moves the gitk and git-gui tools to a new formula and sets the NO_TCLTK flag when building Git.

Additionally, this change ensures that we no longer install a .app for git-gui.
Instead, we use the homebrew-installed tcl-tk wish binary to run git-gui and gitk.



3天后, Mike McQuaid刚刚接受了 Alexander Richardson的修复程序,此问题现已解决。

Homebrew/homebrew-core commit dfa3ccf

git-gui: split from git formula.

As a tcl-tk dependency for Git is not considered acceptable, this change moves the gitk and git-gui tools to a new formula and sets the NO_TCLTK flag when building Git.

Additionally, this change ensures that we no longer install a .app for git-gui.
Instead, we use the homebrew-installed tcl-tk wish binary to run git-gui and gitk.

Without this change, all dialogs that are shown by git-gui are blank windows and can only be closed by memorizing the location of the buttons.

关于git - MAC + git gui->软件包 "Tcl": have 8. 5.9版本冲突,需要8.6,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59891522/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com