Re: tclapp wrap problem in HP unix system
- From: mgma <miguiman@xxxxxxxxx>
- Date: Thu, 06 Sep 2007 12:58:19 -0000
Hi again,
The only thing that comes to my mind is that the command "package
require Tk" could be missing or failing. Were you using before an
interpreter like wish, that doesn't need the package require?
A problem that I've had sometimes in Unix is that the load of Tk fails
if the X server is not accessible. This happens when you're working
remotely via telnet.
Sorry that I can't help more.
Regards,
Miguel
On 6 sep, 03:36, rolance <tomstone...@xxxxxxxxxxx> wrote:
On 9 6 , 1 34 , mgma <migui_...@xxxxxxxx> wrote:
Maybe you can use the tool "tclvfse" (virtual filesystem explorer),
that comes with TclDevKit to see what's inside your executable. If Tk
is embedded, there should be something like "tclapp-out/lib/tk8.4"
inside the virtual filesystem.
In the scripts that I use at work, we build the executables with the
command:
% tclsh sdx.kit wrap output-executable.bin -runtime tclkit.bin
Where tclkit.bin is itself an embedded executable that contains Tk and
some other stuff. You can get this runtime from the internet.
Check which interpreter you are using as runtime for building your
executable. I think that if it doesn't embed Tk (use again tclvfse),
you have to add it manually).
Good luck!
Miguel
On 5 sep, 06:09, rolance <tomstone...@xxxxxxxxxxx> wrote:
Hi everyone!
My work software ver TclDevKit-4.0.1, ActiveTcl-8.4.15
The Tclapp I already use it for a period time and go smoothly ,
recently I will tranfer my scripts into UNIX system.
when I execuate wrapped file, it show below message ??? it seem the
basic TK don't embeded !
in debug mode it's work!
error message:
$ tclapp-out
invalid command name "canvas"
while executing
"canvas .c "
(file "/opt/TclDevKit-4.0/bin/tclapp-out/lib/application/
rotate.tcl" line 108)
invoked from within
"source $startup"
(file "/opt/TclDevKit-4.0/bin/tclapp-out/main.tcl" line 21)
sample script:
canvas .c
pack .c -fill both -expand 1
can someone give me some advice ---> system setup error or some
parameters loss!
BR
Rolance- -
- -
HI Miguel
Thank for your advice!
I check the VFS through tclvfse, the TK8.4 is embeded!
Do I miss some things (env parameter)?
When I use Tclapp GUI interface, I never add interpreter, some of my
scripts only contain Iwidgets it worked after tclapp complier?
why?
could you give me some direction?
Thanks
BR
Rolance
.
- Follow-Ups:
- Re: tclapp wrap problem in HP unix system
- From: rolance
- Re: tclapp wrap problem in HP unix system
- References:
- tclapp wrap problem in HP unix system
- From: rolance
- Re: tclapp wrap problem in HP unix system
- From: mgma
- Re: tclapp wrap problem in HP unix system
- From: rolance
- tclapp wrap problem in HP unix system
- Prev by Date: Re: how to compile a program written in incrtcl
- Next by Date: Re: tile + 8.4.x vs ttf::* from 8.5.x
- Previous by thread: Re: tclapp wrap problem in HP unix system
- Next by thread: Re: tclapp wrap problem in HP unix system
- Index(es):
Relevant Pages
|