[tcltk-perl] Re: Re[2]: FAIL Tcl-Tk-0.80 i686-linux 2.4.18-14
Brought to you by:
hobbs
From: Slaven R. <sr...@ic...> - 2004-05-07 12:20:41
|
On Fri, 2004-05-07 at 13:43, Vadim Konovalov wrote: > 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] > > Yours will differ. 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 /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 /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. Regards, Slaven > However this either means RedHat distribution lacks something, or we > must perform required actions in Makefile.PL > > I hope Tcl/Tk experts will give an advice? > (Jeff, could you please advice?) > > Best regards, > Vadim. > -- Slaven Rezic > Development iconmobile GmbH > Methfesselstr. 32-36 > D-10965 Berlin phone +49 30 890 686 49 > fax +49 30 890 686 50 sr...@ic... > http://www.iconmobile.com |