Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 02-11-2010, 11:50 PM   #1
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, 11:54 PM   #2
LQ Guru
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1289Reputation: 1289Reputation: 1289Reputation: 1289Reputation: 1289Reputation: 1289Reputation: 1289Reputation: 1289Reputation: 1289
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



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

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

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