From: Daniel A. S. <st...@ic...> - 2001-08-16 06:02:30
|
At 23:01 -0500 on 15/8/01, Andrew Robinson wrote: >I'm trying to install itcl, itk and iwidgets on my Mac. I downloaded >"Mac Itcl3.1 for 8.3.2p1". The directory hints at how to install the >files. I put Itcl3.1.shlb and Itk3.1.shlb in the Build folder in the >"Tcl/Tk Folder 8.3.3" folder and linked them in the "Tool Command >Language" folder. I copied the "iwidgets3.0.0" folder into the "Tcl/Tk >Folder 8.3.3" folder and also created an alias in the "Tool Command >Language" folder. (Got all that?) The commands "package require Itcl" >and "package require Itk" work. When I try the command "package require >Iwidgets", I get "can't find package Iwidgets". What don't I know? you need to put the "iwidgets3.0.0" folder itself into "Tool Command Language", an alias to it doesn't work. (a folder called "iwidgets3.0.0" containing aliases to the contents of your "iwidgets3.0.0" in "Tcl/Tk Folder 8.3.3" works too) this is due to the fact that Tcl 8.3.3 doesn't find pkgIndex.tcl files inside aliased folders in the auto_path. This is fixed in the latest tcl 8.4 with my mac patches on SF applied. Cheers, Daniel -- ** Daniel A. Steffen ** "And now to something completely ** Department of Mathematics ** different" Monty Python ** Macquarie University ** <mailto:st...@ma...> ** NSW 2109 Australia ** <http://www.maths.mq.edu.au/~steffen/> |