Greetings.
I have installed ActiveTcl 8.4.18.0 and TclDevKit 4.0.4 (trial license), I need to generate a executable of my script tcl.
I use tclsh and it works well, but, generating an executable from TclDevKit with the following command:
tclapp.exe -prefix C:\Tcl\bin\base-tk-thread-win32-ix86.exe -out myapp.exe C:\Tcl\demos\Expect\mejorcito.tcl
At the moment I have the following files in C:\Tcl\bin:
base-tcl-thread-win32-ix86.exe
base-tk-thread-win32-ix86.exe
mejorcito.tcl is a script that use expect and below it is the code:
#!/bin/sh
# \
exec tclsh "$0" ${1+"$@"}
# This is required to declare that we will use Expect
package require Expect
# 1. Open a telnet session
spawn telnet 10.0.0.3
I get the following error message:
can't find package Expect while executing "package require Expect" (file "C:/TclDevKit/bin/myapp.exe/lib/application/Tcl/demos/Expect/mejorcito.tcl" line 37) invoked from within "source $startup" (file "C:/TclDevKit/bin/myapp.exe/main.tcl" line 51)
Please help my to find a solution
My email is: bermudezdouglas@hotmail.com
I am trying to install on windows 2003 server. Perl -v works from a dos prompt but none of the perl examples work in iis...The extensions are in and the directory has scripts and execuatable permissions
Well, if the command line you have posted is not truncated then you are missing a '-pkg Expect' to tell TclApp that it should pack Expect into the starpack.
Hi All,
Iam using TDK Trial version to wrap my script into standalone in LINUX.
I used below command line options.
"tclapp -prefix /users/udk/TCL/bin/base-tcl-linux-ix86 -out /users/udk/test -pkgref Expect /users/udk/sowm.tcl"
But, I got an error shown below,
"package 'Expect -is profile' is not known (Specified , Not recoverable)
Please help me in This Regard.
Any help is appreciated.
Thanks in advance
Regards,
sowm
Hi All,
Iam using TDK Trial version to wrap my script into standalone in LINUX.
I used below command line options.
"tclapp -prefix /users/udk/TCL/bin/base-tcl-linux-ix86 -out /users/udk/test -pkgref Expect /users/udk/sowm.tcl"
But, I got an error shown below,
"package 'Expect -is profile' is not known (Specified , Not recoverable)
Please help me in This Regard.
Any help is appreciated.
Thanks in advance
Regards,
sowm
Hi All,
Iam using TDK Trial version to wrap my script into standalone in LINUX.
I used below command line options.
"tclapp -prefix /users/udk/TCL/bin/base-tcl-linux-ix86 -out /users/udk/test -pkgref Expect /users/udk/sowm.tcl"
But, I got an error shown below,
"package 'Expect -is profile' is not known (Specified , Not recoverable)
Please help me in This Regard.
Any help is appreciated.
Thanks in advance
Regards,
sowm
Hi All,
Iam using TDK Trial version to wrap my script into standalone in LINUX.
I used below command line options.
"tclapp -prefix /users/udk/TCL/bin/base-tcl-linux-ix86 -out /users/udk/test -pkgref Expect /users/udk/sowm.tcl"
But, I got an error shown below,
"package 'Expect -is profile' is not known (Specified , Not recoverable)
Please help me in This Regard.
Any help is appreciated.
Thanks in advance
Regards,
sowm
Thank you very much Andreask, everything I work correctly