NS2 and Aquasim
Hi
I am working on a project based on underwater environment. I have Ubuntu 11.4 installed. Also I have installed NS2-2.34. I want to install aquasim for simulation purposes. Can anyone please guide me about the installation procedures and give me some links of the tutorials. Thanks |
Welcome to LQ.
Some hints about Aquasim in these two threads .. http://www.linuxquestions.org/questi...quasim-855532/ http://www.linuxquestions.org/questi...otocol-890215/ Aquasim is for ns-2.30 : You can have more than one version of ns-allinone-2.xx installed. Except that Ubuntu 11.xx (12.xx?) is worst choice for special software. g++41-compat-4.1.2_i386.deb, gcc41-compat-4.1.2_i386.deb may work : export CC=gcc41 CXX=g++41 && ./install . |
You can refer to this link: http://dreamwold.wordpress.com/2011/...llation-guide/
|
Hi Knudfl,
I followed your instructions in this thread and also the links to the previous threads you provided. Got the following results. Please help. Platform: Ubuntu 11.04 NS2.34 already installed. As you said, it supports more than one version of NS. So, now installing NS-allinone-2.30 and Aqua-sim for NS-2.30. Quote:
|
Hi knudlf
Thanks for the reply but the commands that you mentioned are not running. They give an error "Command not found". Can you please elaborate or suggest a differnt way. Hi Satyaveer I have tried this link before but coul'nt decipher the following: "essential libs for the installation of ns-allinone-2.30. Usually, it requires gcc/g++ complier, automake, X11 lib. To make Aqua3D works, some other packages, such as freeglut, GTK+ 2.0 and wxGTK-2.8.11, are also required ." How can i install the above said? also when i try without above sets, it gives some gcc not found error. Please help |
Generally for all ns2, all Ubuntu :
sudo apt-get install g++ make autoconf automake libtool libxmu-dev Ubuntu 11.04 : ( Read post #2 ) sudo dpkg -i gcc41-compat-4.1.2_i386.deb g++41-compat-4.1.2_i386.deb gcc41-compat https://docs.google.com/open?id=0B7S...RjNjJhOTZjNjI2 g++41-compat https://docs.google.com/open?id=0B7S...hjMjljN2M2MGU4 gtk+2 : always installed by default. wxGTK-2.8.11 and freeglut : sudo apt-get install libwxgtk2.8-dev freeglut3-dev And please read this other thread about Ubuntu 11.04 (11.10) http://www.linuxquestions.org/questi...1-04-a-921068/ "No old Ubuntu compilers .. will work in Ubuntu 11.04 and 11.10" ( And none of the defult g++ 4.4 , 4.5 , 4.6 will work with ns-2.30 ). . |
hi Kundfl,
Thanks for your reply. commands that you told, worked. when I gave the command ./install it gave this result 1. Quote:
and http://nsnam.isi.edu/nsnam/index.php...allation_Guide So, made changes in the file otcl-1.12/makefile.in CC= gcc-4.2 and added SHLIB_LD="gcc -shared" to otcl-1.12/configure it gave following results. 2. Quote:
|
#7, @emmashi : Please read posts #2 and #6 :
You will have to download and install the compilers. ( Ubuntu 11.04 : It's not gcc-4.2, but gcc41 ( and g++41 ). sudo dpkg -i gcc41-compat-4.1.3_i386.deb g++41-compat-4.1.2_i386.deb .. Then reboot, and the new compilers can be used. And : cd ns-allinone-2.30/ && export CC=gcc41 CXX=g++41 && ./install . |
Quote:
I have downloaded it from the link you provided. Also, i tried the installation from synaptic manager. but it didn't work. It gives the following error. Quote:
|
#9.
The first command is 'pwd', if you don't know your location. Most terminals will open in /home/<name>/. Some in /home/<name>/Documents/. Depending on your settings in /home/<name>/.config/user-dirs.dirs Then change to the directory with files to be installed. Like : cd Downloads/ ; sudo dpkg -i <package> <package> . |
thank you so much knudfl, it worked. :)
but some important notices were given at the end to change some path variables, I did that. next it asked to run command cd ns-2.30 and then ./validate but command ./validate did not work. what should I do next? Need help again. Quote:
|
Aquasim, ns-2.30 ..
Using the Fedora / CentOS compiler, compat-gcc-34-c++-3.4.6-4, on PCLinuxOS-2011 the result is : Code:
validate overall report: some tests failed: Ubuntu 11.04 and 11.10 : Not the best choice for ns2. ? May be Ubuntu 10.04 will make a better result ? ? . |
thanks kundfl.
i'll try it with Ubuntu 10.04 |
hi
i have installed ubuntu 10.04 and am getting the following error while installing ns-allinone-2.30 Quote:
please Help |
Hi
does anyone know the gcc version for ubuntu 10.04.4 i want to install ns 2.30 and aquasim and getting the following error. Quote:
|
All times are GMT -5. The time now is 06:05 PM. |