'OPMIP - Open PMIPv6'

PrevUpHomeNext

Build OPMIP

Build Requirements
Recomended Working Directory
Setup BOOST
OPMIP

To build OPMIP you will need:

  • gcc version 4.5.2 or higer
  • BOOST libraries version 1.47

The following working directory is recommended:

~/
|
+-- projects/
|    |
|    +-- boost_1_47_0/
|    |
|    `-- opmip/
|
`-- user-config.jam

To properly setup BOOST on your computer follow the next setps:

  1. Get BOOST libraries

    1. Download BOOST libraries from

    2. Unpack to ~/projects/boost_1_47_0

      • cd ~/projects
      • tar --bzip2 -xf <path-to-downloaded-file>/boost_1_47_0.tar.bz2
  2. Set Environment variables

    1. Set BOOST_ROOT environment variable

      • export BOOST_ROOT=~/projectsboost_1_47_0
    2. Maybe you want to put this in your .bashrc file
  3. Build and install Boost.Build

    1. First of all DO NOT build boost libraries (you don't need it)
    2. Build Boost.Build

      • cd $BOOST_ROOT
      • ./bootstrap.sh
    3. Install

      • cp b2 /usr/local/bin
      • mkdir /usr/share/boost-build
      • cp -r tools/buildv2* /usr/shareboost-build
[Important] Important

Make sure BOOST_ROOT is defined. If BOOST_ROOT isn't defined BOOST libraries must be in opmip sources parent directory. You can also pass the location in command line with the option --boost-root=/path/to/boost instead of setting the BOOST_ROOT environment variable.

There are two ways of building OPMIP:

  • From the debianized sources provided
  • From the sources got from the git repository
[Important] Important

As BOOST doesn't have an updated debian package you will have to install and configure BOOST following the steps above even if you choose to use the debianized sources.

  1. Unpack opmip.tar.gz

    • cd ~/projects
    • tar -xf <path-to-opmip.tar.gz>
  2. Build debian package

    • cd opmip/opmip-0.2
    • dpkg-buildpackage
  3. Install the debian

    • cd ..
    • dpkg -i opmip0.2-1<arch>.deb
  1. Get OPMIP from the git repository

    • cd ~/projects
    • git clone https://helios.av.it.pt/git/opmip
  2. Build OPMIP

    • cd opmip
    • b2

The generated binaries are now under ~/projects/opmipdist.


PrevUpHomeNext