Install OMNET++ 4.0 at FEDORA 10
Download:
Pre-installation:
Install the items in the following list in FEDORA 10. You must be 'root' to execute the following command:
yum install tcl
yum install tcl-devel
yum install tk
yum install tk-devel
yum install blt
yum install gcc
yum install gcc-c++
yum install byacc
yum install bison
yum install flex
yum install make
yum install swig
yum install zlib-devel
yum install java-1.6.0-openjdk-plugin
yum install automake
yum install autoconf
Installation of OMNET++ 4.0:
Download the source package and copy the omnetpp file to where you want to install it.
Extract the package by the command:
tar zxvf omnetpp-4.0rc2-src.tgz
Add the following line to your startup file (.bashrc or .bash_profile):
export PATH=$PATH:~/omnetpp-4.0/bin export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:~/omnetpp-4.0/lib
Access into the newly created directory:
cd omnetpp-4.0
Install with command:
./configure
Locate .bash_profile (eg. /home/user/.bash_profile) and include the following line into it:
export TCL_LIBRARY=/usr/share/tcl8.5
After that, at the omnetpp-4.0 directory too, type this command:
make
After compilation completed, you can try the samples, for eg:
cd ~/omnetpp-4.0/samples/dyna
./dyna
To start omnet++ IDE, use the command:
omnetpp
1 comments:
hi elly,
how u export TCL_LIBRARY?
at same place u export PATH and LD_LIBRARY_PATH?
in my case i'm locate PATH and LD_LIBRARY_PATH on .bashrc
i'm getting confuse where i should set TCL_LIBRARY
Post a Comment