OverSim
The Overlay Simulation Framework
OverSim
 

Changes between Initial Version and Version 1 of OldOverSimInstall


Ignore:
Timestamp:
Mar 20, 2009, 7:06:04 PM (9 years ago)
Author:
baumgart
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • OldOverSimInstall

    v1 v1  
     1= Installation Instructions for old !OverSim releases =
     2
     3These instructions show you how to install !OverSim for Linux. Compiling and running !OverSim for Windows is currently not supported (If you want to compile !OverSim for Windows, you should take a look at the [http://www.omnetpp.org/pmwiki/index.php?n=Main.OmnetppInstallation OMNeT++ install instructions for Windows]).
     4
     51. Requirements for OMNeT++ and !OverSim:
     6    * [http://tcl.sourceforge.net/ Tcl/Tk 8.4]
     7    * [http://gmplib.org/ libgmp]
     8    * [http://search.cpan.org/dist/Statistics-Descriptive/Descriptive.pm Perl::Descriptive] (optional, for simulation output postprocessing with overStat.pl)
     9
     10  If you have a debian-based distribution like Ubuntu you can install these packages with:
     11{{{
     12  sudo apt-get install tk8.4-dev libgmp3-dev libstatistics-descriptive-perl
     13}}}
     14
     152. Download [http://www.omnetpp.org/filemgmt/visit.php?lid=125 OMNeT++ 3.4b2] from http://www.omnetpp.org/ after reading the [http://www.omnetpp.org/external/license.php License]
     16
     173. Create a new directory (in the following we assume you want to install OMNeT++ and !OverSim to ~/sim/) and extract OMNeT++:
     18{{{
     19  mkdir ~/sim
     20  cd ~/sim
     21  tar xzf /tmp/omnetpp-3.4b2-src.tgz
     22}}}
     23
     244. Add the following lines to your .bashrc or .profile:
     25{{{
     26  export PATH=$PATH:~/sim/omnetpp-3.4b2/bin:~/sim/INET-20061020-OverSim-3/bin
     27  export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:~/sim/omnetpp-3.4b2/lib
     28}}}
     29
     305. Optionally edit omnetpp-3.4b2/configure.user and change CFLAGS for speed and profiling:
     31{{{
     32  CFLAGS='-O3 -DNDEBUG=1 -gstabs+3 -Wall'
     33}}}
     34
     356. Compile OMNeT++. If your gcc is older than 4.x please read [http://www.omnetpp.org/pmwiki/index.php?n=Main.INETLinkerErrorIPv6ExtensionHeader this page]!
     36{{{
     37  cd ~/sim/omnetpp-3.4b2
     38  ./configure
     39  make
     40}}}
     41
     427. Download the patched version of the INET framework [http://www.oversim.org/chrome/site/INET-20061020-OverSim-3.tgz INET-20061020-OverSim-3.tgz] and extract in next to your OMNeT++ installation:
     43{{{
     44  cd ~/sim
     45  tar xzf /tmp/INET-20061020-OverSim-3.tgz
     46}}}
     47
     488. Edit INET-20061020-!OverSim-3/inetconfig and change ROOT to your install of the INET framework:
     49{{{
     50  ROOT=$(HOME)/sim/INET-20061020-OverSim-3
     51}}}
     52
     539. Compile the INET framework:
     54{{{
     55  ./makemake
     56  make
     57}}}
     58
     5910. Download the latest !OverSim snapshot [http://www.oversim.org/chrome/site/OverSim-20080919.tgz OverSim-20080919.tgz] and extract in next to your OMNeT++ installation:
     60{{{
     61  cd ~/sim
     62  tar xzf /tmp/OverSim-20080919.tgz
     63}}}
     64
     6511. Compile !OverSim:
     66{{{
     67  cd ~/sim/OverSim-20080919
     68  ./makemake
     69  make
     70}}}
     71
     72Congratulations - now you should have a working !OverSim installation! For instructions how to use !OverSim look at OverSimUsage.