Error finding tcl.init when starting the Git GUI

I get the following error when trying to start the Git GUI:

Mistake in desire

Cannot find useful init.tcl in the following directories: ... [list of directories, init.tcl is in the first of the following]

This probably means that Tcl is not installed correctly.

I am running Windows 7 and I am sure that this problem is related to this, but I do not know where to start. I can, and most often, use the Bash tool, but it annoys me that this does not work.

I installed the msysgit package: Git -1.7.0.2-preview20100309.exe

+3
source share
3 answers

(win7 prof. 32bit) , , , gitk .

: git/bin/wish.exe " ", , gitk.

+3

issue 121 " TCL NTFS, Git on ".
( = Windows)

issue 301 , msysgit ( TCL), , .

, , Tcl/Tk git.cmd script .
, tclkit ( Tcl/Tk) git.cmd ( Program Files\Git\cmd), :

:gui
@if "%2"=="citool" @goto default
@start c:\opt\bin\tclkit.exe "%git_install_root%\libexec\git-core\git-gui" -- %2 %3
%4 %5 %6 %7 %8 %9

Tclkit Tcl/Tk.
Tcl Tk , , , . tcl 8.6 git-gui gitk. Tcl/Tk, , .
, ActiveTcl ActiveTcl wish.exe.
, , - libexec/git-core/git-gui.tcl script (, " ":

console show

, Tk , git-gui . (info, winfo, wm bind), .
, , "". , 'bind .', .
(<Configure>, <Map> <Visibility> ).

+4

ns2.35 ubuntu 11.04. ns2.35 ns. /.bashrc. ns, , .

, ns /usr, .

Solution: 1. Go to the root-usr-local-bin folder by specifying the following command in the terminal cd / usr / local / bin 2. There you will find the ns file. We just need to remove it by specifying the following rm ns 3 command. That's it, you're done. Now your ns start up successfully.

Hope this helps you solve the problem. Happy learning .....

0
source

Source: https://habr.com/ru/post/1744913/


All Articles