Welcome to LQ.
Which version of ns2 ? ? ( Assume Ubuntu 11.04 )
http://www.linuxquestions.org/linux/...Ask_a_Question
http://linuxsilo.net/docs/smart-questions_en.html
... And please use a descriptive title.
"Help me please, is urgent" : It's a help Forum.
And urgent is not a word to be used here.
Example, ns-allinone-2.34 :
http://erl1.wordpress.com/2011/05/12...-ubuntu-11-04/
NS2 prerequisites : sudo apt-get install \
g++ g++-4.4 autoconf automake make libtool patch xgraph \
libx11-dev libxmu-dev libxmu-headers libxt-dev
Good luck !
.