facing ns2 installation issues in ubuntu 11.04
1 Attachment(s)
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
Code:
sudo apt-get update Code:
sudo apt-get install build-essential autoconf automake libxmu-dev gcc-4.3 Quote:
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". AFAIK.) "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 https://docs.google.com/uc?id=0B7S25...nload&hl=en_US > gcc34-compat-3.4.6_i386.deb https://docs.google.com/uc?id=0B7S25...nload&hl=en_US > g++34-compat-3.4.6_i386.deb 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 http://www.linuxquestions.org/questions/search.php *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 : http://www.linuxquestions.org/questi...04-a-904827/#3 .. |
otcl error
Hi guys,
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: Code:
Fix the error in the linking of otcl by editing line 6304 of otcl-1.13/configure so that it reads Cheers, Erlend |
@ 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 Code:
SHLIB_LD="gcc -shared" |
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:30 AM. |