Re: tclapp wrap problem in HP unix system



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


.



Relevant Pages

  • Re: Problems installing XP SP2!
    ... package source directory and make sure the that XPSPS2sms.exe file exists in ... in your SMS Program command line property. ... > Executing program as a script ... > OnOptionalExecutionRequests failed for program Automated upgrade from XP ...
    (microsoft.public.sms.admin)
  • how to run android after installation ?
    ... after executing make i m getting some warnings from "fd.c " like ... then i executed "tcl" command to enter tcl shell from there i executed ... to chk whether package is loaded or not by giving the command ...
    (comp.lang.tcl)
  • Results for DTEXEC command
    ... I am executing a SSIS package from Management Studio using the DTEXEC ... In SQLSERVER 2000, i am getting those results in Query Analyzer by ... executing the package using the command DTSRUN. ...
    (microsoft.public.sqlserver.dts)
  • Re: installed packages in Tcl
    ... interpreter I have. ... what command to type or what correct path to look ... Type "package names". ...
    (comp.lang.tcl)
  • Re: Ran ccmclean on site server, what are implications???
    ... i ran the synctool command line in a cmd running under system account using ... The sync tool only has to retrieve the files from the distribution share ... only created the package folder. ... baffles me that the advanced client that resides on the sms ...
    (microsoft.public.sms.setup)