For Programmers: Free Programming Magazines  


Home > Archive > Tcl > March 2004 > tcl/tk 8.4.5 hp11 tbcload Tclpro procomp -- Error: variable " " already ex









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author tcl/tk 8.4.5 hp11 tbcload Tclpro procomp -- Error: variable " " already ex
Mike Ellenberger

2004-03-27, 12:26 am

Building on HP11 tcl/tk 8.4.5
Application was compiled with TclPro procomp

When starting up a Tk application which has been compiled, globals are
set up by non-compiled code. When compiled modules attempt to
reference a global, warning messages are displayed "Error: variable
"whatever" already exists".

This application runs fine when not using tbc, with Tcl/Tk 8.2.3, and
with 8.4.5 binary distribution.

Has anyone seen this type of error? I'm assuming the source
distribution I have is missing a patch. Where can I find patches?

Thanks,
Mike
David Gravereaux

2004-03-27, 12:26 am

mellenbe@legato.com (Mike Ellenberger) wrote:

>Building on HP11 tcl/tk 8.4.5
>Application was compiled with TclPro procomp
>
>When starting up a Tk application which has been compiled, globals are
>set up by non-compiled code. When compiled modules attempt to
>reference a global, warning messages are displayed "Error: variable
>"whatever" already exists".
>
>This application runs fine when not using tbc, with Tcl/Tk 8.2.3, and
>with 8.4.5 binary distribution.
>
>Has anyone seen this type of error? I'm assuming the source
>distribution I have is missing a patch. Where can I find patches?
>
>Thanks,
>Mike



That bug, or one very similar to that came up about.. almost 2 years ago,
I think. The source for tbcload of the tclpro project on sourceforge has
this fixed. All you need to do is rebuild a new tbcload so it can work in
8.4

IIRC, it has to do with a changed bytecode operation from 8.3->8.4 which
one never sees on the outside, but tbcload does see it.
--
David Gravereaux <davygrvy@pobox.com>
[species: human; planet: earth,milkyway(western spiral arm),alpha sector]
Mike Ellenberger

2004-03-30, 5:50 pm

David Gravereaux <davygrvy@pobox.com> wrote in message news:<dnc460tmgaau7be0gf6qd367ta7kmlsfi6@4ax.com>...
> mellenbe@legato.com (Mike Ellenberger) wrote:
>
>
>
> That bug, or one very similar to that came up about.. almost 2 years ago,
> I think. The source for tbcload of the tclpro project on sourceforge has
> this fixed. All you need to do is rebuild a new tbcload so it can work in
> 8.4
>
> IIRC, it has to do with a changed bytecode operation from 8.3->8.4 which
> one never sees on the outside, but tbcload does see it.


Thanks David, we'll check out tclpro.

Mike
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com