Greetings.
I use Ubuntu 8.04 and have installed ActiveTcl 8.4.19.0 and Tcl Dev Kit 4.1.0 (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 -prefix /opt/ActiveTcl-8.4/bin/base-tcl-linux-ix86 -out /home/douglas/Software/Projects/TCL_TK/Ejecutables/moretest_zoomx5_netop /home/douglas/Software/Projects/TCL_TK/moretest_zoomx5_netop.tcl -pkg Expect -pkg http -pkg base64
At the moment I have the following files in C:\Tcl\bin:
base-tcl-linux-ix86
base-tcl-linux-ix86.so
moretest_zoomx5_netop.tcl is a script that use expect, base64 y http and below it is part of the code:
#!/bin/sh
# \
exec tclsh "$0" ${1+"$@"}
#
# Script Active Tcl para configurar el modem del cliente
#
# Usa:
# tclsh como interprete
# tclapp herramienta para generar el ejecutable
#
#SCRIPT DE CONFIGURACIÓN DE MODEM MODELO ZOOM_5551
#VERSION: 1.1
package require Expect
package require base64 ;# tcllib
package require http
# Turn off echo logging to the user by default
exp_log_user 0
# We want to operate very simply - force a dumb terminal mode
set env(TERM) dumb
#set timeout 120
#SCRIPT DE CONFIGURACION DE MODEM HAYES ADSL DUO VIA HTTP
#DIRECCION IP DE ACCESO A MODEM
global puerto_acceso
#PASSWORD DE ACCESO A MODEM
global passwd_acceso
global headers
...
...
..
..
.
From gnome-terminal I get the following error message:
info Expanding...
info Following only profile dependencies
info P package http 2.5.5 tcl ...
info
info Issues...
error package 'Expect -is profile' is not known (Specified, Not recoverable)
error package 'base64 -is profile' is not known (Specified, Not recoverable)
error
error Aborting
error
Please help my to find a solution, my SO is Ubuntu 8.04
My email is: bermudezdouglas@gmail.com