LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-21-2011, 11:22 PM   #1
Tania Sarkar
LQ Newbie
 
Registered: Apr 2011
Posts: 5

Rep: Reputation: 0
Problem with nam 1.13 using Fedora 11


Hi,I am trying to run nam 1.13 in ns in Fedora 11.But I am facing the problem
[root@localhost Download]# 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..."
Can somebody plz help me get the solution to this problem
 
Old 04-22-2011, 02:56 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Welcome to LQ.

[code omitted because of length], etc. etc.: Has been answered a thousand times.
Just ask Google or 'LQ Search'

The usual solution :
cd ns-allinone-2.3x/tk8.4x/ &&
wget ftp://ftp.swin.edu.au/gentoo-portage/dev-lang/tk/files/tk-8.4-lastevent.patch
&& patch -p0 < tk-8.4-lastevent.patch && cd ../ && ./install

Also : Nam is a separate application : Any 'nam' can be used.
32bit binary https://docs.google.com/uc?id=0B7S25...=CLPiyxo&hl=en
64bit binary https://docs.google.com/uc?id=0B7S25...CN3jzIcL&hl=en

>>> Unpack, and 'cp nam /usr/local/bin/'

..

Last edited by knudfl; 04-22-2011 at 03:06 AM.
 
1 members found this post helpful.
Old 04-23-2011, 09:11 PM   #3
Tania Sarkar
LQ Newbie
 
Registered: Apr 2011
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks.......

Thanks for the reply.Now my nam is working.....I need another help.I am working on address autoconfiguration in MANET using ns.But the problem is that I dont have any reference for the practical implementation.I will be very helpful if anybody can help me to provide some existing reference using which I can proceed in my work?
 
Old 04-23-2011, 10:02 PM   #4
Tania Sarkar
LQ Newbie
 
Registered: Apr 2011
Posts: 5

Original Poster
Rep: Reputation: 0
Problem in starting Fedora 11

I am again facing a problem.Actually I am very much new in LINUX.....so don't have that much idea about its problems.Last time my fedora has been hanged and so I forcibly shut down my Fedora 11.And now its not starting.....asking for the root password and then going to an infinite loop.Somebody please help me............
 
Old 04-24-2011, 08:34 AM   #5
Tania Sarkar
LQ Newbie
 
Registered: Apr 2011
Posts: 5

Original Poster
Rep: Reputation: 0
When I am trying to create my new agent and calling from the TCL script,its showing the following error:

while executing
"Agent/MyAgentOtcl create _o3 "
invoked from within
"catch "$className create $o $args" msg"
invoked from within
"if [catch "$className create $o $args" msg] {
if [string match "__FAILED_SHADOW_OBJECT_" $msg] {
delete $o
return ""
}
global errorInfo
error "class $..."
(procedure "new" line 3)
invoked from within
"new Agent/MyAgentOtcl"
invoked from within
"set myagent [new Agent/MyAgentOtcl]"
(file "MyAgent.tcl" line 5)

Since my agent is a simple one and is not transferring any packets,so I have made changes in the ns-default.tcl file and the Makefile.But when I am going to perform make from ns-2.33,it is again shoing some error like:

Makefile:230: *** missing separator (did you mean TAB instead of 8 spaces?). Stop.

Somebody please help me..........
 
Old 04-24-2011, 10:05 AM   #6
Tania Sarkar
LQ Newbie
 
Registered: Apr 2011
Posts: 5

Original Poster
Rep: Reputation: 0
Please reply.............

Last edited by Tania Sarkar; 04-24-2011 at 10:09 AM.
 
Old 04-24-2011, 10:34 AM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Please edit post # 5 to use code tags : Either use the ( # ) button
in the 'Advanced Editor' : Edit > Go Advanced.
Highlight the text and press the # - button.

Or write [/code] at text end, and [code] at code text start.
http://www.linuxquestions.org/questi....php?do=bbcode
This action is important. Must be used, when you show the lines
in your Makefile : One line before the added object, and one line
after the edits. Like this example (line 311-314 were added)
Code:
   310		wpan/p802_15_4trace.o wpan/p802_15_4transac.o \
   311		wcett/wcett_logs.o wcett/wcett.o \
   312		wcett/wcett_rtable.o wcett/wcett_rqueue.o \
   313		mac/macng.o mac/maccon.o \
   314		mac/macngenhanced.o \
   315		$(OBJ_STL)
No spaces should be used for "the eight spaces" distance.
Please replace with one <TAB>.

..
 
Old 04-24-2011, 06:50 PM   #8
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,684

Rep: Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657
also keep in mind that fedora 11 IS and HAS been UNSUPPORTED for the last 9 months .
there has been NO security updates to 11 for 9 months and there NEVER will be .

the current version of fedora is 14 and ns2 dose build on it with the update patches and patches for the current gcc
 
Old 05-24-2011, 07:31 AM   #9
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
For those who have no idea what they're talking about, here are some links:
http://www.isi.edu/nsnam/ns/
http://www.isi.edu/nsnam/nam/

BTW, ns was already in the WikipediaŽ, nam was not. I have updated the nam page as well as the ns entry.

Anyone who is interested & knowledgable, please add to my beginnings there.
 
Old 06-01-2012, 05:24 AM   #10
priya86mohanty
Member
 
Registered: Apr 2012
Posts: 33

Rep: Reputation: Disabled
#2

Hi,
I too am getting the same issue as mentioned in post #1 on Fedora 13 for ns-2.31. Whatever steps you have mentioned in #2, should that be done right from the beginning or can we install ns-allinone-2.31 and then again install the tk stuff?

Also, cp nam /usr/local/bin/ - is it required?

Quote:
Originally Posted by knudfl View Post

The usual solution :
cd ns-allinone-2.3x/tk8.4x/ &&
wget ftp://ftp.swin.edu.au/gentoo-portage...astevent.patch
&& patch -p0 < tk-8.4-lastevent.patch && cd ../ && ./install

..

Last edited by priya86mohanty; 06-01-2012 at 05:26 AM.
 
Old 06-02-2012, 08:44 AM   #11
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
#10
Quote:
Also, cp nam /usr/local/bin/ - is it required ?
Should be done anyway. Is the default location when you do :
cd ns-allinone-2.xx/nam-<version>/ ; su ; make install

No reason to use the old nam-1.13, when we have version 1.14.

( The patching of tk must be done to compile a usable tk.
With an OK tk you may then be lucky compiling a usable nam.)

.
 
  


Reply

Tags
lastevent, nam


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
problem in running nam-1.11 of ns-allinone-2.29 rishabhk Linux - Newbie 5 03-17-2011 05:31 AM
[SOLVED] problem with nam-1.12 unodior Linux - Software 7 03-11-2011 01:58 PM
Problem with nam in ns-2.34 dreams2010 Linux - Software 5 09-26-2010 06:49 AM
problem in running NAM marioma Linux - Networking 4 06-01-2010 07:20 PM
I am getting problem in nam-1.11 while installing ns-allinone-2.29 on fedora core 5 deodutta Linux - General 0 02-03-2007 10:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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