teacup' install' problem installing cwind; can't overwrite file

Posted by rick on 2013-05-05 14:10
Forums: TEA discussions | OS: Windows 7

Fresh tcl 8.6 32bit installation.

Package require cwind1.4 works. package is in tcl/lib

run cmd as administrator (already tried running from tkcon and wish) results in;

(bin) 1 % teacup install c:/tcl/lib/cwind1.4
INTERNAL ERROR ______________________
INTERNAL ERROR can't overwrite file "C:/Users/RickH/AppData/Local/Temp/tpmrOorCZnoSg" with directory "c:/tcl/lib/cwind1.4"
INTERNAL ERROR while executing
INTERNAL ERROR "# Compiled -- no source code available
INTERNAL ERROR error "called a copy of a compiled script""
INTERNAL ERROR (procedure "GetUrl" line 1)
INTERNAL ERROR invoked from within
INTERNAL ERROR "# Compiled -- no source code available
INTERNAL ERROR error "called a copy of a compiled script""
INTERNAL ERROR (procedure "::repository::client::Snit_methodinstallUrl" line 1)
INTERNAL ERROR invoked from within
INTERNAL ERROR "# Compiled -- no source code available
INTERNAL ERROR error "called a copy of a compiled script""
INTERNAL ERROR (procedure "::repository::capp::Snit_methodinstall" line 1)
INTERNAL ERROR invoked from within
INTERNAL ERROR "::capp1 install c:/tcl/lib/cwind1.4"
INTERNAL ERROR ("eval" body line 1)
INTERNAL ERROR invoked from within
INTERNAL ERROR "# Compiled -- no source code available
INTERNAL ERROR error "called a copy of a compiled script""
INTERNAL ERROR ______________________
(bin) 2 % package require cwind
1.4.0
(bin) 3 %

Please advise on process/fix...

Thanks,

Rick

grahams
ActiveState Staff
Mon, 2013-05-06 09:03

teacup install c:/tcl/lib/cwind1.4

is telling teacup to install the package into the local transparent repository from the local transparent repository. Transparent repositories are intended to supply run-time code, not install sources. If you want to install from a local source, you should create an opaque repository.

http://docs.activestate.com/activetcl/8.6/tpm/tpm/files/CTP_introduction...