blt2.4 INSTALL ERROR

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kittyvslika
    New Member
    • Jul 2010
    • 1

    blt2.4 INSTALL ERROR

    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!
  • dwblas
    Recognized Expert Contributor
    • May 2008
    • 626

    #2
    What distro are you using. It should be in the repositories so you can install it as you would any other piece of software. It may be named something like python-blt or pmw.blt though. One of the advantages of using linux is that the programs are all in one place. So no security risks from third party software, and no searching all over the web for third party packages.

    Comment

    • dwblas
      Recognized Expert Contributor
      • May 2008
      • 626

      #3
      Were you able to install this?

      Comment

      Working...