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

文章详细介绍了在Mac上使用brew安装Git后,GitK无法正常运行时,通过安装TCL来解决未知颜色名称错误的方法。包括检查Tcl/Tk版本、运行wish并使用infopatchlevel命令确认兼容性问题,最终通过brew cask install tcl成功修复。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

原文地址: 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.youkuaiyun.com/natural_story/article/details/50580820


                
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值