How to Correct the NS / NAM Problem in Fedora 10

Step 1: download the NS allinone Package from the following link. I Used (ns-allinone2.33).
Step 2: extract it in a folder (Eg: I used /opt/), but you need to be a root to extract in that folder (better extract it under /home/#username#)

NAM wont work because of the compatibility issues with tk8.4.18, so download a patch given in the following link.

Step 3:
Step 4: There are two patch files, the second file worked in my case as i tried only the second file (tk-8.4-lastevent.patch)
Step 5: Save the file as .patch and store it in ./ns-allinone-2.33/tk8.4.18/

Step 6: Patch the file by executing the following commands

[rootamiitesh tk8.4.18]$ patch -p1 < /opt/ns-allinone-2.33/tk8.4.18/tk-8.4-lastevent.patch

(you may get the following lines of information...)

can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
|--- generic/tk.h.orig 2008-02-06 16:31:40.000000000 +0100
|+++ generic/tk.h 2008-07-24 08:21:46.000000000 +0200
File to patch: generic/tk.h

Step 7: Enter the file to patch as generic/tk.h

Thats it!!!!!

Step 8: then go for the Installing the Network Simulator 2
click here to see the installation instructions


Popular Posts