Hi,
Sounds like our bundled version is not working on your platform.
You would be better off finding the native tcl/tk on your machine
and then setting the environment variables FSLTCLSH and FSLWISH
to point to these instead. Try this by setting them by hand
in a shell first (after having set up the standard FSL environment)
and see if that works. If it does, then modify your .bashrc or
.bash_profile (wherever you set up the FSL environment) to make
these changes automatically (again, *after* setting up the standard
FSL environment).
Hopefully that will solve the problem.
If not, please let us know.
All the best,
Mark
On 24 Oct 2006, at 20:20, Michael Huang wrote:
> Hi, I'm having some problems getting the graphical FSL programs to
> run. The
> command-line based applications seem to work fine, but the ones with
> the
> Graphics don't seem to run except fslview.
>
> whenever I run fsl, I get:
>
> Application initialization failed: Can't find a usable tk.tcl in the
> following directories:
> /usr/local/fsl/lib/tk8.4 /usr/local/fsl/lib/tcl8.4/tk8.4
> /usr/local/lib/tk8.4 /usr/local/fsl/library /usr/local/library
> /usr/local/tk8.4.14/library /usr/tk8.4.14/library
>
> /usr/local/fsl/lib/tk8.4/tk.tcl: can't access
> "::tk::Priv.::ffff:10.0.0.10:0": parent namespace doesn't exist
> can't access "::tk::Priv.::ffff:10.0.0.10:0": parent namespace doesn't
> exist
> while executing
> "upvar #0 ::tk::Priv.::ffff:10.0.0.10:0 ::tk::Priv"
> ("uplevel" body line 1)
> invoked from within
> "uplevel #0 upvar #0 ::tk::Priv.$disp ::tk::Priv"
> (procedure "tk::ScreenChanged" line 9)
> invoked from within
> "tk::ScreenChanged [winfo screen .]"
> (file "/usr/local/fsl/lib/tk8.4/tk.tcl" line 284)
> invoked from within
> "uplevel #0 [list source $file]"
> /usr/local/fsl/lib/tcl8.4/tk8.4/tk.tcl: can't access
> "::tk::Priv.::ffff:10.0.0.10:0": parent namespace doesn't exist
> can't access "::tk::Priv.::ffff:10.0.0.10:0": parent namespace doesn't
> exist
> while executing
> "upvar #0 ::tk::Priv.::ffff:10.0.0.10:0 ::tk::Priv"
> ("uplevel" body line 1)
> invoked from within
> "uplevel #0 upvar #0 ::tk::Priv.$disp ::tk::Priv"
> (procedure "tk::ScreenChanged" line 9)
> invoked from within
> "tk::ScreenChanged [winfo screen .]"
> (file "/usr/local/fsl/lib/tcl8.4/tk8.4/tk.tcl" line 284)
> invoked from within
> "source /usr/local/fsl/lib/tcl8.4/tk8.4/tk.tcl"
> ("uplevel" body line 1)
> invoked from within
> "uplevel #0 [list source $file]"
> /usr/local/lib/tk8.4/tk.tcl: can't access
> "::tk::Priv.::ffff:10.0.0.10:0":
> parent namespace doesn't exist
> can't access "::tk::Priv.::ffff:10.0.0.10:0": parent namespace doesn't
> exist
> while executing
> "upvar #0 ::tk::Priv.::ffff:10.0.0.10:0 ::tk::Priv"
> ("uplevel" body line 1)
> invoked from within
> "uplevel #0 upvar #0 ::tk::Priv.$disp ::tk::Priv"
> (procedure "tk::ScreenChanged" line 9)
> invoked from within
> "tk::ScreenChanged [winfo screen .]"
> (file "/usr/local/lib/tk8.4/tk.tcl" line 284)
> invoked from within
> "source /usr/local/lib/tk8.4/tk.tcl"
> ("uplevel" body line 1)
> invoked from within
> "uplevel #0 [list source $file]"
>
> This probably means that tk wasn't installed properly.
>
> tk.tcl is, as far as I can tell, located in /usr/local/fsl/lib/tk8.4
>
> Michael Huang
> Research Assistant
|