LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 08-29-2013, 02:51 AM   #1
TariqMohammed
LQ Newbie
 
Registered: Jun 2013
Posts: 24

Rep: Reputation: Disabled
ns-allinone-2.26 requirments


Hi,

I would like to implement MPLS modules in NS2 starting from some existing modules (like RSVP module http://netserv.iet.unipi.it/software/rsvp-te_ns/). In this module, the auther prefer to use NS2.26

Steps of installing the RSVP module:
http://netserv.iet.unipi.it/software/rsvp-te_ns/readme


Before I install NS2.26, I want to ask about:
1- Which OS I should use.
2- Which gcc& g++ I have to install.
3- In case that I already installed new versions of gcc & g++, how I can un-install them.

Last edited by TariqMohammed; 08-29-2013 at 02:53 AM.
 
Old 08-29-2013, 03:04 AM   #2
Razaliel
LQ Newbie
 
Registered: Jul 2013
Distribution: Debian testing
Posts: 21

Rep: Reputation: 4
Hi,

Well ns2.26 is quite old and you may find problem to compile it with new gcc/g++. I would recommend an old distribution like debian squeeze. That's a start. You will need either an old version of gcc/g++ (some 4.1 or at least less than 4.3) or you will have to fix all the parts of code where the compilation tells you there's an error.

If you want to uninstall gcc/g++ just type:

sudo apt-get remove gcc g++

or you can use autoremove to remove all dependencies of gcc

sudo apt-get autoremove gcc
 
Old 08-29-2013, 04:44 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,271

Rep: Reputation: 2662Reputation: 2662Reputation: 2662Reputation: 2662Reputation: 2662Reputation: 2662Reputation: 2662Reputation: 2662Reputation: 2662Reputation: 2662Reputation: 2662
Quote:
1- Which OS I should use.
2- Which gcc& g++ I have to install.
3- In case that I already installed new versions of gcc & g++,
how I can un-install them.
Add 1) Any 32bits OS will do for ns-allinone-2.26 + ns-2.26-gcc410.patch.
The 32bits Ubuntu 12.04 that you have now will do fine.

Add 2) gcc / g++ version 4.1.2 .
You already have those packages installed. (Ref. your previous ns2 thread.)

Add 3)
You can have as many versions of gcc as you want, installed at the same time.
The available compilers all use unique file names : No conflicts.
( gcc g++ gcc-4.4 g++-4.4 gcc41 g++41 etc. etc.)

-
 
Old 08-29-2013, 09:23 AM   #4
TariqMohammed
LQ Newbie
 
Registered: Jun 2013
Posts: 24

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
Add 1) Any 32bits OS will do for ns-allinone-2.26 + ns-2.26-gcc410.patch.
The 32bits Ubuntu 12.04 that you have now will do fine.

Add 2) gcc / g++ version 4.1.2 .
You already have those packages installed. (Ref. your previous ns2 thread.)

Add 3)
You can have as many versions of gcc as you want, installed at the same time.
The available compilers all use unique file names : No conflicts.
( gcc g++ gcc-4.4 g++-4.4 gcc41 g++41 etc. etc.)

-

clear , thanks Razaliel & knudfl.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Partition Size Requirments ian_x Linux - Newbie 2 09-03-2007 07:57 PM
postfix requirments Dogar Linux - Software 2 07-17-2007 05:47 AM
Requirments SoloTOandO Linux - Hardware 3 01-09-2007 03:20 PM
What are the system requirments for Ubuntu 6.10? BlahBlah_X Ubuntu 3 12-13-2006 09:20 PM
REDHAT 9.0 System requirments. PrimaryDataLoop Linux - Hardware 6 06-04-2003 12:31 PM


All times are GMT -5. The time now is 10:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration