Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 08-14-2004, 11:44 AM   #1
Registered: Jun 2004
Location: India
Distribution: CLFS
Posts: 515

Rep: Reputation: 36
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.
Old 08-14-2004, 12:21 PM   #2
Senior Member
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 243Reputation: 243Reputation: 243
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)


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
applying kernel patch pirozzi Debian 1 12-01-2004 08:47 AM
applying patch? alaios Linux - General 1 11-29-2004 11:41 AM
Applying patch on nmap6 Kresimir Linux - Software 0 09-16-2004 06:55 AM
applying a patch darthczyz Linux - Newbie 2 05-07-2004 09:44 AM
applying ck kernel patch Abe_the_Man Linux - General 1 01-29-2004 12:43 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:14 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration