Saturday, September 24, 2011

FSL GUI problem.

Dear FSL team,


This problem was solved now! For some reason, adding FSLTCLSH and FSLWISH paths in the .bashrc does not work for my debian.


I edited fsl.sh file and set the FSLTCLSH=/usr/bin/tclsh & FSLWISH=/usr/bin/wish instead of adding them in the .bashrc file.


This time it works.  The error message is gone.  YEAH!


Thanks anyway.


Yingying

====================================================

I tried to set up the environmental variables to my locate tcl/tk.  The error messages are still there.  Help.


Application initialization failed: Can't find a usable tk.tcl in the following directories: 
   /home/yingying/opt/fsl_4_1_8/extras/lib/tk8.4 /home/yingying/opt/fsl_4_1_8/extras/lib/tcl8.4/tk8.4 /home/yingying/opt/fsl_4_1_8/lib/tk8.4 /home/yingying/opt/fsl_4_1_8/extras/library /home/yingying/opt/fsl_4_1_8/library /home/yingying/opt/fsl_4_1_8/tk8.4.19/library /home/yingying/opt/tk8.4.19/library


/home/yingying/opt/fsl_4_1_8/extras/lib/tk8.4/tk.tcl: no event type or button # or keysym
no event type or button # or keysym
   while executing
"bind Listbox  {
       %W yview scroll [expr {- (%D / 120) * 4}] units
   }"
   invoked from within
"if {[tk windowingsystem] eq "classic" || [tk windowingsystem] eq "aqua"} {
   bind Listbox  {
       %W yview scroll [expr {- (%D)}] uni..."
   (file "/home/yingying/opt/fsl_4_1_8/extras/lib/tk8.4/listbox.tcl" line 181)
   invoked from within
"source /home/yingying/opt/fsl_4_1_8/extras/lib/tk8.4/listbox.tcl"
   (in namespace eval "::" script line 1)
   invoked from within
"namespace eval :: [list source [file join $::tk_library $file.tcl]]"
   (procedure "SourceLibFile" line 2)
   invoked from within
"SourceLibFile listbox"
   (in namespace eval "::tk" script line 4)
   invoked from within
"namespace eval ::tk {
SourceLibFile button
SourceLibFile entry
SourceLibFile listbox
SourceLibFile menu
SourceLibFile panedwindow
SourceLibFile ..."
   invoked from within
"if {$::tk_library ne ""} {
   if {$tcl_platform(platform) eq "macintosh"} {
proc ::tk::SourceLibFile {file} {
   if {[catch {
namespace eval :: ..."
   (file "/home/yingying/opt/fsl_4_1_8/extras/lib/tk8.4/tk.tcl" line 407)
   invoked from within
"source /home/yingying/opt/fsl_4_1_8/extras/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.

=====================
My system
=====================
Compiled from the 4.1.8 source code.
build log:
BUILD successfully made all projects
=========================
lsb_release -a
No LSB modules are available.
Distributor ID:Debian
Description:Debian GNU/Linux 6.0.2 (squeeze)
Release:6.0.2
Codename:squeeze
==========================================

No comments:

Post a Comment