I confirm that the patch above works on Ubuntu 9.10.
Made following modifications to /usr/lib/blt2.4/pkgIndex.tcl file:
if {[package vcompare [info tclversion] 8.2] < 0} { set taillib ${version}.so.8.0 } elseif {[package vcompare [info tclversion] 8.3] < 0} { set taillib ${version}.so.8.2 } elseif {[package vcompare [info tclversion] 8.4] < 0} { set taillib ${version}.so.8.3 } elseif {[package vcompare [info tclversion] 8.5] < 0} { set taillib ${version}.so.8.4 } else { set taillib ${version}.so.8.5 }
Sorry for not sending a diff, that one should do.
I confirm that the patch above works on Ubuntu 9.10.
Made following modifications to /usr/lib/ blt2.4/ pkgIndex. tcl file:
if {[package vcompare [info tclversion] 8.2] < 0} {
set taillib ${version}.so.8.0
} elseif {[package vcompare [info tclversion] 8.3] < 0} {
set taillib ${version}.so.8.2
} elseif {[package vcompare [info tclversion] 8.4] < 0} {
set taillib ${version}.so.8.3
} elseif {[package vcompare [info tclversion] 8.5] < 0} {
set taillib ${version}.so.8.4
} else {
set taillib ${version}.so.8.5
}
Sorry for not sending a diff, that one should do.