LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
LinkBack Search this Thread
Old 09-06-2012, 11:26 AM   #16
helok
LQ Newbie
 
Registered: May 2012
Location: jakarta
Posts: 15

Rep: Reputation: Disabled

Quote:
Originally Posted by knudfl View Post

cd ns-allinone-2.33/tk-8.4.18/
patch -p0 < tk-8.4-lastevent.patch

And run ./install again : Only tk4.8.18 and nam-1.xx will change,
and you should now get a 'nam' that works. _ _ _ _
sorry to bother you sir,
where do I run './install' ?
in home/jeffrey/ns-allinone-2.33/tk-8.4.18 ?
or
in home/jeffrey ?

thank you
 
Old 09-06-2012, 01:49 PM   #17
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2013.07, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,220

Rep: Reputation: 2380Reputation: 2380Reputation: 2380Reputation: 2380Reputation: 2380Reputation: 2380Reputation: 2380Reputation: 2380Reputation: 2380Reputation: 2380Reputation: 2380
Post # 16, @helok : I think you already know where to run ./install
.. that's in the top directory, i.e. home/jeffrey/ns-allinone-2.33/.

AFAIK, you already have a 'nam' version 1.14 in /usr/local/bin/,
and you only need one nam for all versions of ns2.

Please read the above posts # 12 and # 14.

.
 
Old 09-06-2012, 08:48 PM   #18
helok
LQ Newbie
 
Registered: May 2012
Location: jakarta
Posts: 15

Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
Post # 16, @helok : I think you already know where to run ./install
.. that's in the top directory, i.e. home/jeffrey/ns-allinone-2.33/.

AFAIK, you already have a 'nam' version 1.14 in /usr/local/bin/,
and you only need one nam for all versions of ns2.

Please read the above posts # 12 and # 14.

.
im using nam 1.13 sir
its included in ns-allinone-2.33

and ive just re-installed after patched tk8.4, and i tried to run 'ns simple.tcl'
it works really well Sir.
thank you so much Sir for your help
 
Old 09-18-2012, 11:35 AM   #19
nirvruti
LQ Newbie
 
Registered: Sep 2012
Posts: 14

Rep: Reputation: Disabled
found error after installing s2
/home/happy1/ns-allinone-2.33/bin/ns: cannot execute binary file
 
Old 02-04-2013, 05:35 AM   #20
Ehtiba
LQ Newbie
 
Registered: Jan 2012
Posts: 6

Rep: Reputation: Disabled
Hello Sir,

I installed ns2.29 on Fedora 12. Unfortunately, NAM doesn't work.
I got same error. moreover, when I tried to download patch file, it doesn't work.
Could you please help me and send me a patch file and steps to implement it as well.

Thank you in advance and your help is appreciated.

this is me email. fehtiba@gmail.com
 
Old 02-04-2013, 06:54 AM   #21
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2013.07, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,220

Rep: Reputation: 2380Reputation: 2380Reputation: 2380Reputation: 2380Reputation: 2380Reputation: 2380Reputation: 2380Reputation: 2380Reputation: 2380Reputation: 2380Reputation: 2380
# 20

Better : Use the more advanced nam-1.14, post #4 here ..
http://www.linuxquestions.org/questi...04-a-842109/#4
I.e. : # cp nam /usr/local/bin/


If you anyway want to fix an old nam, the tk-8.4-lastevent.patch is here
ftp://ftp.swin.edu.au/gentoo-portage...astevent.patch

-
 
Old 01-10-2014, 11:42 AM   #22
reemlus
LQ Newbie
 
Registered: Jan 2014
Posts: 4

Rep: Reputation: Disabled
Quote:
Originally Posted by vahitha View Post
sir,
thankyou sir
i patch the tk-8.4-lastevent.patch file from /ns-allinone/tk8.4.18/
nam is also worked well.

now i executed one tcl program.i can view the result in nam sucessfully.
then,when i execute it with ns program_name.tcl from command prompt the part of my program is executed and i can see the calculated through put and delay etc...in terminal window.

i couldn't get it in graph.
error :ns: proc_name: couldn't execute "xgraph": no such file or directory

what are the steps should be followed and what are the possibilities to get these?

i check well in path setting for xgraph also.
please help me to execute my program successfully.

thankyou.
vahitha
command for patching please

---------- Post added 01-10-14 at 12:43 PM ----------

Quote:
Originally Posted by knudfl View Post
# 20

Better : Use the more advanced nam-1.14, post #4 here ..
http://www.linuxquestions.org/questi...04-a-842109/#4
I.e. : # cp nam /usr/local/bin/


If you anyway want to fix an old nam, the tk-8.4-lastevent.patch is here
ftp://ftp.swin.edu.au/gentoo-portage...astevent.patch

-
how to open binary nam
 
Old 01-10-2014, 02:35 PM   #23
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2013.07, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,220

Rep: Reputation: 2380Reputation: 2380Reputation: 2380Reputation: 2380Reputation: 2380Reputation: 2380Reputation: 2380Reputation: 2380Reputation: 2380Reputation: 2380Reputation: 2380
#22, @reemlus.

Quote:
couldn't execute "xgraph": no such file or directory
.
command for patching please
I guess you mean "How to achieve a working 'xgraph' ?
The answer is : $ sudo apt-get install xgraph
... If your OS isn't Debian / Ubuntu / Mint, please specify your OS :
a) $ uname -m
b) $ cat /etc/*release*


Quote:
how to open binary nam
How to unpack a <package>.tar.gz : $ tar xvf <name>.tar.gz
... Or use your default 'Archive Manager'.

-
 
  


Reply

Tags
ns2, tk-8.4-lastevent.patch, trace, trace+awk


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ns2.33 installation in fedora & path setting murali1509 Linux - Newbie 0 01-06-2009 07:53 AM
path in ns2 raoatta Linux - Networking 3 10-01-2008 02:17 AM
Setting environment variables for NS2 installation over enterprize linux inamullah Linux - Enterprise 0 07-18-2008 01:01 AM
Setting PATH shridevi Linux - Newbie 4 12-11-2007 11:19 AM
how to set path? here a meet the problem with ns2 installation cain_eve Linux - Newbie 12 12-16-2004 05:09 PM


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