LinuxQuestions.org
Visit Jeremy's Blog.
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 03-01-2011, 04:28 AM   #1
naren123.k
Member
 
Registered: Jan 2011
Posts: 85

Rep: Reputation: 17
how to install NS2.34 in fedora 14


hi i am trying to install NS2.34 but getting failed
---------------------------------------------------
*Build tcl8.4.18
---------------------------------------------------
./install:line 431: autoconf: command not found
loading cache ./config.cache
checking whether to use symlinks for manpages...no
checking whether to compare the manpages...no
checking whether to add a package name suffix for the manpages...no
checking for gcc...no
checking for cc...no
configure: error:no acceptable cc found in $PATH
tcl8.4.18 configuration failed exiting ...
Tcl is not part of the ns project. please see www.Scriptics.com
to see if they have afix for your platform.
[Narendra@localhost ns-allinone-2.34]$
please help me to install

Narendra
 
Old 03-01-2011, 05:13 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Please read post # 10 here
http://www.linuxquestions.org/questi...ion-864446/#10
I.e. read the answers in LQ threads about 'ns-allinone'.

And the ns2 Documentation : http://nsnam.isi.edu/nsnam/index.php/User_Information
How to Install Ns-2 on Fedora http://wpage.unina.it/marcello.caleffi/ns2/fedora.html

# yum install \
gcc-c++ compat-gcc-34-c++ automake autoconf libtool libX11-devel \
libXext-devel libXau-devel libXmu-devel xorg-x11-proto-devel

..
 
1 members found this post helpful.
Old 03-01-2011, 01:05 PM   #3
zWaR
Member
 
Registered: Dec 2003
Distribution: Slackware, Alpine Linux, Ubuntu, Debian
Posts: 219

Rep: Reputation: 35
I don't want to discourage you but a few years ago I wanted to install and work with ns2 on Fedora. I gave up and switched to Slackware (since then I've never touched Fedora again). It wasn't just the installation, if you're working with ns2 you most certainly are going to write something for it and compile. I had way too many problems with compilation on Fedora. On Slackware on the other hand everything worked flawless ...

That's my experience thouh...
 
1 members found this post helpful.
Old 03-01-2011, 03:49 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,622

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
to expand on "zWaR"
it is not that fedora is a "bad" distro - it is very good one
It is that Fedora is a BLOODY NEW CUTTING EDGE / NEWEST OF THE NEW distro and that ns2 id VERY old

ns2 builds in gcc 3
it dose not build in the default fedora 14 gcc 4.5
 
1 members found this post helpful.
Old 03-02-2011, 01:27 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Fedora 14 :

1) cd ns-allinone-2.34/
2) export CC=gcc34 CXX=g++34 && ./install : No errors !
 
1 members found this post helpful.
Old 03-11-2011, 12:59 PM   #6
unodior
Member
 
Registered: Mar 2011
Distribution: Fedora 12
Posts: 56

Rep: Reputation: 28
Quote:
Originally Posted by John VV View Post
ns2 id VERY old

ns2 builds in gcc 3
it dose not build in the default fedora 14 gcc 4.5
What distro of fedora could I use if I don't want to have problems compiling later, as zWar said?
I'm fed up of getting errors, I don't want more errors in the future.
Is fedora 12 ok?
 
Old 03-11-2011, 03:04 PM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,622

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
fedora ONLY supports one version for 13 months
WHY would you even think to use a dead and UNSUPPORTED version!!!

install the legacy gcc 3.4 AS YOU WERE INSTRUCTED !!!!!!!!!
READ AND FALLOW THE INSTRUCTIONS !!!!
the instructions for building on fedora 14 were given above !!!
and READ the fedora documentation!!!
http://docs.fedoraproject.org/en-US/index.html

Last edited by John VV; 03-11-2011 at 03:05 PM.
 
1 members found this post helpful.
Old 03-11-2011, 05:12 PM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 7 : Take it easy John, and edit your shouting text.
LQ member @unodior / Stella is actually using Fedora 14 !



# 6 @unodior : Don't believe everything, you read.

The statements in post # 4 are not correct.
It is based on an assumption that ns2 is old, and that ns-allinone is new.
.. And "everybody" know that they are the same thing.
Post # 3 : Slackware is probably perfect. ( Like for everything else.)
And : At least one person uses Slackware for ns2 !

There are no problems with any ns2 on Fedora 13-14.
All ns-2.2x work : ns-2.26 ... ns-2.35.
Also : You can easily have 2 times Linux installed.
( I have 10 .. 26 Linux OS on each computer.)

The "Long Term Supported" version of Fedora 12 is SL 6.0
http://www.scientificlinux.org/ ( A free copy of RHEL6.)

..

Last edited by knudfl; 03-11-2011 at 05:34 PM.
 
1 members found this post helpful.
Old 03-12-2011, 03:03 AM   #9
unodior
Member
 
Registered: Mar 2011
Distribution: Fedora 12
Posts: 56

Rep: Reputation: 28
Sorry, I haven't read this till this morning. I really apologize for my ignorance and I am deeply thankful to all of you who have helped me, specially knudfl who has been extremely patience with a newbi who doesn't know anything about linux and is trying to learn.
I've tried to follow instructions and learn all the time, and I'm reading documentation and viewing the forum. I'll try to do it better next time I ask something.

@John VV: The only reason I would have to use Fedora 12, now -thanks to knudfl- I don't have to do it, is because I MUST use ns2.30 (University's teacher instructions) and nam 1.12 didn't work. I installed ns-2.34 but I was INSISTED to install ns-2.30, and didn't know what to do.My teacher is actually using Fedora12 and ns-2.30, that's the reason why I thought it could be the only solution. Think about a person who's learning a new language and has to make a speech in three days: Not easy, although, not imposible. Nerves may betray you in some moments. I'm sorry if that bothered you. I'm just new in this.


@knudfl: Again, thank you very much for your help and for treating me so well. I've learned a lot thanks to you and I wouldn't have managed to install ns2.30 without your help.It was very important for me. Thanks
 
Old 03-12-2011, 03:20 AM   #10
unodior
Member
 
Registered: Mar 2011
Distribution: Fedora 12
Posts: 56

Rep: Reputation: 28
Quote:
Originally Posted by knudfl View Post

The "Long Term Supported" version of Fedora 12 is SL 6.0
http://www.scientificlinux.org/ ( A free copy of RHEL6.)

..
Thanks for discovering me this page!
 
  


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
How to install NS2 on fedora 11????? liban779 Linux - Software 5 03-04-2011 06:46 AM
unable to install NS2.30 on fedora 10 vipinrwr Fedora 16 11-22-2010 11:37 AM
how to install ns2 on fedora ? vaibhav_soham Linux - Software 1 01-02-2010 01:05 AM
Unable to install NS2 on fedora 5 azamjiva Linux - Newbie 19 10-08-2008 02:16 PM
how to install ns2 in fedora-5? salady86 Linux - Newbie 3 03-14-2008 08:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:46 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
Open Source Consulting | Domain Registration