|
View:
New views
7 Messages
—
Rating Filter:
Alert me
|
|
|
nam problemI have installed ns-2.33 on cygwin on xp. while running simple example programs, I get error, $ nam: no display name and no $DISPLAY environment variable. I tried set it with export DSIPLAY=:0..0 it gives error $ nam: couldn't connect to display "0.0" I also tried startx before running programs, it gives following error, $ 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 anybody figure out where the problem lies? I am new to ns-2 as well as linux environment so please..... Thanks in anticipation. Regards, ali balador, |
|
|
|
|
|
|
|
|
Re: NAM ProblemHi, The reason for getting this error is : Path is not set for NAM file. What you need to do is set the path as: NAM=/root/Download/ns-allinone-2.33/nam-1.13/ PATH=$PATH:$NAM You can also execute the nam simply by giving the nam path as exec /root/Download/ns-allinone-2.33/nam-1.13/nam file.nam Regards Kiran On Sun, Mar 15, 2009 at 11:24 AM, COULIBALY Yaya <cyahaya@...> wrote: > > Hi All, > > I am using ns-d veresion 2.33 on Redhat Entreprise server 5.0 > > I hav installed and vaildated this version. However, when trying to execute > the example1.tcl of the tutorial by Mark, I go the following error > message:" > ns finish: couldn't execute "nam": no such file or directory > while executing > "exec nam out.nam &" > (procedure "finish" line 7) > invoked from within > "finish" > > After validating the installation, I got this message :"validate overall > report: all tests passed > But still, I am not able to go through with the first example1.tcl. > Any suggetions. > ************************ > COULIBALY Yahaya > PhD Candidate > Faculty of Computer Science & Information Systems > Department of Communication & Computer Systems > Malaysia University of Technology (UTM) > 81310 Skudai, Johor Bahru, Johor > Cell: 0060196886615 > -- ........................................................................................................................................................ Every footstep in life is full of possibilities we just need to know our ability to explore them ........................................................................................................................................................ ........................................................................................................................................................ |
|
|
Re: nam problemHi
I faced with the same problem, have you ever found any solution to your problem thanks hakki
|
|
|
Re: nam problemHi Hakki. I had the same problem with ns2.33 on Fedora 9, there is some tk binding problem there... What I did: Download the tk-8.4-lastevent.patch from , http://bugs.gentoo.org/show_bug.cgi?id=225999 place it in ur tk8.4.18 directory and go to the same directory and execute, patch -p0 < ./tk-8.4-lastevent.patch then go back , cd .. and do , ./install ./configure make ./validate It should solve the problem (it did for me :)! ) Regards, Vineet Kumar -----Original Message----- From: ns-users-bounces@... on behalf of hakki Sent: Fri 3/20/2009 12:43 PM To: ns-users@... Subject: Re: [ns] nam problem Hi I faced with the same problem, have you ever found any solution to your problem thanks hakki balador wrote: > > > > I have installed ns-2.33 on cygwin on xp. > > while running simple example programs, I get error, > > $ nam: no display name and no $DISPLAY environment variable. > > > > I tried set it with export DSIPLAY=:0..0 > > it gives error > > $ nam: couldn't connect to display "0.0" > > I also tried startx before running programs, it gives following error, > > $ 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 anybody figure out where the problem lies? > > I am new to ns-2 as well as linux environment so please..... > > > > Thanks in anticipation. > > Regards, > > ali balador, > > > > > -- View this message in context: http://www.nabble.com/nam-problem-tp22422807p22619528.html Sent from the ns-users mailing list archive at Nabble.com. ************************************************************************************************** E-mail Confidentiality Notice and Disclaimer. This e-mail and any files transmitted with it are confidential and are intended solely for the use of the individual or entity to which they are addressed. Access to this e-mail by anyone else is unauthorised. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited. E-mail messages are not necessarily secure. Hitachi does not accept responsibility for any changes made to this message after it was sent. Hitachi checks outgoing e-mail messages for the presence of computer viruses. ************************************************************************************************** |
|
|
Re: nam problemHi,
I have the same problem than you when I try to run nam $ nam out.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 {[string equal [tk windowingsystem] "classic"] > || [string equal [tk windowingsystem] "aqua"]} { > bind Listbox <MouseWheel> { > %W yview scroll [expr {..." PLEASE if you have resolved the problem can you tell me about it. It will be a great help for me . Thanks in advance.
|
| Free embeddable forum powered by Nabble | Forum Help |