Other Help Topics :: Upgrading TCL



export PATH="/opt/tcltk-8.4/bin:PATH"

That fixes it temp.. it gives me 8.4 instead of 8.3.3 but it wont go for the processes in my background (like the eggdrop..) i restarted the whole damn thing and it still wont use the 8.4..
When i switch user or reconnect to my SSH .. its back to 8.3.3. again.

There's your problem. When you type your wish/tclsh commands, it's finding the other version. You can either remove, rename, or relink. Or you can enter the 8.4 command (tclsh8.4) since it appears you have a symlink to it (did you do that? I thought UCIs shouldn't make symlinks outside /opt by default).
Quote
export PATH="/opt/tcltk-8.4/bin:PATH"

That's an ugly remedy. Are you running frugal or hard drive or what?

Quote (lucky13 @ Dec. 03 2007,13:26)
There's your problem. When you type your wish/tclsh commands, it's finding the other version. You can either remove, rename, or relink. Or you can enter the 8.4 command (tclsh8.4) since it appears you have a symlink to it (did you do that? I thought UCIs shouldn't make symlinks outside /opt by default).

I really dont know what that all means..
What do i have to type to remove all the 8.3 version TCL links.. and keep the 8.4?

Do the following:
ls -l /usr/bin/tclsh
ls -l /usr/bin/wish

If these show a link back to the 8.3 verisons of each, then just make new links to the 8.4 versions in /opt/tcltk-etc:

1. Remove the old symlinks as root:
rm -f /usr/bin/tclsh /usr/bin/wish

2. Make new sym-links in your $PATH, e.g.:
ln -s /opt/tcltk-8.4/bin/tclsh8.4 /opt/bin/tclsh
ln -s /opt/tcltk-8.4/bin/wish8.4 /opt/bin/wish

Next Page...
original here.