LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Error while installing ns-allinone-2.29 on windows (https://www.linuxquestions.org/questions/linux-newbie-8/error-while-installing-ns-allinone-2-29-on-windows-4175450989/)

nkokos 02-20-2013 01:11 PM

Error while installing ns-allinone-2.29 on windows
 
Hello,

I did cygwin installation on windows 7. I have also done ns-allinone-2.29 installation and seem to be successful. But when i type nam command after starting the x-server, i get the following error message:

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 {..."

I desperately in need of help.
Thanks in advance

knudfl 02-20-2013 01:44 PM

Welcome to LQ.

Fixing nam with the patch tk-8.4-lastevent.patch
cd ns-allinone-2.29/tk8*/
wget ftp://ftp.swin.edu.au/gentoo-portage...astevent.patch
( Or just download the patch to ns-allinone-2.29/tk8* )
patch -p0 < tk-8.4-lastevent.patch
cd unix/ && make clean && rm Makefile ( If make didn't delete 'Makefile'.)
cd ../ && ./configure && make
cd ../nam-*/ && ./configure && make

.

sakafi 03-01-2013 10:12 PM

Same issue -persists. patch installtion failed
 
Hi @knudfl

Am receiving similar error..
Tried the suggested patch but that failed to load.

Could you please check and help me ..

http://www.linuxquestions.org/questi...91#post4902891

knudfl 03-02-2013 03:27 AM

1 Attachment(s)
# 3 : Cygwin ? ?

Did you try to do a 'make clean' in nam-1.11/ ?
And then run $ make

If building a working executable 'nam' still fails :
There is one more patch for tk8.4 : tk-8.4.18-tkBind.patch

Other suggestions :
1) Use 'nam.exe' from ns-allinone-2.28-cygwin-binaries.zip
http://www.isi.edu/nsnam/dist/binary...n-binaries.zip
Ref. http://www.isi.edu/nsnam/ns/ns-cygwin.html

2) Why use Cygwin ?
Install a real Linux OS into a virtual machine e.g. VirtualBox,
or into a spare partition.
-


All times are GMT -5. The time now is 10:11 AM.