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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-21-2011, 11:22 PM
|
#1
|
LQ Newbie
Registered: Apr 2011
Posts: 5
Rep:
|
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
|
|
|
04-22-2011, 02:56 AM
|
#2
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
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.
|
04-23-2011, 09:11 PM
|
#3
|
LQ Newbie
Registered: Apr 2011
Posts: 5
Original Poster
Rep:
|
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?
|
|
|
04-23-2011, 10:02 PM
|
#4
|
LQ Newbie
Registered: Apr 2011
Posts: 5
Original Poster
Rep:
|
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............
|
|
|
04-24-2011, 08:34 AM
|
#5
|
LQ Newbie
Registered: Apr 2011
Posts: 5
Original Poster
Rep:
|
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..........
|
|
|
04-24-2011, 10:05 AM
|
#6
|
LQ Newbie
Registered: Apr 2011
Posts: 5
Original Poster
Rep:
|
Please reply.............
Last edited by Tania Sarkar; 04-24-2011 at 10:09 AM.
|
|
|
04-24-2011, 10:34 AM
|
#7
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
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>.
..
|
|
|
04-24-2011, 06:50 PM
|
#8
|
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,684
|
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
|
|
|
05-24-2011, 07:31 AM
|
#9
|
Senior Member
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
|
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.
|
|
|
06-01-2012, 05:24 AM
|
#10
|
Member
Registered: Apr 2012
Posts: 33
Rep: 
|
#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
|
Last edited by priya86mohanty; 06-01-2012 at 05:26 AM.
|
|
|
06-02-2012, 08:44 AM
|
#11
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
#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.)
.
|
|
|
All times are GMT -5. The time now is 04:42 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|