LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   how to install NS2.34 in fedora 14 (https://www.linuxquestions.org/questions/linux-software-2/how-to-install-ns2-34-in-fedora-14-a-865684/)

naren123.k 03-01-2011 04:28 AM

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

knudfl 03-01-2011 05:13 AM

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

..

zWaR 03-01-2011 01:05 PM

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...

John VV 03-01-2011 03:49 PM

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

knudfl 03-02-2011 01:27 AM

Fedora 14 :

1) cd ns-allinone-2.34/
2) export CC=gcc34 CXX=g++34 && ./install : No errors !

unodior 03-11-2011 12:59 PM

Quote:

Originally Posted by John VV (Post 4275622)
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?

John VV 03-11-2011 03:04 PM

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

knudfl 03-11-2011 05:12 PM

# 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.)

..

unodior 03-12-2011 03:03 AM

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

unodior 03-12-2011 03:20 AM

Quote:

Originally Posted by knudfl (Post 4287512)

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!


All times are GMT -5. The time now is 08:44 PM.