Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tlug: Drawing tools



Andrew S. Howell writes:

 > 	Thanks. TL3.0 seems to have a broken tcl installation, so I
 > have to fix that first :( It comes up with an error:
 > 
 > error reading package index file /usr/lib/tkX8.0.0/pkgIndex.tcl: syntax error in expression "[info tclversion] < 8.0jp"
 > error reading package index file /usr/lib/tclX8.0.0/pkgIndex.tcl: syntax error in expression "[info tclversion] < 8.0jp"
 > Error in startup script: can't find package Tkined 1.4
 >     while executing
 > "package require Tkined 1.4"
 >     (file "./tkined" line 12)

 > tkined was trying to load /usr/jp/bin/wish8.0jp , which does not
 > exist. Changed it to /usr/bin/wish8.0jp and now it gets the above
 > error.

I think you're making progress. The above error ("can't find package
Foo") probably means the tkined files aren't in a directory where Tcl
looks for packages. Do you have a $TCLLIBPATH? If not, you can set it
to /usr/local/lib or wherever you want to install Tcl packages, and it 
should work.

The other possible causes are an error (e.g. wrong version number) in
the 'package require' command in the startup script, or not having an
package index (probably pkgIndex.tcl, but there are a couple of types) 
in the tkined directory ... but neither of these is likely if the
author has his act together.

Hope this helps,

Matt Gushee
Oshamanbe, Hokkaido
-------------------------------------------------------------------
Next Technical Meeting: February 13 (Sat), 12:30 place: Temple Univ.
** presentation: XEmacs, by Steven Baur and Martin Buchholz
Next Nomikai: March 19 (Fri), 19:30   Tengu TokyoEkiMae 03-3275-3691
-------------------------------------------------------------------
more info: http://tlug.linux.or.jp                     Sponsor: PHT


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links