Posts

Showing posts from May, 2013

Ns2.34 Installation insturction on Ubuntu 10.04

tar -xzvf ns-allinone-2.32.tar.gz $ cd ns-allinone-2.32 (before install ns-2 you will need the packages that are shown below ) $ sudo apt-get install build-essential autoconf automake libxmu-dev $ sudo apt-get install libx11-dev libxmu-dev libxmu-headers libxt-dev libtool $ sudo apt-get install dpkg-dev g++ libc6-dev make $ sudo apt-get install tcl8.4 tk8.4 $ sudo apt-get install build-essential These packages might be dependent on each other so I remember installing the packages in reverse order. Install the development files for X Windows plus the g++ compiler: sudo apt-get install xorg-dev g++ xgraph Fix the error in the linking of otcl by editing line 6304 of otcl-1.13/configure so that it reads SHLIB_LD="gcc -shared" instead of SHLIB_LD="ld -shared" $ sudo apt-get install build-essential autoconf automake libxmu-dev gcc-4.3  instead of the previous command would require to change the Makefile.in Since my version was comp