OMNeT++ Community Site
  Welcome to OMNeT++ Community Site Monday, October 13 2008 

Mailing list archive (omnetpp-l at omnetpp.org)


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [omnetpp] The BLT Tcl/Tk extension is required by this program



Ciao,

I had the same problem on my machine (linux) and - very interesting -  
omnet actually compiles fine and runs fine .. :-) try this before  
installing another version of tcl/tk .

maybe it is a problem of the configure script?

Anna

On Jul 9, 2008, at 9:19 PM, David Perez wrote:

> Mmm... I'll try to use tcl/tk 8.4 or earlier that I have in
> my other computer, I'll tell my results, thanks!
> (o sea, que voy a probarlo en la ubuntu 7.10 que tengo
> en el otro ordenata)
>
> On Wed, Jul 9, 2008 at 9:14 PM, Javier Díaz <javier_diaz at xxx>  
> wrote:
>
>> Hello,
>>
>> I use Tcl/Tk 8.5 (my linux distro installs this version) and it seems
>> BLT 2.4 it is not compatible with this version of Tcl/Tk
>> and appears the error that you told. So I imagine, that if your  
>> version
>> of Tcl/Tk is also 8.5, the only solution is that the BLT developers
>> adapt it to 8.5 version.
>>
>> David Perez escribió:
>>> Hi, I have an important question, I get this horrible message when
>>> I try to run plove or scalars:
>>>
>>> *The BLT Tcl/Tk extension is required by this program*
>>>
>>> I hate it! I have looked for a solution in hundreds of forums,
>>> and I get one, but it doesn't work...
>>>
>>> This is:
>>> To check if BLT is installed correctly into Tcl/Tk, start  
>>> "wish" (the
>> Tcl/Tk
>>> shell), and type "package require BLT 2.4" -- the answer should be  
>>> "2.4".
>>> Basically, OMNeT<
>> http://ctieware.eng.monash.edu.au/twiki/bin/view/Simulation/OMNeT>++
>>> does the same: it issues the above package require command, and if  
>>> it
>> fails
>>> it prints the "NOT FOUND" warning and decides to cut features that'd
>> require
>>> BLT.
>>>
>>> Basically, Tcl is looking for a "pkgIndex.tcl" file which would  
>>> tell it
>> how
>>>
>>> to load BLT. This file is best placed in a "blt2.4" subdirectory  
>>> under
>> Tcl's
>>> library directory (usually /usr/lib/tcl8.4, or the value of the
>> TCL_LIBRARY
>>> environment var), so: /usr/lib/tcl8.4/blt2.4/pkgIndex.tcl. Tcl  
>>> should
>> also
>>> find it at /usr/lib/blt2.4/pkgIndex.tcl. My copy of the BLT  
>>> pkgIndex.tcl
>>> file is about 40 lines, and contains a
>>> LoadBLT?<
>> http://ctieware.eng.monash.edu.au/twiki/bin/edit/Simulation/LoadBLT?topicparent=Simulation.QuestionsAndAnswers
>>> proc,
>>> and (at the end) a "package ifneeded" command.
>>>
>>> Details about Tcl's package loading mechanism can be found here:
>>> http://www.tcl.tk/doc/tea/tea_tcl2k.pdf, "The Package Mechanism"
>>> Any help? Thanks!
>>>
>>>
>>
>> _______________________________________________
>> OMNeT++ Mailing List
>> options: http://lists.omnetpp.org/mailman/listinfo/omnetpp-l
>> archive: http://www.omnetpp.org/listarchive/index.php
>>
>
>
>
> -- 
> http://gatoamarillo.blogspot.com
> el antiblog
> _______________________________________________
> OMNeT++ Mailing List
> options: http://lists.omnetpp.org/mailman/listinfo/omnetpp-l
> archive: http://www.omnetpp.org/listarchive/index.php

--
Anna Förster
PhD Candidate
Faculty of Informatics, University of Lugano
Via G. Buffi 13, CH-6900 Lugano
Tel. +41 58 666 4290








_______________________________________________
OMNeT++ Mailing List
options: http://lists.omnetpp.org/mailman/listinfo/omnetpp-l
archive: http://www.omnetpp.org/listarchive/index.php

Home | Main Index | Thread Index


 Copyright © 2008 OMNeT++ Community Site
 All trademarks and copyrights on this page are owned by their respective owners.
Powered By GeekLog v1.3.7sr1 
Page created in 0.04 seconds