LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 11-03-2010, 09:34 AM   #1
manjunath11
LQ Newbie
 
Registered: Nov 2010
Posts: 18

Rep: Reputation: 0
nam not working in n2.33 in ubuntu 10.04


hi Sir,
I have installed Ns2.33 and added the patch mobiwan-1.patch. when i tried to run nam, the following is the error i got

manju@manju-desktop:~/Desktop/ns-allinone-2.33/ns-2.33$ nam
nam:
[code omitted because of length]
: no event type or button # or keysym
while executing
"bind Listbox <MouseWheel> {
%W yview scroll [expr {- (%D / 120) * 4}] units
}"
invoked from within
"if {[tk windowingsystem] eq "classic" || [tk windowingsystem] eq "aqua"} {
bind Listbox <MouseWheel> {
%W yview scroll [expr {- (%D)}] units
}
bind Li..."
 
Old 11-03-2010, 09:58 AM   #2
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,265

Rep: Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661
Welcome to LQ.

cd ns-allinone-2.33/tk8.4.18/ &&
patch -p0 < tk-8.4-lastevent.patch
http://www.linuxquestions.org/questi...ting-818634/#4

..
 
Old 11-04-2010, 01:00 AM   #3
manjunath11
LQ Newbie
 
Registered: Nov 2010
Posts: 18

Original Poster
Rep: Reputation: 0
when i did , i got the following error
manju@manju-desktop:~/Desktop/ns-allinone-2.33/tk8.4.18$ patch -p0 < tk-8.4-lastevent.patch
patching file generic/tk.h
Reversed (or previously applied) patch detected! Assume -R? [n] r
Apply anyway? [n] n
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file generic/tk.h.rej
 
Old 11-04-2010, 01:55 PM   #4
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,265

Rep: Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661
None of the information, you show in post #3 is an error.
May be you by accident tried to apply the patch twice ?

Next step : Recompile tk and nam : By running ./install again.

Alternatively use a binary nam, 32bits : nam-1.14.i586.tar.gz
https://docs.google.com/uc?id=0B7S25...=CLPiyxo&hl=en

64bits : https://docs.google.com/uc?id=0B7S25...CN3jzIcL&hl=en

..

Last edited by knudfl; 05-02-2011 at 06:22 AM.
 
1 members found this post helpful.
Old 05-02-2011, 03:00 AM   #5
abhishek majumder
LQ Newbie
 
Registered: Apr 2011
Posts: 3

Rep: Reputation: 0
thank you for providing me the procedure to run nam
 
  


Reply

Tags
nam-bin, nam-binary, 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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ns-2.34 problem executing 'nam' on ubuntu 9.10 ElijahJ Linux - Software 12 06-02-2014 08:32 AM
Problem with nam in ns-2.34 dreams2010 Linux - Software 5 09-26-2010 07:49 AM
problem in running NAM marioma Linux - Networking 4 06-01-2010 08:20 PM
NAM is not working Nemi Ubuntu 3 03-19-2010 08:58 AM
nam network animator farazhasan110 Linux - Software 1 11-28-2008 01:49 PM


All times are GMT -5. The time now is 05:57 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration