i am having problem with my ns2 emulator. when i run broadcastMAC_example.tcl file it gives error: invalid command name "Mac/UnderwaterMac" When I run vbf_example_5.tcl file it gives error: invalid command name "Agent/Vectorbasedforward" i am using ubuntu 16.04 and ns2.30 enter image description here
i used the command:
$sudo make install and $make install
They appear with the same error:
for d in /usr/local/man/man1; do
if [ ! -d $d ]; then
mkdir -p $d ;
fi;
done
/usr/bin/install -c -m 755 ns /usr/local/bin
/usr/bin/install: cannot stat 'ns': No such file or directory
Makefile:522: recipe for target 'install-ns' failed
make: *** [install-ns] Error 1
enter image description here
Seems you are using a wrong copy of the executable 'ns'. Or you have a failed build : Ubuntu 16.04 - amd64 cannot build Aqua-Sim.
But you can install the app
aquasim-ns2_2.30-1ubuntu14_amd64.deb(1.6MB) into Ubuntu 16.04 - amd64 https://drive.google.com/file/d/19mpMQvuA2Fbud1MCMagCdHEUbe3OkTLW/view?usp=sharingProvides
/usr/local/bin/ns230-Aqua-el6Download ..... and install
--------- Simulation -------
ns230-Aqua-el6 vbf_example_5.tcl43 simulation examples:
aquasim-examples-01.20.tar.gzhttps://drive.google.com/file/d/1-j-2mFFOsVqVHTEVEdKxboG75Mi4pO7A/view?usp=sharing
Building "Aqua-Sim" : A specific 32bit / 64bit OS is required : The ancient Ubuntu 10.10 - i386 or the modern CentOS 6.10 - i386 / CentOS 6.10 - x86_64
https://vault.centos.org/6.10/isos/i386/CentOS-6.10-i386-LiveDVD.iso
https://vault.centos.org/6.10/isos/x86_64/CentOS-6.10-x86_64-LiveDVD.iso