原文地址: 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 commandinfo 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, andgitk
works now.
最后不知道brew 命令安装软件的可以看一下我的这篇博客:http://blog.csdn.net/natural_story/article/details/50580820