- The general suggestion is not to use Ubuntu 11.10 (or 11.04) for NS2.
( All ns2 versions were created and tested on CentOS / RHEL.)
- The ZRP patch is for ns-2.33 only. http://aplysit.com/downloadable/
Just do not add any of them to a PATH*.
- No ns-2.33 or any other version ns-2.27.....2.34 can be installed on Ubuntu 11.10.
Steps
-------
1- First put (ns-allinone-2.33_ZRP.tar.gz , PatchZRP.patch and patchmyZRP.sh) in Ns-allinone-2.33 directory.
2- Give this command: cd ns-allinone-2.33/ && patch -p1 < PatchZRP.patch
3- Give this one: touch ns-2.33/common/packet.h && touch ns-2.33/trace/cmu-trace.h
4- Go to Ns-allinone-2.33 and give this command: tar xvf ns-allinone-2.33_ZRP.tar.gz
5- Go to Ns-allinone-2.33/ns-2.33 and I give this: make -k