close Warning: BrowserModule failed with ConfigurationError: Look in the Trac log for more information.

Changes between Version 34 and Version 35 of OverSimInstall


Ignore:
Timestamp:
Mar 20, 2009, 7:10:21 PM (15 years ago)
Author:
Ingmar Baumgart
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • OverSimInstall

    v34 v35  
    11= !OverSim Installation Instructions =
    22
    3 These 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]).
     3These instructions show you how to install !OverSim for Linux, but compiling and running !OverSim for Windows or Mac OS X works similar.
    44
    551. Requirements for OMNeT++ and !OverSim:
    6     * [http://tcl.sourceforge.net/ Tcl/Tk 8.4]
     6    * [http://tcl.sourceforge.net/ Tcl/Tk 8.4 + optionally BLT]
    77    * [http://gmplib.org/ libgmp]
    8     * [http://search.cpan.org/dist/Statistics-Descriptive/Descriptive.pm Perl::Descriptive] (optional, for simulation output postprocessing with overStat.pl)
    98
    109  If you have a debian-based distribution like Ubuntu you can install these packages with:
    1110{{{
    12   sudo apt-get install tk8.4-dev libgmp3-dev libstatistics-descriptive-perl
     11  sudo apt-get install tk8.4-dev libgmp3-dev blt-dev
    1312}}}
    1413
    15 2. 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]
     142. Download [http://www.omnetpp.org/filemgmt/visit.php?lid=164 OMNeT++ 4.0] from http://www.omnetpp.org/ after reading the [http://www.omnetpp.org/external/license.php License]
    1615
    17163. Create a new directory (in the following we assume you want to install OMNeT++ and !OverSim to ~/sim/) and extract OMNeT++:
     
    1918  mkdir ~/sim
    2019  cd ~/sim
    21   tar xzf /tmp/omnetpp-3.4b2-src.tgz
     20  tar xzf /tmp/omnetpp-4.0-src.tgz
    2221}}}
    2322
    24234. Add the following lines to your .bashrc or .profile:
    2524{{{
    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
     25  export PATH=~/sim/omnetpp-4.0/bin:$PATH
     26  export LD_LIBRARY_PATH=~/sim/omnetpp-4.0/lib:$LD_LIBRARY_PATH
    2827}}}
    2928
    30 5. Optionally edit omnetpp-3.4b2/configure.user and change CFLAGS for speed and profiling:
     29
     305. Compile OMNeT++.
    3131{{{
    32   CFLAGS='-O3 -DNDEBUG=1 -gstabs+3 -Wall'
    33 }}}
    34 
    35 6. 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
     32  cd ~/sim/omnetpp-4.0
    3833  ./configure
    3934  make
    4035}}}
    4136
    42 7. 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:
     376. Download the patched version of the INET framework [http://www.oversim.org/chrome/site/INET-OverSim-20090317.tgz INET-OverSim-20090317.tgz] and extract in next to your OMNeT++ installation:
    4338{{{
    4439  cd ~/sim
    45   tar xzf /tmp/INET-20061020-OverSim-3.tgz
     40  tar xzf /tmp/INET-OverSim-20090317.tgz
    4641}}}
    4742
    48 8. Edit INET-20061020-!OverSim-3/inetconfig and change ROOT to your install of the INET framework:
     437. Compile the INET framework:
    4944{{{
    50   ROOT=$(HOME)/sim/INET-20061020-OverSim-3
    51 }}}
    52 
    53 9. Compile the INET framework:
    54 {{{
    55   ./makemake
    5645  make
    5746}}}
    5847
    59 10. 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:
     488. Download the latest !OverSim snapshot [http://www.oversim.org/chrome/site/OverSim-20090320.tgz OverSim-20090320.tgz] and extract in next to your OMNeT++ installation:
    6049{{{
    6150  cd ~/sim
    62   tar xzf /tmp/OverSim-20080919.tgz
     51  tar xzf /tmp/OverSim-20090320.tgz
    6352}}}
    6453
    65 11. Compile !OverSim:
     549. Compile !OverSim:
    6655{{{
    67   cd ~/sim/OverSim-20080919
    68   ./makemake
     56  cd ~/sim/OverSim-20090320
    6957  make
    7058}}}