LinuxQuestions.org
Register a domain and help support LQ
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 02-21-2013, 03:44 AM   #16
suneel23
LQ Newbie
 
Registered: Feb 2013
Posts: 15

Rep: Reputation: Disabled

i got this link for installing gcc4.1.2 in ubuntu
after which i run ns2 installing from beginning
with the gcc parameters and then ./install
i got the folllowing error


============================================================
No .configure file found in current directory
Continuing with default options...
checking build system type... Invalid configuration `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized
configure: error: /bin/bash ./config.sub x86_64-unknown-linux-gnu failed
otcl-1.9 configuration failed! Exiting ...
 
Old 02-21-2013, 06:13 AM   #17
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2015, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 15,262

Rep: Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923
# 16 : Looks like you have a 64bits OS.
What's the output from $ uname -a <Enter>

Ns2 is for a 32bits OS.
An ns-allinone-2.35 can be installed, but with reduced functionality.
All other versions : No. ( Unless you can build a working compiler,
but the result will still be a poor "ns".)

Suggest : Use the 32bits Ubuntu 12.04 for all ns2.

-

Last edited by knudfl; 02-21-2013 at 06:15 AM.
 
Old 02-22-2013, 03:19 AM   #18
suneel23
LQ Newbie
 
Registered: Feb 2013
Posts: 15

Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
# 16
1 Looks like you have a 64bits OS.

-
i changed my os to ubuntu 11.10 32 bit
Quote:
What's the output from $ uname -a <Enter>
thesis@thesis-VirtualBox:~$ uname -a
Linux thesis-VirtualBox 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:50:42 UTC 2011 i686 i686 i386 GNU/Linux
thesis@thesis-VirtualBox:~$


Ns2 is for a 32bits OS.
An ns-allinone-2.35 can be installed, but with reduced functionality.
All other versions : No. ( Unless you can build a working compiler,
but the result will still be a poor "ns".)

Suggest : Use the 32bits Ubuntu 12.04 for all ns2.
by evalvid is for ns 2.28 if so i how could i use my evalvid with ns2.35
 
Old 02-22-2013, 04:08 AM   #19
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2015, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 15,262

Rep: Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923
# 18
Quote:
evalvid is for ns 2.28 if so i how could i use my evalvid with ns2.35
No ns-2.35 is required.
Please read post # 15 :
$ sudo dpkg -i myevalvid-ns-2.28-ubuntu10_i386.deb
etc. etc.

The main purpose of ns-allinone-2.xx is to create one file : the executable 'ns'.
The few files required to run "$ ns-myevalvid " are provided
when you install 'myevalvid-ns-2.28-ubuntu10_i386.deb'.

Besides that, all versions of ns-allinone-2.xx can be installed in any
32bits Ubuntu OS. And you can have ns-2.35 and ns-2.28 at the same time.

-

Last edited by knudfl; 02-22-2013 at 04:10 AM.
 
Old 02-22-2013, 06:42 AM   #20
suneel23
LQ Newbie
 
Registered: Feb 2013
Posts: 15

Rep: Reputation: Disabled
Sir i am reallly confused now actually i want study the quality of experience in video streaming, for that i want to transmit video through ns2 either for different networks in simulation or emulation. Sir, Tell me what should i do for transmitting the video through ns2 .

Regards,
Suneel.
 
Old 02-22-2013, 06:46 AM   #21
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2015, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 15,262

Rep: Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923
# 20

The starting example : $ cd myevalvid2/ && ns-myevalvid be_a01.tcl

.. And please read "ns2-streaming-implementations-tutorial-VCarrascal.pdf",
which is also in the "myevalvid2/" folder.


-

Last edited by knudfl; 02-23-2013 at 05:51 AM.
 
Old 02-26-2013, 01:27 AM   #22
suneel23
LQ Newbie
 
Registered: Feb 2013
Posts: 15

Rep: Reputation: Disabled
@knudfl can we emulate network using ns2 and transmit video through it and study its network behaviour. can u provide me some information in ns2 emulation
 
Old 02-28-2013, 10:22 AM   #23
suneel23
LQ Newbie
 
Registered: Feb 2013
Posts: 15

Rep: Reputation: Disabled
http://csie.nqu.edu.tw/smallko/ns2/ns2.htm we get ns2 evalvid installed vbox image for cygwin+ns2+evalvid. it is easy than fighting here with linux machines
 
Old 03-04-2014, 05:22 AM   #24
Axita
LQ Newbie
 
Registered: Sep 2013
Posts: 12

Rep: Reputation: Disabled
hello sir, please reply..
i am working for my project in video transmission.
i go throgh below site
http://140.116.164.80/~smallko/ns2/myevalvid2.htm
i am using(cygwin+win7+ns2.35)
i am getting below error please help me to solve this..

please help me ..
what is the reason why i got this error?
or is there any specific requiremnet the please tell...

thank you
Attached Thumbnails
Click image for larger version

Name:	error11.jpg
Views:	3
Size:	126.7 KB
ID:	14880  
 
Old 03-04-2014, 06:53 AM   #25
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2015, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 15,262

Rep: Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923
# 24 .

* ns-2.35 requirement : gcc / g++ version 4.5.2 (Or 4.4.x).

* "myevalvid2 requirement" : ns-2.28 .
 
Old 03-04-2014, 06:58 AM   #26
Axita
LQ Newbie
 
Registered: Sep 2013
Posts: 12

Rep: Reputation: Disabled
what should i do for using evalvid in ns2.35?
 
Old 03-04-2014, 06:59 AM   #27
Axita
LQ Newbie
 
Registered: Sep 2013
Posts: 12

Rep: Reputation: Disabled
when i do gcc -v
it shows me 4.7.3 version...
please tell what can i do??
 
Old 03-05-2014, 10:45 AM   #28
Axita
LQ Newbie
 
Registered: Sep 2013
Posts: 12

Rep: Reputation: Disabled
please reply...........
 
Old 03-05-2014, 12:12 PM   #29
John VV
Guru
 
Registered: Aug 2005
Posts: 14,433

Rep: Reputation: 1952Reputation: 1952Reputation: 1952Reputation: 1952Reputation: 1952Reputation: 1952Reputation: 1952Reputation: 1952Reputation: 1952Reputation: 1952Reputation: 1952
install the required version of gcc ( 4.5 ) on the REQUIRED version of ns2 ( 2.28)

also you might want to start a NEW thread
this is a thread for the very old Ubuntu 9
and was started in 2011

this is not a thread for using Cygwin on Microsoft Windows

THAT HAS A BUNCH of issues that are very DIFFERENT from Ubuntu

Cygwin and MS Windows Specific issues
 
Old 03-06-2014, 04:20 PM   #30
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2015, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 15,262

Rep: Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923
# 26 .

"What should I do for using evalvid in ns2.35 ?" : Well, you can try adding the code.

# 27 .
Quote:
When I do gcc -v
it shows me 4.7.3 version...
please tell what can I do ??
May be we can find a version of ns-allinone-2.35,
which is edited to use gcc-4.7 / -4.8. I will let you know.


About ns-allinone-2.28 : It is actually fairly easy to create a gcc-4.1.2 ,
.. which provides e.g. /usr/local/gcc41/bin/{gcc41, g++41} :
a) $ tar xvf gcc-4.1.2.tar.bz2
ftp://gd.tuwien.ac.at/gnu/gcc/releas...-4.1.2.tar.bz2
b) $ mkdir build-gcc
c) $ cd build-gcc/
d)
Code:
$ ../gcc-4.1.2/configure --prefix=/usr/local/gcc41 --program-suffix=41 --enable-languages=c,c++ --enable-shared --enable-threads=posix --enable-__cxa_atexit --disable-checking --with-gnu-ld
e) # make install
f) $ cd /usr/local/bin/
g) # ln -s ../gcc41/bin/gcc41
h) # ln -s ../gcc41/bin/g++41

-

Last edited by knudfl; 03-06-2014 at 08:06 PM.
 
  


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
urgent -- error installing ns2 on ubuntu 7.04 king2k Linux - Newbie 8 02-02-2011 05:28 AM
hi i am trying to install ns2 2.34 in ubuntu 10.04. it showing the following error v123 Linux - Newbie 1 11-10-2010 11:10 AM
i am using ubuntu as os. for NS2 to implement a routing protocol in ns2. sujovasu Programming 1 07-27-2010 01:44 AM
unable to install ns2.34 on ubuntu 9.10 running on vmworkstation 6 san_as Linux - Newbie 1 02-16-2010 04:10 AM
CFLAGS vs EXTRA_CFLAGS, Ubuntu server 9.04 error while running "make install" Invisible-Man Linux - General 21 07-14-2009 06:31 AM


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