LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-21-2015, 10:39 AM   #1
Paradox2k15
LQ Newbie
 
Registered: May 2015
Posts: 3

Rep: Reputation: Disabled
Need help installing NS 2.26 with RSVP-TE patch


Hello,

i need to install NS2 version 2.26 with RSVP-TE patch to do some MPLS simulations.

I'm trying on fedora 8 and when compiling i am getting this error

* Build ns-2.26
============================================================
loading cache ./config.cache
...
checking for tcl2c++... ../tclcl-1.0b13
checking for X11 header files
checking for X11 library archive
checking for XOpenDisplay in -lX11... (cached) no
can't find X library
Ns configuration failed! Exiting ...
Please check http://www.isi.edu/nsnam/ns/ns-problems.html
for common problems and bug fixes.

All X11 packages are installed (libX11-devel libXext-devel libXau-devel libXmu-devel)

Installed CentOS 3.9 (it seems NS2 2.26 installs well on this distro) but when trying to get packages with yum seems the repo is not working anymore.

If any one could help to solve the problem of installation i would greatly appreciate
 
Old 05-21-2015, 11:33 AM   #2
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 4,165

Rep: Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223
The problem is that you are using out-of-date distros. The current version of CentOS is 7: versions 5 and 6 are still supported, but not 3. Similarly, the current version of Fedora is 21 and only 20 is still supported. Trying to compile current software on obsolete versions of Linux will lead to endless problems. You need to update!
 
Old 05-21-2015, 11:38 AM   #3
Paradox2k15
LQ Newbie
 
Registered: May 2015
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thanks for your answer, problem with new distros is the version of gcc, and NS2.26 with RSVP-TE patch by what the author of the patch says needs gcc 2.95 to compile (http://netgroup.iet.unipi.it/software/rsvp-te_ns/readme). And new distros come with newer versions of gcc.
 
Old 05-21-2015, 11:40 AM   #4
Paradox2k15
LQ Newbie
 
Registered: May 2015
Posts: 3

Original Poster
Rep: Reputation: Disabled
Also ns 2.26 is from 2004 or even older. Actual version of ns is 2.35 and that is very easy to install. Problem is that patch needs 2.26...
 
Old 05-22-2015, 11:48 AM   #5
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 4,165

Rep: Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223
I'd always wondered why ns-2 gave so many people problems, and it's obviously because it's no longer supported since the introduction of ns-3. The website for that has no mention of MPLS simulation, but there seem to be commercial products that provide it, and I suspect that what most institutions are using. Have you looked at sourceforge to see if there's anything suitable there?

It looks like the only other solution is to keep the CentOS 3.9 exclusively for running ns-2; the lack of software and security updates would be no problem in that case.

Last edited by DavidMcCann; 05-22-2015 at 11:51 AM.
 
  


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
ISI release for RSVP with linux patch not working dharm_sk Linux - Networking 0 07-30-2014 10:44 AM
not able to use rsvp filter with tc command dharm_sk Linux - Newbie 0 07-29-2014 05:44 PM
[SOLVED] RSVP implementation in linux anjali_svijay Linux - Newbie 3 07-25-2014 11:25 AM
Aggregated RSVP in NS-2 Hannaneh Linux - Newbie 1 04-22-2011 02:31 AM
VanLUG - RSVP, Monday, May 16th mcleodnine Linux User Groups (LUG) 0 05-12-2005 11:42 PM


All times are GMT -5. The time now is 06:25 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration