Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.

Instaliranje patcha-problem?

[es] :: Linux :: Instaliranje patcha-problem?

[ Pregleda: 2493 | Odgovora: 4 ] > FB > Twit

Postavi temu Odgovori

Autor

Pretraga teme: Traži
Markiranje Štampanje RSS

Elza

Član broj: 14016
Poruke: 391
*.tel.net.ba.



Profil

icon Instaliranje patcha-problem?11.03.2008. u 12:22 - pre 196 meseci
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?
 
Odgovor na temu

Danilo Cvjeticanin
Danilo Cvjeticanin
Apatin-Beograd

Član broj: 9614
Poruke: 3517
79.101.195.*



+37 Profil

icon Re: Instaliranje patcha-problem?11.03.2008. u 12:32 - pre 196 meseci
Distribucija?
 
Odgovor na temu

Elza

Član broj: 14016
Poruke: 391
*.tel.net.ba.



Profil

icon Re: Instaliranje patcha-problem?11.03.2008. u 12:39 - pre 196 meseci

RedHat
Linux 2.6.9-55.ELsmp
 
Odgovor na temu

Marko_R
Marko Ranđelović
Programer
Niš

Član broj: 3737
Poruke: 575



+4 Profil

icon Re: Instaliranje patcha-problem?12.03.2008. u 16:07 - pre 196 meseci
Probaj druge brojke za -p.
 
Odgovor na temu

Elza

Član broj: 14016
Poruke: 391
*.tel.net.ba.



Profil

icon Re: Instaliranje patcha-problem?13.03.2008. u 08:27 - pre 196 meseci
Prošlo je!

Uzela sam -p1 umjesto -p2, ovisi u kojem direktoriju se nalaziš pri instalaciji.

Hvala!!
 
Odgovor na temu

[es] :: Linux :: Instaliranje patcha-problem?

[ Pregleda: 2493 | Odgovora: 4 ] > FB > Twit

Postavi temu Odgovori

Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.