Evo instaliram patch za dns u linuxu.
U uputama za instalaciju patcha stoji jednostavno
~# tar -xvzf bind-X.Y.Z.tar.gz
~# cp bind-X.Y.Z-patch bind-X.Y.Z/
~# cd bind-X.Y.Z
bind-X.Y.Z# patch -p2 -i bind-X.Y.Z-patch
što sam ja naravno i učinila i pokrenula patch -p2 -i bind-X.Y.Z-patch u direktoriju bind-X.Y.Z , a to je u mene bind-9.4.2.
Javlja mi ispis :
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -r -b -U 3 --exclude='*.5' --exclude='*.8' --exclude='*.1' --exclude='*.3' --exclude='*.html' --exclude='*.sh' --exclude=config.h --exclude=Makefile --exclude='*.log' --exclude='*.status' bind-9.4.2/bin/named/client.c bind-9.4.2-patched/bin/named/client.c
|--- bind-9.4.2/bin/named/client.c 2007-08-28 09:20:00.000000000 +0200
|+++ bind-9.4.2-patched/bin/named/client.c 2007-12-09 20:56:02.000000000 +0100
--------------------------
File to patch:
Ja onda čisto idem na enter (negdje sam na netu pročitala da se tako ide) , al opet mi javi
Skip this patch? [y] y
Skipping patch.
7 out of 7 hunks ignored
can't find file to patch at input line 398
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -r -b -U 3 --exclude='*.5' --exclude='*.8' --exclude='*.1' --exclude='*.3' --exclude='*.html' --exclude='*.sh' --exclude=config.h --exclude=Makefile --exclude='*.log' --exclude='*.status' bind-9.4.2/bin/named/include/named/log.h bind-9.4.2-patched/bin/named/include/named/log.h
|--- bind-9.4.2/bin/named/include/named/log.h 2005-04-29 02:15:35.000000000 +0200
|+++ bind-9.4.2-patched/bin/named/include/named/log.h 2007-12-08 09:56:17.000000000 +0100
--------------------------
Jel to uopće greška u instalaciji patcha ili treba li ići do kraja sa enter pa je to u redu?