Ok. I found out the problem (I think) which turns out to be a bug
Quote:
5.3. wrapped application can't access Tcl library packages http1.0 or http2.0
Bug ID 399
The manifestation of this bug is that your wrapped application gets the error message, "can't find package http 2.0" when it calls the command:
package require http 2.0
Although the set of files in the "http" package are indeed wrapped as part of the Tcl 8.0 library script files, the package mechanism employs the "glob" command to locate packages in subdirectories of entries in the "auto_path" variable. And since "glob" command does not recognize wrapped files or directories (see Bug ID 348), any packages that may exist in directories listed in the "auto_path" variable are not found.
Work Around:
A simple workaround to this problem is to add the following argument to your prowrap command line:
-code "lappend auto_path lib/tcl8.0/http2.0"
|
But still don't know how to fix it.