Hi 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: [email protected] on behalf of hakki
Sent: Fri 3/20/2009 12:43 PM
To: [email protected]
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. 
**************************************************************************************************

Reply via email to