2.7.0 gitk 打不开 Error in startup script: unknown color name "lime"

来源:互联网 发布:鸭鸭网络平台 编辑:程序博客网 时间:2024/06/15 00:22
原文地址: http://stackoverflow.com/questions/34637896/gitk-will-not-start-on-mac-unknown-color-name-lime
我安装git的使用是 brew install git的方式安装的。最近安装git后发现gitk打不开了
报了以下error info:
Error in startup script: unknown color name "lime"    (processing "-fore" option)    invoked from within"$ctext tag conf m2 -fore [lindex $mergecolors 2]"    (procedure "makewindow" line 347)    invoked from within"makewindow"    (file "/usr/local/bin/gitk" line 12434)

解决方法是:brew cask install tcl,Keith B solved this problem,this is the origin answer:

You can check your version of Tcl/Tk by running wish and using the command info patchlevel. It appears that git 2.7.0, Tcl/Tk 8.5.9, and OS X 10.11 El Capitan do not work well together.

I solved this problem by doing brew cask install tcl, which installed 8.6.4, and gitk works now.

最后不知道brew 命令安装软件的可以看一下我的这篇博客:http://blog.csdn.net/natural_story/article/details/50580820
                                             
0 0
原创粉丝点击