Welcome to LQ.
"ns-allinone-2.35.tar.gz" is and old version, year 2011. Updated version → → ↓
The build :
Code:
tar xvf ns-allinone-2.35_gcc482.tar.gz
https://drive.google.com/file/d/0B7S...ew?usp=sharing
cd ns-allinone-2.35/
./install
cd ns-2.35/
sudo make install ('make install' will copy the executable 'ns' to /usr/local/bin/)
cp ns ns235-orig ( This is your backup )
sudo cp ns235-orig /usr/local/bin/
cd ../nam-1.15/
sudo make install
Note: If you later make any changes to ns-2.35, all default simulations can still be run with
Code:
ns235-orig [simulation].tcl