# install.txt, Dec 2014 Padua, Massaro Michele Installation steps (for linux): It is strongly recommended a 32-bit OS to make it work correctly. 1) Download ns2 2.34 "allinone" from here: http://sourceforge.net/projects/nsnam/files/allinone/ns-allinone-2.34/ns-allinone-2.34.tar.gz/download 2) Install it, and be sure that it is working before proceeding; 3) Replace ns-2.34 directory from the VoAP zip file with the one inside the ns-allinone-2.34 directory; 4) Open with a text editor the file /*ns path*/ns-allinone-2.34/ns-2.34/Makefile.in, and at line 43 modify the path to be in accordance with the location of the ns folder; 5) Enter with a shell in the directory /*ns path*/ns-allinone-2.34/ns-2.34/ 6) Execute those commands: ./configure make clean make To set all environment variables, append the following at the end of ~/.bashrc file: # LD_LIBRARY_PATH OTCL_LIB=/*ns path*/ns-allinone-2.34/otcl-1.13 NS2_LIB=/*ns path*/ns-allinone-2.34/lib X11_LIB=/usr/X11R6/lib USR_LOCAL_LIB=/usr/local/lib export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OTCL_LIB:$NS2_LIB:$X11_LIB:$USR_LOCAL_LIB # TCL_LIBRARY TCL_LIB=/*ns path*/ns-allinone-2.34/tcl8.4.18/library USR_LIB=/usr/lib export TCL_LIBRARY=$TCL_LIB:$USR_LIB # PATH XGRAPH=/*ns path*/ns-allinone-2.34/bin:/*ns path*/ns-allinone-2.34/tcl8.4.18/unix:/*ns path*/ns-allinone-2.34/tk8.4.18/unix NS=/*ns path*/ns-allinone-2.34/ns-2.34/ NAM=/*ns path*/ns-allinone-2.34/nam-1.14/ PATH=$PATH:$XGRAPH:$NS:$NAM *** Remember to substitute /*ns path*/ with your actual path. ***