Ticket Hash: | 2d06f8da3b618de689ffe083802a2d3c753969c4 | |||
Title: | Distribution of tcl9 version has tcl8.6 in pckIndex.tcl | |||
Status: | Closed | Type: | Code_Defect | |
Severity: | Cosmetic | Priority: | Immediate | |
Subsystem: | Resolution: | Fixed | ||
Last Modified: | 2025-06-26 13:24:21 | |||
Version Found In: | 0.9.4 | |||
User Comments: | ||||
anonymous added on 2024-11-15 12:59:38:
Thanks for great tdom ! The distribution file "tdom-0.9.4-windows-x86.zip" has the following files: libtdomstub094.a pkgIndex.tcl tdom.tcl tdom0.9.4.dll The pckIndex.tcl file is as follows: if {[package vsatisfies [package provide Tcl] 9.0-]} { package ifneeded tdom 0.9.4 \ "[list load [file join $dir tcl9tdom094.dll]]; [list source [file join $dir tdom.tcl]]" } else { package ifneeded tdom 0.9.4 \ "[list load [file join $dir tdom094.dll]]; [list source [file join $dir tdom.tcl]]" } The tcl9 library (tcl9tdom094.dll) is not included. It would be great to remove the tcl9 part from the pckIndex.tcl path. If this is in the package path of a tcl 9, tdom is not loadable. Even putting the right tdom in the package path will not help, if this version is prefered. I would appreciate, if pckIndex.tcl and the delivered dll's would match. The same issue is with the tcl 9 download. I ran into this, as I had tdom 9.2 in the path, but it could not be loaded due to that. Unfortunately, we have this issue a lot with recent TEA. The default pckIndex.tcl always covers TCL 8.x and Tcl9, but the build does only on e of them. Thanks for all, Harald anonymous added on 2024-11-15 13:01:39: Or include both libraries in the distribution ;-). Thanks, Harald rolf added on 2025-06-26 13:24:21: The windows binary zips for 0.9.6 (as well as already 0.9.5) have both dlls (for 8.6 and 9.0) in one directory with a pkgIndex.tcl loading what's needed. |