Ref:http://greenw.blogspot.com/2005/12/install-ns226-in-ubuntu.html
Objective: install ns-allinone-2.26 in Ubuntu 5.10 Breezy
Software
needed: gcc-3.3, g++-3.3 (ns2.26 cannot be compiled with gcc >=
4.0), build-essential, autoconf, automaken, libxt-dev(tk need it),
libxmu-dev(nam need it)
To do:
1. apt-get install build-essential
2. apt-get install gcc-3.3 g++-3.3 autoconf automake-1.9 libxt-dev
3. go to /usr/bin, del softlink to gcc, g++
4. ln -s gcc-3.3 gcc
5. ln -s g++-3.3 g++
6. vi .bash_profile and add:
export CC=gcc-3.3
export CXX=g++-3.3
Ubuntu下修改gcc 安装ns2.26
安装NS2.26于Ubuntu5.10
最新推荐文章于 2017-04-08 21:51:48 发布
本文档提供了一套详细的指南用于在Ubuntu5.10上安装NS2.26网络模拟软件。为了成功安装,需要配置特定版本的GCC和其他依赖项,包括g++-3.3、autoconf、automake-1.9等。
1917

被折叠的 条评论
为什么被折叠?



