TWiki home TWiki > Simulation > IPv6Suite > Main > InstallationProcedureIfYouDoNotHaveRootAccess TWiki webs:
Main | TWiki | Know | Sandbox
Simulation . { Changes | Index | Search | Go }

IPv6Suite Trash.Main if you do not have root access

We propose such a directory structure:

These instructions assume that you have sufficient knowledge to attempt this manually as the steps are not explained in detail. Most of the steps can be adapted from the respective X.spec files that reside in the source rpms.

How to extract files from RPMs

Download the previous source rpms on the Trash.Main page. To extract the files from for example omnetpp-2.3-2.src.rpm do the following:
  1. mkdir /tmp/package-root
  2. cd /tmp/package-root
  3. rpm2cpio  /path/to/downloaded-rpm/omnetpp-2.3-2.src.rpm  |cpio -dim

Installing OMNeT++

  1. cd ~/oppsim
  2. Extract the omnetpp archive from the source rpm as explained above and move it into this directory
  3. tar zxvf omnetpp-X.X-src.tar.gz
  4. cd omnetpp-X.X
  5. Edit configure.user and change the user options if you want. Suggestions:
    1. Comment out PVM_CFLAGS, PVM_LIBS, MPI_CFLAGS, MPI_LIBS definitions.
  6. ./configure
    There should be some warnings about adding the omnetpp-X.X directory into the PATH and LD_LIBRARY_PATH environment variables. Heed this advice and rerun configure to make sure those two environment variables are set correctly.
  7. make
There should be no errors. If there are, you need to rectify these problems before proceeding with the installation of the IPv6Suite.

Installing IPv6Suite Support Libraries and Utilities

There are two support libraries used in IPv6Suite: Xerces-C for its XML parsing library and Boost. Only Xerces-C requires compilation to produce a dynamic library. Boost is a template library and so the headers are included by IPv6Suite. Follow these instructions to install: Installing Xerces-C, installing BOOST. Please note that you should adapt the instructions to use the sources extracted from the X.src.rpms as explained above.

Download cmake source rpm and extract the contents as explained in the first section of this page.

  1. tar zxvf CMake-1.6.X-tar.gz
  2. cd CMake-1.6.X
  3. patch -p1 < ../CMake.FindOmnet.patch
  4. patch -p1 < ../CMake.omnetpp.patch
  5. ./configure --prefix=${HOME} (Choose a different prefix if you want it installed elsewhere)
  6. make
  7. make install (You'll need to make sure that ${HOME}/bin is in your PATH to use these tools properly).

Topic InstallationProcedureIfYouDoNotHaveRootAccess . { Edit | Attach | Ref-By | Printable | Diffs | r1.5 | > | r1.4 | > | r1.3 | More }
Revision r1.5 - 11 May 2005 - 12:01 GMT - AhmetSekercioglu
Parents: WebHome > IPv6Suite > Main
Copyright © 1999-2003 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback.