-   Linux From Scratch (
-   -   error installing GCC +please help (

saurav_gohain 07-03-2003 08:04 AM

error installing GCC +please help
i am trying to built a lfs system using mandrake 9.1 as base os.
while installing gcc, the following error occurs:

Hunk #1 FAILED at 4268.

Hunk #2 FAILED at 4343.

Hunk #3 FAILED at 4585.

3 out of 3 hunks FAILED -- saving rejects to file /mnt/mylinux/static/source/gcc-3.2.patch.rej

can't find file to patch at input line 74

Perhaps you used the wrong -p or --strip option

Can anybody help me, let me know what's wrong. I typed the same command sentence as written in the book. Plus before generating the error, it ask which file to patch. and when i write as

/mnt/lfs/static/source/... .patch , it produces the above error.

regards and anticipating reply from ur end.


jpbarto 07-03-2003 08:36 AM

I'm sorry I might be confused. What version of LFS are you installing? Looking at the 4.1 instruction book ( ) I don't see anywhere in the GCC install where they tell you to apply a patch... ??

saurav_gohain 07-03-2003 09:21 AM

i am using 4.0 on mandrake 9.1

jpbarto 07-03-2003 09:31 AM

when you execute the patch command what directory are you in?

saurav_gohain 07-05-2003 03:46 AM

cleared and clarified. thanks jpbarto et all

jpbarto 07-07-2003 11:30 AM

what was the problem?

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