1
我无法用TclDevKit5.2包装最简单的TCL应用程序。Tcl开发工具包:找不到包装starkit
我在64位的CentOS,这里笏uname -a
回报:
Linux hp1 2.6.18-194.11.1.el5 #1 SMP Tue Aug 10 19:05:06 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
当键入:
/opt/TclDevKit-5.2/bin/tclapp -out wrap empty.tcl
(这里empty.tcl是一个空文件)其生成的./wrap
可执行文件,然而当试图运行./wrap
时,它报告如下:
can't find package starkit
while executing
"package require starkit"
(file "./wrap" line 5)
这里是./wrap
第一行:
#!/bin/sh
# \
exec tclsh "$0" ${1+"[email protected]"}
##
package require starkit
starkit::header mk4 -readonly
##
# here goes the binary executable ....
我到底做错了什么? starkit
包位于何处?也许我必须添加一些东西到add_path
?
我使用TclDevKit的21天试用版,而这里记录它报道而产生./wrap
:
info | Tcl Dev Kit TclApp
info | Copyright (C) 2001-2010 ActiveState Software Inc. All rights reserved.
info | Licensed to Trial User (Trial license, serial number *6928738*).
info |
info | Embedding license information into wrap result as comments.
info |
info | Expires: 18-11-2010.
info |
info | WARNING: All applications generated by this trial version
info | will also stop working on 18-11-2010.
info Expanding...
info Following only profile dependencies
info
info Issues...
info
notice Packages ...
notice * No packages
info Inserting "tclsh" into starkit header.
info Inserting "-readonly" into starkit header.
info Inserting TEApot metadata
info Nothing to insert
info
notice Extending the list of provided packages
info
info F 0B /home/vminasyan/workspace/tests/TclDevKit/empty.tcl
info
info Generated wrap