Hi,
I am using ActiveTCL 8.5.2 and found problem using Tix.
I've installed tix using the command
teacup install Tix
But "package require Tix" gives me a message
(Tix-8.4.2) 2 % package require Tix
Can't find a usable Init.tcl in the following directories:
D:/apps/Tcl-852/lib/tcl8.5/Tix8.4.2 D:/apps/Tcl-852/lib/Tix8.4.2 d:/apps/tcl-852/lib/teapot/package/win32-ix86/lib/Tix8.4.2 d:/apps/tcl-852/lib/teapot/package/tcl/lib/Tix8.4.2 D:/apps/Tcl-852/lib/tk8.5/Tix8.4.2 D:/apps/Tcl-852/lib/tk8.5/ttk/Tix8.4.2 D:/apps/lib/Tix8.4.2 D:/apps/Tcl-852/library
When I looked into specified directory I found that it is named Tix-8.4.2 i.e. with a mius within its name.
Removing offending "-" in directory name and within the file D:\apps\Tcl-852\lib\teapot\package\win32-ix86\lib\pkgIndex.tcl resolves my problem
TIA for helping with my problem,
Vadim.
Note that the INDEX database of the repository will still contain the old path. This may be problem when you try to delete the package later, as your editing left INDEX and filesystem inconsistent with each other.
I have now changed teacup to install zip packages into a directory ${name}${version} instead of ${name}-$version. Apparently the tcl_findLibrary used by older packages is not able to cope with the dashed form.
very much thanks for solving the problem!