LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-10-2014, 06:10 AM   #1
reemlus
LQ Newbie
 
Registered: Jan 2014
Posts: 4

Rep: Reputation: Disabled
how to patch tk-8.4-lastevent.patch


hello sir iv'e installed ns-2.33 in ubuntu 10.04 but nam is not working i get error like

[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..."
i've downloaded the patch "tk-8.4-lastevent.patch" but dont know how to patch please tell me how patch the file step by step in terminal

more over when i patch it says "permission denied" or bash:no file or directory

Last edited by reemlus; 01-10-2014 at 06:27 AM. Reason: have to add more questions
 
Old 01-10-2014, 08:11 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,684

Rep: Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284
The proof way is to use a binary 'nam' :
32bits https://drive.google.com/file/d/0B7S...it?usp=sharing

64bits https://drive.google.com/file/d/0B7S...it?usp=sharing

Unpack ... and : $ sudo cp nam /usr/local/bin/


Using the patch, tk-8.4-lastevent.patch :
$ cd ns-allinone-2.33/tk8.*/ && patch -p0 < tk-8.4-lastevent.patch
... But no guaranties that you get a usable 'nam'.

Quote:
no file or directory
The patch must be present in ns-allinone-2.33/tk8.*/ ,
... or you can use the absolute path to it's location.

-
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
tk-8.4-lastevent.patch unexpectedly ends in middle Aska123 Linux - Newbie 5 04-16-2013 06:12 AM
How to download patch packages to a local drive first, then patch the system thesunlover Linux - Server 4 11-07-2012 06:18 AM
How to patch my redhat Enterprise Linux 5.1 to the latest patch level? shaybery Red Hat 4 10-05-2008 02:04 AM
How to Install patch-o-matic(a iptables patch) on redhat 9? itebooks Linux - Security 1 07-23-2004 08:51 AM
How to Apply patch for Mass Storage device to work? (uss725-2.4.20-rc2.patch) cevjr Linux - Hardware 3 04-20-2004 11:14 PM

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

All times are GMT -5. The time now is 10:34 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration