ActiveState Powered by ActiveState

ActiveState Community


TclDevKit install crashes on my W98SE machine

Posted by twixter on 2007-08-17 13:25

First I installed ActiveTcl to F:/program files/TclTk where F is an external USB drive. Then I downloaded TclDevKit, and then downloaded and installed the Active_Tcl_Pro_Studio_Windows license. I just clicked the file and I got a popup window telling me the license was installed. The license probably installed on drive C, my internal hard drive, not drive F.

When I installed TclDevKit, I again chose F:/program files/TclTk as the directory to install to. This produced the following error message:

can't read "::env(USERPROFILE)": no such variable

(read trace on "::env(::env)")
invoked from within
"file join $::env(USERPROFILE) Teapot"
(in namespace eval "::repository::sys" script line 24)
invoked from within
"# Compiled -- no source code available
error "called a copy of a compiled script""
invoked from within
"tbcload::bceval {
TclPro ByteCode 2 0 1.6 8.5
9 0 99 23 0 0 52 0 4 9 9 -1 -1
99
w0EKi!/?W

jeffh | Fri, 2007-08-17 15:11

The teacup portion of TDK expects the $USERPROFILE environment variable to be defined and point to the user's home directory. The easiest work-around is to create this Windows env var. The use of this is noted at:

http://aspn.activestate.com/ASPN/docs/ActiveTcl/8.4/tpm/tpm/files/CTP_te...

We will look into what alternatives are best when USERPROFILE is not defined (this is possibly only a Win9x issue?).

-->