facing ns2 installation issues in ubuntu 11.04
I am trying to install ns2 version 2.34 in ubuntu 11.04 ,i have it installed on my ubuntu 10.10 but now I wann do it in 11.04 but I am unable to do so I have run
but I am getting the errors like otcl make failed ,I am attaching the errors here ,please have a look ,I am tired of gcc compiler errors and otcl make failed
Ubuntu 11.04 : Not the best choice for building ns-allinone-2.34.
But the 32bits 11.04 can be used. ( 10.04 LTS is better.)
( If it's a 64bits 11.04 : Any compiler will create "ns buffer overflow".
"Erlend's porting to gcc4.5" http://erl1.wordpress.com/2011/05/12...-ubuntu-11-04/
.. is probably OK, but the slightest change (in g++ ?) by an update
may require further edits in ns-allinone-2.34.
The proof way is: Use a gcc/g++ version 3.4.6 compiler, built for 11.04 : See *EDIT
Start from scratch in a new directory, no edits in ns, etc. :
cd ns-allinone-2.34/ && export CC=gcc34 CXX=g++34 && ./install
More info : LQ Search → → Keyword = ns-allinone
*EDIT : Now (a month later), g++ 3.4.6 isn't working any more.
The only usable seems to be gcc/g++ version 4.2.4 :
I'm aware that the fix is a shoddy one, but it works for the moment.. :)
Umair, the error you are reporting should be fixed if you do the following:
@ Erlender :
Sir I followed all the instructions on your blog http://erl1.wordpress.com/2011/05/12...-ubuntu-11-04/
but it is working for ubuntu 10.10 but for ubuntu 11.04 it is not. I also did this
degrading Ubuntu 11.10 to 11.04
Will this degrading of Operating System affect the data. It can be degraded or not ??
|All times are GMT -5. The time now is 11:17 PM.|