Originally Posted by anuvelavan
ya i am compiling it my self . . .
Is it possible through package manager. . .
i am new to use linux
so i need help regarding that
I don't know what NS2
is, try searching for it in your package manager, or from commandline do: sudo apt-get install ns2
. If you still wish to compile and install yourself, do from commandline: sudo apt-get install build-essential
. This should install what you need to successfully compile.