LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 02-20-2013, 01:11 PM   #1
nkokos
LQ Newbie
 
Registered: Feb 2013
Posts: 2
Blog Entries: 1

Rep: Reputation: Disabled
Question 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
 
Old 02-20-2013, 01:44 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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

.
 
Old 03-01-2013, 10:12 PM   #3
sakafi
LQ Newbie
 
Registered: Mar 2013
Posts: 3

Rep: Reputation: Disabled
Unhappy 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
 
Old 03-02-2013, 03:27 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 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.
-
Attached Files
File Type: txt tk-8.4.18-tkBind.patch.txt (414 Bytes, 18 views)

Last edited by knudfl; 03-02-2013 at 03:30 AM.
 
  


Reply



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
ns-allinone-2.34 on cygwin on windows 7 Avissa Linux - Software 0 03-27-2011 04:56 AM
Installing ns2 simulator [allinone-2.34] on windows 7 using cygwin sivashankar Linux - Laptop and Netbook 3 03-27-2011 04:52 AM
problems in installing ns-allinone-2.34 bgprasuna Linux - Kernel 3 07-22-2010 05:17 AM
Problem installing ns-allinone-2.34 Liza Linux - Newbie 1 03-18-2010 01:33 PM
Problem installing ns-allinone 2.34 Liza Linux - General 1 03-18-2010 01:08 PM

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

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

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