Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2003-07-24
21:20 • Ticket [776927ffff] package.tcl error in 8.4.4 status still Closed with 4 ot... artifact: 98877e38a7 user: dgp
20:53 • Ticket [776927ffff]: 4 changes artifact: 285f9ac02f user: mahlonstacy
20:21 • Ticket [776927ffff]: 2 changes artifact: 014d5442bc user: dgp
20:21 • Closed ticket [776927ffff]. artifact: b9d072221a user: dgp
12:58 • New ticket [776927ffff]. artifact: c7890da9ce user: mahlonstacy

package.tcl error in 8.4.4

Closed / Fixed776927ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 23 years ago
Descriptionplain2003-07-24 12:58:51
The supplied library/package.tcl for 8.4.4 tries to use 
the variable ::tcl::direct before it is defined, apparently 
in line 371, when trying to execute pkg_mkIndex. 
Substituting the 8.4.3 package.tcl solved the problem.

Here's some diagnostics from Linux:
% pkg_mkIndex -load Tk -verbose . libAVWTCL[info 
sharedlibextension] libAVWTK[info sharedlibextension]
currently loaded packages: ''
trying to load all packages matching Tk
warning: no packages are currently loaded, nothing
can possibly match 'Tk'
successful loading of libAVWTCL.so
can't read "::tcl::direct": no such variable
%
dgpplain2003-07-24 20:21:14
Logged In: YES 
user_id=80530


Reinhard Max has already fixed this bug.

Reverting to the 8.4.3 package.tcl file will
also restore a bug in "-load Tk" usage.
Better to replace the offending "$::tcl::direct"
with the correction "$direct".
dgp Ticket [776927ffff]: 2 changes [History diff]2003-07-24 20:21:15
mahlonstacyplain2003-07-24 20:53:51
Logged In: YES 
user_id=595029

Apparently the fixed file is not in CVS yet. The latest version 
(1.23.2.1) is the one that was included in the 8.4.4 dissem.
dgpplain2003-07-24 21:20:29
Logged In: YES 
user_id=80530


sourceforge has two CVS services.

The fix is in the developer CVS.

It will be mirrored out to the
anonymous access CVS tomorrow.
Log in (anonymous is fine) to add a comment.