Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (3) </ 1 [2] 3 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Upgrading TCL, ...< Next Oldest | Next Newest >
QQleQ Offline





Group: Members
Posts: 6
Joined: Dec. 2006
Posted: Dec. 03 2007,18:19 QUOTE

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.
Back to top
Profile PM 
lucky13 Offline





Group: Members
Posts: 1478
Joined: Feb. 2007
Posted: Dec. 03 2007,18:26 QUOTE

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).

--------------
"It felt kind of like having a pitbull terrier on my rear end."
-- meo (copyright(c)2008, all rights reserved)
Back to top
Profile PM WEB 
lucky13 Offline





Group: Members
Posts: 1478
Joined: Feb. 2007
Posted: Dec. 03 2007,18:27 QUOTE

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

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


--------------
"It felt kind of like having a pitbull terrier on my rear end."
-- meo (copyright(c)2008, all rights reserved)
Back to top
Profile PM WEB 
QQleQ Offline





Group: Members
Posts: 6
Joined: Dec. 2006
Posted: Dec. 03 2007,18:28 QUOTE

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?
Back to top
Profile PM 
lucky13 Offline





Group: Members
Posts: 1478
Joined: Feb. 2007
Posted: Dec. 03 2007,18:34 QUOTE

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


--------------
"It felt kind of like having a pitbull terrier on my rear end."
-- meo (copyright(c)2008, all rights reserved)
Back to top
Profile PM WEB 
13 replies since Dec. 03 2007,17:30 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (3) </ 1 [2] 3 >/
reply to topic new topic new poll
Quick Reply: Upgrading TCL

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code