LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-11-2010, 10:50 PM   #1
anurag
LQ Newbie
 
Registered: Feb 2010
Posts: 1

Rep: Reputation: 0
Hunk #1 FAILED problem


Hi All,

I was installing PECL extension. i have downloaded the setup. then whatever process is mension in this link i have done that.
PHP: Installation - Manual

when i m doing patch <patchfile
i m getting this
patching file ssh2.c
Hunk #1 FAILED at 477.
1 out of 1 hunk FAILED -- saving rejects to file ssh2.c.rej


what is this problem and how to solve it.
Please reply as soon as possible.
 
Old 02-11-2010, 10:54 PM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
The patch did not apply. The patch must be for a different version of the source. Have a look at the ssh2.c.rej file and see if you can manually fix ssh2.c

Evo2.
 
  


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
Hunk FAILED error while patching binutils-2.18 Vardhaman Linux From Scratch 1 02-01-2009 05:30 AM
need help applying this kernel patch that gives 3 hunk failures hedpe Linux - Software 1 04-05-2006 03:10 PM
online_update failed - ERROR(Media:connection failed)[Connect failed] rover SUSE / openSUSE 8 02-22-2005 07:57 AM
What is Hunk #2 FAILED at 87 in Kernel 2.6.5 patchin? velan Debian 1 05-05-2004 11:25 AM
problem with "rpm -bb" , 1 out of 1 hunk ignored ...error: Bad exit status from /v wohaolouis Linux - Software 0 03-07-2004 07:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:29 PM.

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