when i compile the omnet, i get this warning
WARNING: The TCL_LIBRARY environment variable is not set, and without it
OMNEST/OMNeT++ GUI programs may be unable to find the BLT library.
Please set it to point to the following directory:
/usr/lib/tcl8.4
Add the corresponding line to your startup file:
export TCL_LIBRARY=/usr/lib/tcl8.4
# into .(bash_)profile if you use bash or other sh-like shell
setenv TCL_LIBRARY /usr/lib/tcl8.4
# into .cshrc if you use tcsh or other csh-like shell
i've already installed the tcl-dev and tk-dev but how i am to set the
TCL_LIBRARY environment variable?
right now i'm using the ubuntu linux, and wish to install omnet++ for the
purpose of using oversim.
i've tried to put the line to my /usr/share/base-files/dot.profile with the
corresponding line but still i get this warning, and i've tried to put the
corresponding line to my /etc/bash.bashrc but i still got the warning..
my question is, did i set the TCL_LIBRARY environment variable to the
correct files?i also could not find any .cshrc files..
please help me on this
regards
_______________________________________________
OMNeT++ Mailing List
options: http://lists.omnetpp.org/mailman/listinfo/omnetpp-l
archive: http://www.omnetpp.org/listarchive/index.php
Iskandar Ishak wrote:
> when i compile the omnet, i get this warning
>
> WARNING: The TCL_LIBRARY environment variable is not set, and without it
> OMNEST/OMNeT++ GUI programs may be unable to find the BLT library.
> Please set it to point to the following directory:
> /usr/lib/tcl8.4
>
> Add the corresponding line to your startup file:
> export TCL_LIBRARY=/usr/lib/tcl8.4
> # into .(bash_)profile if you use bash or other sh-like shell
> setenv TCL_LIBRARY /usr/lib/tcl8.4
> # into .cshrc if you use tcsh or other csh-like shell
>
> i've already installed the tcl-dev and tk-dev but how i am to set the
> TCL_LIBRARY environment variable?
>
> right now i'm using the ubuntu linux, and wish to install omnet++ for the
> purpose of using oversim.
>
> i've tried to put the line to my /usr/share/base-files/dot.profile with the
> corresponding line but still i get this warning, and i've tried to put the
> corresponding line to my /etc/bash.bashrc but i still got the warning..
>
> my question is, did i set the TCL_LIBRARY environment variable to the
> correct files?i also could not find any .cshrc files..
Don't change anything in /usr. /etc and the users home directory ~ are
the only places where changes should normally be done. I guess you
compiled omnetpp under your home dir so I wouldn't do the path settings
system wide (/etc). On Debian/Ubuntu you can use the ~/.bashrc file.
This might not exist, so create it.
Mine looks as follows:
---
OMNETPP_PATH=/home/sven/opt/omnetpp
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${OMNETPP_PATH}/lib
export PATH=${PATH}:${OMNETPP_PATH}/bin
export OMNETPP_BITMAP_PATH=${OMNETPP_BITMAP_PATH}:${OMNETPP_PATH}/bitmaps
export TCL_LIBRARY=/usr/lib/tcl8.4
---
Change OMNETPP_PATH to your omnetpp directory!
Bye, Sven
what i've done:
i've put these lines in the /home/administrator/.bashrc file
OMNETPP_PATH=/home/administrator/sim/omnetpp-3.3
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${OMNETPP_PATH}/lib
export PATH=${PATH}:${OMNETPP_PATH}/bin
export OMNETPP_BITMAP_PATH=${OMNETPP_BITMAP_PATH}:${OMNETPP_PATH}/bitmaps
export TCL_LIBRARY=/usr/lib/tcl8.4
this is the warning that i get after compilation:
WARNING: your PATH doesn't contain /home/administrator/sim/omnetpp-3.3/bin!
Add the following line to your startup file:
export PATH=$PATH:/home/administrator/sim/omnetpp-3.3/bin #
.(bash_)profile if you use sh/bash
setenv PATH $PATH:/home/administrator/sim/omnetpp-3.3/bin # .cshrc if you
use csh,tcsh etc.
WARNING: You selected shared libraries in configure.user, but your
LD_LIBRARY_PATH doesn't seem to contain /home/administrator/sim/omnetpp-3.3
/lib!
So that the dynamic linker can find the OMNeT++/OMNEST shared libs, you
either
have to create symbolic links from /usr/lib to the OMNeT++/OMNEST shared
libraries (you can do it as root), or better, set the LD_LIBRARY_PATH
environment variable.
Add the corresponding line to your startup file:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/administrator/sim/omnetpp-
3.3/lib
# into .(bash_)profile if you use bash or other sh-like shell
setenv LD_LIBRARY_PATH $LD_LIBRARY_PATH:/home/administrator/sim/omnetpp-
3.3/lib
# into .cshrc if you use tcsh or other csh-like shell
If you prefer static libraries, edit configure.user and change the
build_shared_libs=yes line to build_shared_libs=no, then delete the shared
libraries, re-run configure and make.
WARNING: The TCL_LIBRARY environment variable is not set, and without it
OMNEST/OMNeT++ GUI programs may be unable to find the BLT library.
Please set it to point to the following directory:
/usr/lib/tcl8.4
Add the corresponding line to your startup file:
export TCL_LIBRARY=/usr/lib/tcl8.4
# into .(bash_)profile if you use bash or other sh-like shell
setenv TCL_LIBRARY /usr/lib/tcl8.4
# into .cshrc if you use tcsh or other csh-like shell
it seems that it doesn not work
the question is i js simply put those lines into the .bashrc file, is that
the correct way??
please help me on this..
p/s:i'm using ubuntu linux
You have to open a new terminal window for the changes to take affect.
Then check the content of the environment variables with:
echo $PATH
echo $LD_LIBRARY_PATH
and so on if they really contain the changes.
>
> please help me on this..
>
> p/s:i'm using ubuntu linux
Me too =)
however, i still get this warning..
WARNING: The configuration script could not detect the following packages:
MPI (optional) Akaroa (optional)
since the MPI packages and Akaroa how does it will effect if i run the make
command and also when i run the oversim..
please help me...
regards
In my INET20061020 fw i am using a WirelessAPWithEth
as an Access Point (AP), connected to a router, and
Ieee80211NicSTA in my Mobile Node (MN) which is moving
between AP1 and AP2.
Both the APs are transmitting on channel #1.
The problem occurs in the region of overlap where my
MN is now receiving advertisement packets from both
the Routers (to which these APs are connected) and
hence the neighbour cache entries start to toggle
between the entries received from the two routers, and
my upper layer protocol doesn't react well to this
rapid variation in the neighbor cache entries.
So the temporary solution was to set the AP2 on
channel #2 and this problem doesnt occur.
But what i want is my MN, while it is connected to
AP1, to listen to beacons from both the APs and ignore
the packets received from Router via AP2 and only
start acknlowledging and processign packets from
Router2 after it Associates with AP2.
Any hints and tips would be greatly appreciated
Zarrar
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com