LinuxQuestions.org
Help answer threads with 0 replies.
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-16-2014, 06:45 AM   #61
htet htet
LQ Newbie
 
Registered: Mar 2014
Posts: 7

Rep: Reputation: Disabled

Dear knudfl,
i'm really thankful for ur reply.i have still error " tcl8.3.2 configuration failed! Exiting ..." when i'm running the following command
$ cd ns-allinone-2.31/ && export CC=gcc41 CXX=g++41 && ./install

And the output from the command $ uname -m is i686.

i have already downloaded a ns2.31_fhmip.patch and then tried your post #2 and # 17.
http://www.linuxquestions.org/questi...s2-4175461377/
http://www.linuxquestions.org/questi...924/page2.html
Quote:
Originally Posted by htet htet View Post
bash: ns2.31_fhmip.patch: No such file or directory
thanks for ur patience and sorry to trouble you.
please kindly advise me to solve that errors.

with regards,
ms. thiri
 
Old 03-16-2014, 06:49 AM   #62
htet htet
LQ Newbie
 
Registered: Mar 2014
Posts: 7

Rep: Reputation: Disabled
Dear knudfl,
i'm really thankful for ur reply.i have still error
Quote:
Originally Posted by htet htet View Post
" tcl8.3.2 configuration failed! Exiting ..."
when i'm running the following command
$ cd ns-allinone-2.31/ && export CC=gcc41 CXX=g++41 && ./install

And the output from the command $ uname -m is i686.

i have already downloaded a ns2.31_fhmip.patch and then tried your post #2 and # 17.
http://www.linuxquestions.org/questi...s2-4175461377/
http://www.linuxquestions.org/questi...924/page2.html

thanks for ur patience and sorry to trouble you.
please kindly advise me to solve that errors.

with regards,
ms. thiri
 
Old 03-16-2014, 07:37 AM   #63
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
#61, #62.

I guess you will have to delete the downloaded gcc41-compat-4.1.2-ubuntu1210_i386.deb,
.. then download a new one, and reinstall with
$ sudo dpkg -i gcc41-compat-4.1.2-ubuntu1210_i386.deb


Quote:
bash: ns2.31_fhmip.patch: No such file or directory
Please copy the patch `ns2.31_fhmip.patch' to the directory where you do $ 'patch ....'

-
 
1 members found this post helpful.
Old 03-17-2014, 08:43 AM   #64
htet htet
LQ Newbie
 
Registered: Mar 2014
Posts: 7

Rep: Reputation: Disabled
Hello,
i deleted gcc41-compat-4.1.2-ubuntu1210_i386.deb and reinstall again.
but it has the error
Quote:
make: *** [linkstate/ls.o] Error 1
Ns make failed!
and i followed the steps to solve the problems in post #3
http://www.linuxquestions.org/questi...a-17-a-948298/
and got the same problems after running ./validate.
Quote:
but i carried on the following steps:
1)gedit ~./bashrc
2) source ~./bashrc
3) ns
but % is not appeared and recommed me to run in terminal:
4) sudo apt-get install ns2
finally when i type the command ns, % is appeared.
may i know this steps i have done will be convenient for simulating about my study.
are there anything to edit and follow to get right installation?
could you give me the advices? thanks in advance.

with regards,
ms thiri
 
Old 03-17-2014, 01:18 PM   #65
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 64 .
Quote:
But I carried on the following steps:
1)gedit ~./bashrc
2) source ~./bashrc
Only required when you use the University Computer, and have no write permissions
to /usr/local/bin/. And : Adding the *PATH's to .bashrc doesn't always work.
The old "year 1997 text" ..
Quote:
"Please put ....
.
"IMPORTANT NOTICES:" (1) You MUST put ..
.. really makes no sense in a modern world, where you are using your own computer,
.. and can install 'ns' and 'nam' to a system PATH.

-
 
1 members found this post helpful.
Old 03-17-2014, 02:10 PM   #66
htet htet
LQ Newbie
 
Registered: Mar 2014
Posts: 7

Rep: Reputation: Disabled
Thumbs up

Dear sir,
i'm really thankful for ur every response.
i'm a beginner to use ubuntu & ns 2.
although i have tried and made the tests not only ur posts that
concerend about my installation but also from other links
I got confused and couldn't be able to understand what is the difference between the suggestions.
however, i'll try again every step you have posted.
i know my questions will make you irritated.
thank you very much for your care.
with best wishes,
ms thiri
 
Old 03-17-2014, 03:44 PM   #67
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 66 : I am very patient, and will try to answer any of your ns2 questions.

About http://alkautsarpens.wordpress.com/2...ntu-gutsy-710/ :
→ Dated `February 06 2008', and Ubuntu 7.10 is used. Things change, 12.04 is different.

