Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

upgrading my tcl version

Status
Not open for further replies.

tomdagliusa

Programmer
May 31, 2000
34
US
I'm using tcl/tk version 8.0 on an old RH (6.2).

[lnx /etc]$ more redhat-release
Red Hat Linux release 6.2 (Zoot)
[lnx /etc]$ whereis tcl
tcl: /usr/bin/tcl /usr/lib/tcl8.0 /usr/include/tcl.h
[lnx /etc]$ whereis tk
tk: /usr/lib/tk8.0 /usr/include/tk.h /usr/man/mann/tk.n.gz
[lnx /etc]$

I'm running into an issue where I believe I need to upgrade the tcl/tk library I'm using to 8.3. Will that require a kernel rebuild, or do I have to import some new modules, or both, neither?

Thanks,
Tom
 
1)Go to activestate( and download their excellent package.
2)Use their installer to install it.
3)Next run something like this:
for x in $(type -p wish ; type -p tclsh)
do
mv $x $x.old
done
4)Finally
ln -s /usr/local/ActiveTcl/bin/tclsh /usr/bin/tclsh
ln -s /usr/local/ActiveTcl/bin/wish /usr/bin/wish


It's as simple as that and you still have the old packages
and libs to use for compatibility with older scripts.
 
Marsd,

Thanks for the suggestions. I tried to do an rpm, but I ran into so many dependancies that I gave up. I ended up porting (ftp of a g-zip/tar file) over to a system with the proper version of tcl, and I'm working fine.

Thanks again,
Tom
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top