-   Programming (
-   -   error while applying patch (

corbis_demon 08-14-2004 10:44 AM

error while applying patch
I'm getting this error while applying the rep-gtk patch to the rep-gtk-0.18 pack.


[root@localhost rep-gtk-0.18]# patch -p1 < rep-gtk-0.18-gtk2.4.patch 
(Stripping trailing CRs from patch.)
 can't find file to patch at input line 3  Perhaps you used the wrong -p or --strip option?
 The text leading up to this was:
 --------------------------  |--- rep-gtk-0.18/rep-gtk.h.orig2004-03-26 14:10:18.000000000 -0500 
|+++ rep-gtk-0.18/rep-gtk.h2004-03-26 14:11:15.000000000 -0500  --------------------------

Seems the patch is tryin' to change the rep-gtk and gtk-compat header files.How do I proceed with this?I've got the patch as a diff file,not as compressed.I copied it to the rep-gtk directory(after untarring rep-gtk).Please help.

Cedrik 08-14-2004 11:21 AM

try patch -p0 < rep-gtk-0.18-gtk2.4.patch in the rep-gtk-0.18 directory or try cd .. and re-try it (I never remember but generally it works)

All times are GMT -5. The time now is 06:40 PM.