Article View: aus.computers.linux
Article #54569Re: Upgrading Tcl/tk
From: James Cribb
Date: Sat, 11 Oct 1997 00:00
Date: Sat, 11 Oct 1997 00:00
44 lines
2190 bytes
2190 bytes
Have you worked this out yet?
skribe@amber.SPAM.WONDERFUL.SPAM.com.au (skribe) writes:
|
| I'm attempting to upgrade Tcl/Tk from the standard ones that come with
| Slackware 3.0 (Tcl7.4) with Tcl/Tk8.0. Everything went fine with
| the new install, it compiled, it installed, but my system keeps using the
| old version.
Doing a "make install" of tcl8 won't overwrite previous versions of Tcl.
From unix/README:
the installed versions of tclsh, libtcl.a, and libtcl.so have a
version number in their names, such as "tclsh8.0" or "libtcl8.0.so";
to use the installed versions, either specify the version number
or create a symbolic link (e.g. from "tclsh" to "tclsh8.0").
So after a make install, "tclsh" still means whatever it did before. I
advise you to leave it this way (ie, don't create the sym link), since
8.0 is not backward compatible with 7.4 and you sound like you could
have programs written for 7.4.
| Is there a config file and where is it likely to be and under what name?
There isn't really a config file.
| I've placed the environment variables in /etc/profile
You shouldn't need to mess with environment variables.
| but the program being called is still the older version and
| I get the following error message:
|
| application-specific initialization failed: version mismatch: library
| scripts expect Tcl version 7.5b1 or later but the loaded version is
| only 7.4
This message comes from the run-time initialisation script "init.tcl".
If you only change $TCL_LIBRARY, you are telling "tclsh" (the tclsh
binary from 7.4) to use the library scripts from 8.0, which won't work.
If you are sure you want "tclsh" to mean tclsh8.0, create the link as
suggested in the unix/README above.
Technical Details
Message-ID:
<61mm92$v7h$1@the-fly.zip.com.au>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<619f7v$bqc$1@opera.iinet.net.au>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 102983,f7db96d5dd92d132,start X-Google-Attributes: gid102983,public From: jamesc@zipper.zip.com.au (James Cribb) Subject: Re: Upgrading Tcl/tk Date: 1997/10/11 Message-ID: <61mm92$v7h$1@the-fly.zip.com.au> X-Deja-AN: 279651811 References: <619f7v$bqc$1@opera.iinet.net.au> Organization: The Zipsters Newsgroups: aus.computers.linux