Hello everyone:
I met a problem when install blt2.4z. I have installed tcl8.4 and tk8.4 in my linux-x86 system.
I install blt follow the step in INSTALL file.
1.tar zxvf BLT2.4z.tar.gz
2.cd blt2.4z ,then ./configure (there is no error)
3.make (also no error)
4.cd demos ,run the test scripts ./gragh1.tcl or ../src/bltwish ./graph1.tcl
the error is the same as follows:
[zhujing@localho st demos]$ ./graph1.tcl
Application initialization failed: Can't find a usable tk.tcl in the following directories:
/usr/lib/tk8.4 /home/zhujing/BLC/blt2.4z/demos/../lib/tk8.4 /home/zhujing/BLC/blt2.4z/demos/lib/tk8.4 /home/zhujing/BLC/blt2.4z/demos/../library /home/zhujing/BLC/blt2.4z/demos/library /home/zhujing/BLC/blt2.4z/demos/tk8.4.7/library /home/zhujing/BLC/blt2.4z/tk8.4.7/library
This probably means that tk wasn't installed properly.
Error in startup script: can't find package BLT
while executing
"package require BLT"
(file "./graph1.tcl" line 3)
but :locate tk.tcl --in /usr/share/tk8.4,so I cp the file to /usr/lib/tk8.4.Then run ./graph1.tcl in demos,it's ok and popup a graph GUI.
After make install :promt>tclsh
%package require BLT
2.4
%info command blt::*
::blt::tree ::blt::crc32 ::blt::bltdebug ::blt::bgexec ::blt::spline ::blt::vector ::blt::watch
but promt>tclsh
%package require Tk
8.4
%package require BLT
segmentation fault
I don't know what's wrong .Can you give me some suggestions?I am looking forward to your reply.
Best wish!
I met a problem when install blt2.4z. I have installed tcl8.4 and tk8.4 in my linux-x86 system.
I install blt follow the step in INSTALL file.
1.tar zxvf BLT2.4z.tar.gz
2.cd blt2.4z ,then ./configure (there is no error)
3.make (also no error)
4.cd demos ,run the test scripts ./gragh1.tcl or ../src/bltwish ./graph1.tcl
the error is the same as follows:
[zhujing@localho st demos]$ ./graph1.tcl
Application initialization failed: Can't find a usable tk.tcl in the following directories:
/usr/lib/tk8.4 /home/zhujing/BLC/blt2.4z/demos/../lib/tk8.4 /home/zhujing/BLC/blt2.4z/demos/lib/tk8.4 /home/zhujing/BLC/blt2.4z/demos/../library /home/zhujing/BLC/blt2.4z/demos/library /home/zhujing/BLC/blt2.4z/demos/tk8.4.7/library /home/zhujing/BLC/blt2.4z/tk8.4.7/library
This probably means that tk wasn't installed properly.
Error in startup script: can't find package BLT
while executing
"package require BLT"
(file "./graph1.tcl" line 3)
but :locate tk.tcl --in /usr/share/tk8.4,so I cp the file to /usr/lib/tk8.4.Then run ./graph1.tcl in demos,it's ok and popup a graph GUI.
After make install :promt>tclsh
%package require BLT
2.4
%info command blt::*
::blt::tree ::blt::crc32 ::blt::bltdebug ::blt::bgexec ::blt::spline ::blt::vector ::blt::watch
but promt>tclsh
%package require Tk
8.4
%package require BLT
segmentation fault
I don't know what's wrong .Can you give me some suggestions?I am looking forward to your reply.
Best wish!
Comment