And : Remember that the most tutorials are written by young students,
who are most often using Linux and ns2 for the fist time.
None of those authors have built ns2 (or any other application) thousands of times.

-
 
1 members found this post helpful.
Old 03-28-2014, 02:36 AM   #68
saikumarm
LQ Newbie
 
Registered: Mar 2014
Posts: 1

Rep: Reputation: Disabled
Smile make depend pcap.h error

Thank you
it is sorted out now....
Quote:
Originally Posted by knudfl View Post
# 41 .

sudo apt-get install libpcap0.8-dev
Or : It could be an error with 'make depend'.
And : When an ns-allinone-2* has been built with ./install,
.. there should be no reason to use 'make depend'.
( I am never using 'make depend' after changes. 'make' will do.)



Files~ are backup for files that you edited.
It's your own decision if you want to delete them.

Avoiding files~ :
Use another Editor, like gedit. No visible backup. ( Hidden .backup ?).
Or use leafpad : No backups at all.

If you want a backup anyway : Make backups before you edit.
Like : cp Makefile Makefile-back ; cp Makefile.in Makefile.in-back.

-
 
Old 10-11-2014, 07:49 AM   #69
rana_abdallah
Member
 
Registered: Sep 2014
Posts: 45

Rep: Reputation: Disabled
I have made all changes as it was written in the Readme file in the patch of IEEE 802.11e EDCA.
when i tried the 9th step: " run ./configure; make clean; make depend; make in your ns directory"
Ive got: no such directory when i try to configure.
(im using cygwin on windows) . how can i configure the changes?
 
Old 10-11-2014, 09:25 AM   #70
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
← #69, @rana_abdallah.

The EDCA you are reading about in "Readme" is for ns-2.28.
Please use the patch for ns-2.35 :

** Start from scratch in a new folder in /home/<user-name>/
with a new unpacked ns-allinone-2.35.tar.gz :
$ tar xvf ns-allinone-2.35.tar.gz
The ns235 with the errors cannot be reused.

