From: "Birt, Jeffrey" <[EMAIL PROTECTED]>

> I'm trying to figure out how to upgrade TCL/TK.

This is a good goal.  Sometimes, however, upgrading requires one to 
make changes to the application.

> When I use the System
> Inspector in VTCL it tells me I'm running V8.3 of both TCL and TK.

Okay.

> I downloaded the binary files from ActiveState (8.4.6) which they package
> as Active TCL.  It seems to include a bunch of different libraries.

ActiveTcl is what the community calls a "Batteries Included" distribution.
That is to say, it includes the base language, Tcl, along with a number
of commonly used add-in functions/modules/extensions.

> I tried pointing VTCL to the Wish included in ActiveTCL but VCTL then
> complains about the BWidget libraries being different.  VCTL want 1.3.1
> and ActiveTCL comes with 1.7.

What version of vtcl are you using?  It appears to me that the sf.net site
has, as its latest release, version 1.6.0 .  Is that what you are
using?


> This seems somewhat confusing to me as to what TCL, TK and Wish actually
> are.  This is what I think I understand so far:
> 
> TCL is a scripting language
        Tcl is the name of the language implemented by the libtcl C code.

> TK is a graphical 'extension' to TCL
        Tk is the name associated with libtk C code - which implements an
        additional set of Tcl functions primarily associated with the
        creation of graphical display behavior.
        BWidgets is the name associated with a set of functions,
        written in Tcl/Tk, designed to make it easier to program more
        sophisticated Tcl/Tk applications by providing a set of
        pre-programmed 'megawidgets' (more complex graphical items
        made of combining the existing widgets plus some extra code).
> Wish is a TCL interpreter?

        To execute code written in Tcl, one needs to some how interpret
        that source code.  Two very common ways of doing that is making
        use of some programs created when one installs Tcl and Tk.
        When you install the Tcl libraries, you get a stand alone
        program called tclsh .  When you install the Tk add on libraries,
        you typically get a stand alone program called wish.
        These binary programs are designed to be very crude wrappers
        around the libraries - basically taking a command line argument
        that represents a file name to read and interpret.


> So then what am I trying to upgrade to get TCL/TK 8.4.6?

At a minimum, you will need to update the tcl and tk libraries.

> The TCL
> libraries (I don't think this makes sense)?

It makes great sense.

> Does Wish somehow reference
> a particular version or instance of TCL/TK?

No, for the time being, each Tk release typically includes a wish interpreter
for that version.

> If so how do I point a
> particular Wish to a particular version of TCL/TK?

Each wish is directly associated with a version of tcl and tk.
You don't need to do anything about it.

As for the error you are getting about BWidgets, I am a bit
confused about that - I just downloaded the latest vtcl
and I don't see that that error when I point to my 
version of ActiveTcl.  I do get an error about not
finding Tix, but that's fine.

The error means that some how something in your vtcl
environment - perhaps something you have saved in a preference
file - is referencing a really old version of BWidgets.

Anyone else here on the list have a tip for how this
user can solve this problem?
-- 
Tcl - The glue of a new generation.  <URL: http://wiki.tcl.tk/ >
Larry W. Virden <mailto:[EMAIL PROTECTED]> <URL: http://www.purl.org/NET/lvirden/>
Even if explicitly stated to the contrary, nothing in this posting should 
be construed as representing my employer's opinions.
-><-


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
vtcl-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/vtcl-user

Reply via email to