You are not logged in.
I've installed git to my ~. For some reason I've got a bunch of Tcl/Tk errors when I try to run programs that depend on the Tcl/Tk binaries:
% ./git-gui ~/src/git-gui
zsh: no such file or directory: ./git-gui
[127] master
% ./git-gui.sh ~/src/git-gui
Error in startup script: invalid command name "mc"
while executing
"mc "git-gui: fatal error""
invoked from within
"if {[catch {package require Tcl 8.4} err]
|| [catch {package require Tk 8.4} err]
} {
catch {wm withdraw .}
tk_messageBox \
-icon error \
-typ..."
(file "./git-gui.sh" line 34)
[1] master
% gitk ~/src/git-gui
Error in startup script: invalid command name "mc"
while executing
"mc "Sorry, gitk cannot run with this version of Tcl/Tk.\n Gitk requires at least Tcl/Tk 8.4.""
invoked from within
"if {[catch {package require Tk 8.4} err]} {
show_error {} . [mc "Sorry, gitk cannot run with this version of Tcl/Tk.\n\
Gitk requires at le..."
(file "/home/print/bin/gitk" line 9721)
[1] master
% ~/src/git-gui
I have Tcl installed:
[1] master
% tclsh<TAB> ~/src/git-gui
tclsh tclsh8.3 tclsh8.5
It looks like Tcl is finding the tclsh8.3, even though that executable comes after the tclsh8.4 in my $PATH. I'm completely clueless of Tcl/Tk, so any hints on how to get this going much appreciated.
Thanks,
print
Last edited by print (2009-01-04 01:21:42)
% whereis whatis whence which whoami whois who
Offline
Hi,
tclsh is a link to tclsh8.3, probably. To find out, type in the terminal
ls -l `which tclsh`
Chances are that you won't get
lrwxrwxrwx 1 root root 8 oct 16 10:45 /usr/bin/tclsh -> tclsh8.5
as I do To fix it, just delete the link as root and create a new one pointing to tclsh8.5
Cheers
Offline