I am getting this error when I click git gui from my terminal:
version conflict for package "Tcl": have 8.5.9, need 8.6
Can you help me to resolve this? (using mac)
Installing ActiveState tcltk 8.6.9 and compiling from source solves it for me (MacOs 10.15):
brew reinstall git -s
This looks like 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.6I 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.
Possible fix: Homebrew/homebrew-core PR 49136
As a tcl-tk dependency for Git is not considered acceptable, this change moves the
gitkandgit-guitools to a new formula and sets theNO_TCLTKflag when building Git.Additionally, this change ensures that we no longer install a
.appforgit-gui.
Instead, we use thehomebrew-installed tcl-tkwish binary to rungit-guiandgitk.
3 days later, Mike McQuaid just accepted a fix from Alexander Richardson, and the issue is now closed.
Homebrew/homebrew-core commit dfa3ccf
git-gui: split fromgitformula.As a
tcl-tkdependency for Git is not considered acceptable, this change moves thegitkandgit-guitools to a new formula and sets theNO_TCLTKflag when building Git.Additionally, this change ensures that we no longer install a
.appforgit-gui.
Instead, we use the homebrew-installedtcl-tkwish binary to rungit-guiandgitk.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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With