Re: [tcltk-perl] Re: Re[2]: FAIL Tcl-Tk-0.80 i686-linux 2.4.18-14
Brought to you by:
hobbs
From: Vadim K. <va...@ar...> - 2004-05-07 12:37:50
|
> > SR> This is on a RedHat 8.0 machine with the default Tcl and Tk (both > > SR> version 8.3) installed from RPM: > > > > SR> tclsh > > SR> % package require Tk > > SR> can't find package Tk > > SR> % > > > > SR> wish > > SR> % package require Tk > > SR> 8.3 > > SR> % > > > > This exactly means your tcl misses some autoloading support. > > > > There must exist a file /usr/local/lib/tk8.3/pkgIndex.tcl > > > > It has following contents on my cygwin system: > > if {[package vcompare [package provide Tcl] 8.4] != 0} { return } > > package ifneeded Tk 8.4 [list load [file join $dir .. .. bin tk84.dll] Tk] > > locate pkgIndex.tcl returns the following list (excluding private and > source directories): > > /usr/lib/tcl8.3/http1.0/pkgIndex.tcl > /usr/lib/tcl8.3/http2.3/pkgIndex.tcl > /usr/lib/tcl8.3/msgcat1.1/pkgIndex.tcl > /usr/lib/tcl8.3/opt0.4/pkgIndex.tcl > /usr/lib/tcl8.3/tcltest1.0/pkgIndex.tcl See? That file do not exists > /usr/local/lib/tcl8.4/http2.4/pkgIndex.tcl > /usr/local/lib/tcl8.4/http1.0/pkgIndex.tcl > /usr/local/lib/tcl8.4/opt0.4/pkgIndex.tcl > /usr/local/lib/tcl8.4/msgcat1.3/pkgIndex.tcl > /usr/local/lib/tcl8.4/tcltest2.2/pkgIndex.tcl > /usr/local/lib/tk8.4/pkgIndex.tcl See? Your tk8.4 is better, if you'll try it, you'll probably get better results. > /usr/local/lib/Tkzinc3.2.94/pkgIndex.tcl > > The /usr/lib bits are from the standard RedHat install, and the > /usr/local/lib ones are from my own install, but this version is > apparently not used. Ok, to support standard RedHat 8.0 without extra recompilation we need to work around this error. Besides, AFAIK RedHat distribution comes without perlTk, so Tcl::Tk could be desried there more than usual... Asking from tcl...@li... , how do we decide to do? Best regards, Vadim. |