NS-2 Network AnimatorThis is just a little note to self about how to deal with problems related to installation of Network Simulator 2 on Fedora Core 5 but I’m sure it applies to other distros also.

Use the step by step manual offered at http://www.isi.edu/…. As you move along the steps, some problems may occur. Ways to come around the problems are collected under:

If you have problems installing Tcl or Tk, use yum instead:
yum install tcl-devel
yum install tk-devel

You’ll also need the X11 header files. Install them using the Add/Remove Software and install developement files for X Windows

For compilation of otcl, see http://www.cmlab.csie.ntu.edu.tw/… or just read on:

If you install ns-allinone-2.29 on freebsd [or Fedora Core 5], there might be the following error message:

checking for a BSD-compatible install… /usr/bin/install -c
checking system version (for dynamic loading)… ./configure: line 6017: syntax error near unexpected token `(‘
./configure: line 6017: ` case `(ac_space=’ ‘; set | grep ac_space) 2>&1`in’otcl-1.11 configuration failed! Exiting …
Please check http://www.isi.edu/nsnam/ns/ns-problems.html for common problems and bug fixes.

You can modify line 5458 in /otcl-1.11/configure from
system=MP-RAS-`awk ‘{print $3}’ /etc/.relid’`
to
system=MP-RAS-`awk ‘{print $3}’ /etc/.relid`

For compilation of NS-2

Also check out the following pages for building and installation of NS2 and NS2 related issues: http://www.winlab.rutgers.edu/…, http://larsis.inf.ufpr.br/… (Brazilian) and http://zzlinux.blogspot.com/…

This post will be updated, should I run into anything else

Advertisements