Re: How can I be getting compilation errors already?
Begumisa Gerald M <[email protected]>
| Newsgroups | gmane.comp.web.fastcgi.devel |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 23 Jan 2007, D. Alvarado wrote: > Little by little, I tried to run the patch and got a "Hunk" error. > Ideas? Am I running it from the right directory? > > > [root@localhost mod_fastcgi-2.4.2]# patch Makefile.AP2 patchfile > patching file Makefile.AP2 > Hunk #1 FAILED at 73. > 1 out of 1 hunk FAILED -- saving rejects to file Makefile.AP2.rej > patching file Makefile.AP2 > [root@localhost mod_fastcgi-2.4.2]# This is the wrong directory to run the command. You can determine this by looking at the first line before the actually patch. See below: diff -ruN mod_fastcgi-2.4.2/fcgi.h mod_fastcgi-2.4.2-ap22/fcgi.h This means that the diff was run from the parent folder of mod_fastcgi-2.4.2. Therefore, do teh following: [root@localhost mod_fastcgi-2.4.2]# cd .. [root@localhost ]# patch -p0 <./mod_fastcgi-2.4.2/patchfile That should do the trick. I put together some instructions about this a while ago. Hope they help: http://www.fastcgi.com/archives/fastcgi-developers/2006-October/004557.html Regards, Gerald. -- Begumisa Gerald M. Senior Software Engineer Computer Frontiers International Plot 32 Lumumba Avenue, Kampala Office Tel.: +256 41 434 0451 Mobile Tel.: +256 71 299 1983 Fax: +256 41 340456 Web: www.cfi.co.ug ___________________________________ fastcgi-developers mailing list http://fastcgi.com/fastcgi-developers/