LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 08-14-2004, 10:44 AM   #1
corbis_demon
Member
 
Registered: Jun 2004
Distribution: CLFS
Posts: 523

Rep: Reputation: 38
error while applying patch


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

Code:
[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, 11:21 AM   #2
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

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


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

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:44 AM.

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
Open Source Consulting | Domain Registration