Example ...
$ cd ns-allinone-2.35/
$ patch -p0 < 802.11e-EDCA-ns235_091814.patch
https://drive.google.com/file/d/0B7S...ew?usp=sharing
$ export CC=gcc-4.4 CXX=g++41 && ./install
... and the executable "ns -802.11e" is created.
$ cp ns ns235-EDCA
$ sudo cp ns235-EDCA /usr/local/bin/
$ ns235-EDCA multi_udpflows.tcl : Works OK, the file `out.trī ~800 MB is created.

Also ref. https://groups.google.com/forum/?fro...8/2OXQfiamTZ0J

-
 
Old 10-11-2014, 12:50 PM   #71
rana_abdallah
Member
 
Registered: Sep 2014
Posts: 45

Rep: Reputation: Disabled
1)Thank you for ur reply and ur patience
i have installed the patch and wrote what u have written
however, when i wrote : export CC=gcc-4.4 CXX=g++41 && ./install
ive got this:
ns-allinone-2.35 has not been tested under versions of Cygwin older than
1.7.1. Your version (1.5.21) appears to be older than that. Success of
the install process is therefore NOT GUARANTEED.


The above test indicates that your installation of Cygwin
is probably NOT SUITABLE for installing ns-2 allinone.
(More details can be found in the specific error message above.)

2) im using cygwin on windows so what are the neccesary command for cygwin? is sudo suitable on cygwin?
Please waiting ur reply
 
Old 10-11-2014, 02:09 PM   #72
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
← #71 .

Depends on which version of Cygwin you are using.
.. Or more important, the gcc and g++ version.
What's the output from :
a) $ gcc --version | grep gcc
b) $ g++ --version | grep g++
... Say you have gcc-4.7 : No ns2 will compile without errors.


** Actually you would could make things a lot easier :
Install a genuine 32bits (i386 / i686) Linux OS in VirtualBox,
or to a spare hard disk.

A normal Linux OS comes with several gcc/g++ versions,
which all can be installed at the same time.
And : You can get little or no help with {Cygwin / ns2}.

OS suggestion : CentOS 6.5 http://ftp.sunet.se/pub/Linux/distri...386-LiveCD.iso
>>> CentOS-6.5-i386-LiveCD.iso


P.S. : The example in post #70 is an example only.
And isn't a Cygwin example.
You have no executables by name gcc-4.4 or g++41.
 
1 members found this post helpful.
Old 10-12-2014, 04:03 AM   #73
rana_abdallah
Member
 
Registered: Sep 2014
Posts: 45

Rep: Reputation: Disabled
The output are:
1)gcc (GCC) 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125)
2)g++ (GCC) 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125)

the patch of ns-allinone 2.35 or 2.28 can't be used on this version of cygwin without installing Linux OS?
 
Old 10-12-2014, 04:23 AM   #74
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
← #73 .
Quote:
the patch of ns-allinone 2.35 or 2.28 can't be used on this version of cygwin
May be ?
See post #72 : "You can get little or no help with {Cygwin / ns2}".

I.e. only you can find out. Just try :
You can have as many ns-allinone-2 as you want,
installed at the same time. But do never add any *PATH text to .bashrc.

May be you have more luck with ns228 or ns230 or ns233 :
EDCA-802.11e_ns230.patch https://drive.google.com/file/d/0B7S...ew?usp=sharing

edca-ns233_01.2014.patch https://drive.google.com/file/d/0B7S...ew?usp=sharing

-

Last edited by knudfl; 10-12-2014 at 04:26 AM.
 
Old 10-12-2014, 04:48 AM   #75
rana_abdallah
Member
 
Registered: Sep 2014
Posts: 45

Rep: Reputation: Disabled
im using cygwin ns-2.30.
The size of the patch of EDCA-802.11e_ns230.patch is 153 KB? no tcl file in it?? or is there a wrong installation?
Do u advice that i keep using the patch of 2.35 and install a linux OS or try to keep working on the cygwin?
I have to measure the QoS of IEEE 802.11e so i have to use the EDCA patch and HCCA patch so which version is suitable for both?
Thank you
 
  


Reply

Tags
edca, hcca, ns2


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
LXer: Installing Xen On An Ubuntu 8.04 (Hardy Heron) Server From The Ubuntu Repositor LXer Syndicated Linux News 0 05-08-2008 02:10 PM
LXer: Installing Xen On An Ubuntu 7.10 (Gutsy Gibbon) Server From The Ubuntu Reposito LXer Syndicated Linux News 0 11-06-2007 08:50 PM
LXer: Installing Xen On An Ubuntu Feisty Fawn Server From The Ubuntu Repositories LXer Syndicated Linux News 0 07-01-2007 06:46 AM
ubuntu partitioning tool does not see external usb hard drive when installing ubuntu fakie_flip Linux - Software 2 07-30-2006 12:44 AM
Installing the nvidia driver off the web site and installing rpm in ubuntu? darkhatter Ubuntu 3 02-19-2006 02:44 PM

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

All times are GMT -5. The time now is 09:57 PM.

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