LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 11-02-2011, 02:52 AM   #16
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,927

Rep: Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587

Post # 15, @alikaamil.

If you do it the way it's shown in post #3, etc. there should be no issues.

Suggest : Start from scratch in /home/alikaamil/ns-allinone-2.31/ :
cd ns-allinone-2.31/ && ./install


And : "install-sh" is not supposed to be used for anything. Ever.

..

Last edited by knudfl; 03-04-2012 at 12:03 PM.
 
Old 12-20-2011, 11:42 AM   #17
anamnazir
LQ Newbie
 
Registered: Sep 2011
Posts: 4

Rep: Reputation: Disabled
error while installing ns2.31

hi..
i have tried to install ns2.31 in fedora 14 and encountered the following same error...i have installed following packages(
yum install autoconf
yum install automake
yum install gcc-c++
yum install libX11-devel
yum install xorg-x11-proto-devel
yum install libXt-devel
And for nam installation (optional):
yum install libXmu-devel)
you have mentioned necessary for it but still it is giving the error



.......myevalvid/myudp.cc: In constructor ‘myUdpAgent::myUdpAgent()’:
myevalvid/myudp.cc:35:21: error: cannot call constructor ‘myUdpAgent::UdpAgent’ directly
myevalvid/myudp.cc:35:21: error: for a function-style cast, remove the redundant ‘::UdpAgent’
make: *** [myevalvid/myudp.o] Error 1
Ns make failed!

now what should i do to solve this.. thanx in advance

Last edited by anamnazir; 12-20-2011 at 11:43 AM.
 
Old 12-20-2011, 01:14 PM   #18
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,927

Rep: Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587
# 17 , @anamnazir : # yum install compat-gcc-34-c++

Fedora 14 : Either start from scratch, or 'make clean' in
otcl-*/, tclcl-*/ and ns-2.31/.


The install command is :
cd ns-allinone-2.31/ && export CC=gcc34 CXX=g++34 && ./install

..
 
Old 03-04-2012, 09:33 AM   #19
pvs siva prasad
LQ Newbie
 
Registered: Mar 2012
Posts: 2

Rep: Reputation: Disabled
Creating nodes...

(_o14 cmd line 1)
invoked from within
"_o14 cmd random-motion 0"
invoked from within
 
  


Reply

Tags
ns2, ns231, tk-8.4-lastevent.patch


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
NS2.34 won't install on ubuntu 9.10 insync Linux - Wireless Networking 1 02-25-2010 02:34 AM
need to install Ns2 in redhat v5 saideepak Linux - Software 1 02-16-2010 04:28 AM
How can I install NS2 ? hoang_it Linux - Software 19 10-14-2009 06:02 AM
Install ns2 in my system alaios Ubuntu 1 05-28-2008 02:09 PM
could not install ns2 salady86 Linux - Software 1 03-16-2008 07:38 AM


All times are GMT -5. The time now is 10:58 PM.

Main Menu
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