UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
All important tips : Post # 15.
About :
cd ns-allinone-2.34/ && export CC=gcc34 CXX=g++34 && ./install
! The export command is temporary. Will reset to gcc(-4.5)
when you exit the terminal.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
Post # 24, @ maneshmotts.
Sorry, Ubuntu 11.10 is not usable for ns2.
And by the way, Ubuntu 11.10 has 3 different gcc / g++ versions :
4.4 , 4.5 , 4.6 , all can be installed at the same time.
Suggest : Use Ubuntu 10.04 for ns2. ( Or any other Linux OS.)
Avoid Ubuntu 11.xx.
(Ubuntu 11.04 is usable with a special "g++42-compat-4.2.4_i386.deb".)
HI I while trying to install ns2 I am getting following error.
Quote:
In file included from mpls/classifier-addr-mpls.cc:75:
mpls/classifier-addr-mpls.h: At global scope:
mpls/classifier-addr-mpls.h:1: error: expected unqualified-id before ‘/’ token
mpls/classifier-addr-mpls.h:1: error: expected constructor, destructor, or type conversion before ‘-’ token
mpls/classifier-addr-mpls.h:1: error: expected constructor, destructor, or type conversion before ‘-’ token
mpls/classifier-addr-mpls.h:1: error: expected constructor, destructor, or type conversion before ‘-’ token
make: *** [mpls/classifier-addr-mpls.o] Error 1
Ns make failed!
See http://www.isi.edu/nsnam/ns/ns-problems.html for problems
This was fresh installation in ns 2.35 in ubuntu 10.04. Kindly help
Thanks
Thanks for the reply.ya the new packet made my installation successful I have set the environmental variable and validate all the test was successful. when I try to run the NS2 file it says. "ns command not found" .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.