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

Prerequisite Trash.Main Procedure if you have root access

All the required software will be installed by RPM (Redhat Package Manager) under the /usr directory. For more information on RPM in general please go to

Installing OMNeT++

There is a glitch in the OMNeT++ 2.3 distribution which prevents the IPv6Suite running properly. Until this issue is cleared up, install the OMNeT++ (patched) by using the rpm file provided at the bottom of the page (more information about the OMNeT++ 2.3 glitch). Do the following actions as the "root" user:

  1. Install tcl and tk if it is not installed. Also install tk-devel and tcl-devel rpm packages if they exist e.g. on Fedora Core 1 and 2.
  2. rpmbuild --rebuild --define "cvsdate XXXX" omnetpp-X.X-X.src.rpm (where XXXX is the date i.e. 20040608 in the rpm filename.)
  3. rpm -Uvh /usr/src/redhat/RPMS/i386/omnetpp-X.X-X.i386.rpm
Note When rebuilding or installing the packages the following message appears: warning: user johnny does not exist - using root It is safe to ignore this.

Let's now check that OMNeT++ is installed ok:

  1. rpm -q omnetpp
  2. login as an ordinary user.
  3. mkdir ~/oppsim
  4. cd ~/oppsim
  5. cp -R /usr/share/doc/omnetpp-XXXXX/samples/hcube .
  6. cd hcube
  7. opp_makemake -f
  8. make
  9. ./hcube
You should now be able to see hcube simulation running.

Installing Support Libraries and Utilities

RedHat?/FC users need to make sure you have the following installed from yum/apt, CDROM or other sources

The following instructions in this section assume you download the srpms from here.

No C++ XML libraries are needed as long as omnetpp releases from 20040914 are used.

  1. rpmbuild --rebuild blt-xxx.src.rpm
  2. rpm -Uvh /usr/src/redhat/RPMS/i386/blt-xxx.i386.rpm
  3. rpmbuild --rebuild cmake-xxx.src.rpm (As of ipv6suite-0.92_20041119 you can simply download the static binary tarball from if you want to save some time)
  4. rpm -Uvh /usr/src/redhat/RPMS/i386/cmake-xxx.i386.rpm

Installing boost

This is necessary if boost is not installed or no header files for your boost installation in /usr/include/boost
  1. download boost-xxx.src.rpm and boost-jam-xxx.src.rpm from here.
  2. rpmbuild --rebuild boost-jam-xxx.src.rpm
  3. rpm -Uvh /usr/src/redhat/RPMS/i386/boost-jam-xxx.i386.rpm
  4. rpmbuild --rebuild boost-xxx.src.rpm
  5. rpm -Uvh /usr/src/redhat/RPMS/i386/boost-xxx.i386.rpm
  6. rpm -Uvh /usr/src/redhat/RPMS/i386/boost-devel-xxx.i386.rpm (unless the file does not exist which depends on which version of boost and where you downloaded it from)

OLD Installing Support Libraries and Utilities

These instructions are valid for ipv6suite releases that were old and exist on these twiki pages only. These are unsupported now. Check the comments alongside the download files on these twiki pages for the particular versions required.

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.

Download the RPMs attached at the bottom of the page (md5 checksums in the comments column). You should right click on the link and click Save As otherwise it may display the RPM in the browser. You can download them to any temporary directory. These instructions assume you are in that directory. The RPMs include all patches and should not require any additional manual steps from you. Install IPv6Suite after all of these prerequisite libraries have been installed.

  1. rpmbuild --rebuild boost-jam-xxx.src.rpm
  2. rpm -Uvh /usr/src/redhat/RPMS/i386/boost-jam-xxx.i386.rpm
  3. rpmbuild --rebuild boost-xxx.src.rpm (Fedora Core 2 (FC2) users, skip the boost installation step since FC2 comes with boost. )
  4. rpm -Uvh /usr/src/redhat/RPMS/i386/boost-xxx.i386.rpm (FC2 users need to make sure boost-devel is installed check with rpm -q boost-devel)
  5. rpmbuild --rebuild xerces-c-xxx.src.rpm
  6. rpm -Uvh /usr/src/redhat/RPMS/i386/xerces-c-xxx.i386.rpm
  7. rpmbuild --rebuild cmake-xxx.src.rpm (As of ipv6suite-0.92_20041119 you can simply download the static binary tarball from if you want to save some time)
  8. rpm -Uvh /usr/src/redhat/RPMS/i386/cmake-xxx.i386.rpm

Note Do NOT attempt the following

this does not install the package. It merely extracts contents of the src.rpm.

Optional Libraries for IPv6Suite development

The following libraries are used by the developers to aid in development process:

Attachment: Action: Size: Date: Who: Comment:
xerces-c-1.7.0-0.src.rpm action 6867005 20 Jun 2003 - 06:21 JohnnyLai cf299a323848a34b5c0b4198fee0b8f9
boost-jam-3.1-1.src.rpm action 180644 23 Jun 2003 - 05:14 JohnnyLai Required to build boost
boost-1.29.0-1.src.rpm action 5346902 23 Jun 2003 - 05:35 JohnnyLai a09f4ea36c4a436d476a37d71024c16a
cmake-1.6.7-4.src.rpm action 1104021 03 Jul 2003 - 12:38 JohnnyLai e90eddb5e206f84b2889b8b1825f64f3
cmake-1.8.1-1.src.rpm action 1427891 23 Jan 2004 - 00:04 JohnnyLai For use with IPv6Suite 0.92x
omnetpp-2.3_20031009-8.src.rpm action 2308007 23 Mar 2004 - 00:36 JohnnyLai 7e433ff68fa1919eda862383e9b4d606 Fix for FC1
omnetpp-3.0pre_20040608-10.src.rpm action 2517477 29 Jun 2004 - 14:52 JohnnyLai added missing config.tcl
boost-1.31.0-1.src.rpm action 6949464 18 Jun 2004 - 06:55 JohnnyLai For IPv6Suite from 20040608
blt-2.4-1.z.src.rpm action 2211996 06 Jul 2004 - 12:05 JohnnyLai required for omnetpp 3 plove (LD_PATH fix)
omnetpp-3.0pre_20040730.tar.bz2 action 2467600 05 Aug 2004 - 04:37 JohnnyLai > omnetpp 3.0a6
omnetpp-3.0pre_20040730-11.src.rpm action 2488308 10 Aug 2004 - 05:01 JohnnyLai same as tar.bz2 + omnetpp patch +Doxyfile
xmlwrapp-0.5.0-2.src.rpm action 114106 12 Aug 2004 - 04:31 JohnnyLai This works better than Xerces-C

Topic InstallationProcedureIfYouHaveRootAccess . { Edit | Attach | Ref-By | Printable | Diffs | r1.35 | > | r1.34 | > | r1.33 | More }
Revision r1.35 - 11 May 2005 - 12:01 GMT - AhmetSekercioglu
Parents: SimulationWebHome > 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.