LinuxQuestions.org
Review your favorite Linux distribution.
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-16-2009, 08:26 PM   #16
sheshta
LQ Newbie
 
Registered: Apr 2009
Posts: 9
Blog Entries: 2

Rep: Reputation: 0

cp: cannot stat 'ns': No such file or directory

however i ran ns-allinone2.29 .. no errors !!

but i can't actually run ns2 !! or i donno from where !!!
 
Old 05-17-2009, 12:48 AM   #17
sheshta
LQ Newbie
 
Registered: Apr 2009
Posts: 9
Blog Entries: 2

Rep: Reputation: 0
cp: cannot stat 'ns': No such file or directory

however . i ran the ns-2.29.allinone and it didn't give any error .. but am not if its there or not !

how can i make it work !

and if u have any idea how to make the SUMO gui work !! i trired the command sumo guisim didn't work
 
Old 05-17-2009, 06:58 AM   #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: 14,137

Rep: Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639
Sumo GUI :

The command is : sumo-guisim

Please use "bash completion" :
Just type 'sum<TAB>' and all commands
starting with 'sum' will be shown.
.....

Last edited by knudfl; 05-17-2009 at 07:08 AM.
 
Old 05-17-2009, 01:20 PM   #19
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,137

Rep: Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639
Yes, you are right, there is a problem now with Ubuntu 8.04(.1)
using 'g++-4.2.4' or g++-4.1 with ns-2.33 .
From the ending sequence, linking ( ns ) :
Quote:
/usr/bin/ld: ns: hidden symbol `__stack_chk_fail_local' in
/usr/lib/libc_nonshared.a(stack_chk_fail_local.oS) is referenced by DSO
http://ubuntuforums.org/showthread.php?t=352642
..... The suggestions do not work with ns-2.33 .
..... And other problems appear with g++-3.3 and g++-3.4 .
.....
http://www.google.com/search?hl=da&q...g&lr=&aq=f&oq=
http://www.jasonernst.com/2008/06/11...4-hardy-heron/
Quote : Edit the Makefile ? or use 'g++-4.0' .

http://packages.ubuntu.com/en/dapper/g++-4.0
You will need all this : g++-4.0_4.0.3-1ubuntu5_i386.deb
gcc-4.0-base_4.0.3-1ubuntu5_i386.deb cpp-4.0_4.0.3-1ubuntu5_i386.deb
gcc-4.0_4.0.3-1ubuntu5_i386.deb libstdc++6-4.0-dev_4.0.3-1ubuntu5_i386.deb
I installed the packages with : sudo dpkg -i <package>

Better unpack ns-2.33 to a new directory e.g. /home/user"/1/
... because 'make clean' is unsafe with ns-2.33 .
cd 1/ .. tar xvf ns-2.33.tar.gz .. cd ns-2.33/
./configure CXX=g++-4.0
make && sudo make install
.....

Last edited by knudfl; 05-17-2009 at 01:22 PM.
 
Old 07-31-2009, 12:09 PM   #20
asmahan
LQ Newbie
 
Registered: Jul 2009
Posts: 15

Rep: Reputation: 0
hi
i tried to install ns-allinone 2.33 in fedora 8
but i encountered this error
make: *** No rule to make target `VERSION', needed by `gen/version.c'. Stop.
Ns make failed!

any help please
i need a solution!!!!!
 
Old 07-31-2009, 01:43 PM   #21
asmahan
LQ Newbie
 
Registered: Jul 2009
Posts: 15

Rep: Reputation: 0
make: *** No rule to make target `VERSION', needed by `gen/version.c'. Stop.

hi all i faced the same problem
please help
i am tring to download ns-allinone-2.33 in fedora 8
 
Old 07-31-2009, 01:46 PM   #22
asmahan
LQ Newbie
 
Registered: Jul 2009
Posts: 15

Rep: Reputation: 0
hi
how can i be sure that ns is installed successfully
 
Old 08-01-2009, 08:18 AM   #23
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,137

Rep: Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639
@ asmahan , welcome to LQ.

With a clean install of Fedora 8,
no errors with ns-allinone-2.33.

But may be 'autoconf', etc. was
updated to an unstable version ?

Not a big problem, I guess.
Try with a copy of the file VERSION
to the location, where it is asked for.
There is a VERSION file for ns-2.33 ,
and one for nam-1.13.
( See attachments, please rename to VERSION ).

Good luck.

.....
P.S.: If you have further questions, please start
a new thread. Now this one is a year old.
.....
Attached Files
File Type: txt VERSION.txt (5 Bytes, 54 views)
File Type: txt VERSION-113.txt (5 Bytes, 23 views)

Last edited by knudfl; 08-01-2009 at 08:26 AM.
 
1 members found this post helpful.
Old 12-07-2011, 12:54 PM   #24
umair1990
LQ Newbie
 
Registered: Dec 2011
Posts: 1

Rep: Reputation: Disabled
SUMO and NS2 help

is it possible to run c of OLSR code in (traNS+NS2+sumo) ????
 
  


Reply

Tags
ns2, sumo, version


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
Belkin Wirless G RTL8185L make[1]: *** No rule to make target `Makefile'. Stop. SilverRock Linux - Wireless Networking 2 02-11-2007 08:25 AM
No rule to make target `-lwrap', needed by `ftpd' seanog07 Suse/Novell 2 07-14-2006 04:21 AM
Help with Installation. "No rule to make target.." Aries311 Linux - Software 2 07-02-2005 04:47 PM
No rule to make target `/mkspecs/default/qmake.conf', needed by `Makefile'. Stop Julianus Linux - General 0 12-21-2003 08:17 AM
Xfree prob radeon.o kernel module version is 1.1.1 but version 1.5.0 or newer needed. jimdaworm Slackware 0 10-01-2003 07:27 PM


All times are GMT -5. The time now is 08:05 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