LFS 5.4 error: patch: **** Can't open patch file ..
I typed:
Code:
patch -Np1 -i ../binutils-2.22-build_fix-1.patch Code:
patch: **** Can't open patch file ../binutils-2.22-build_fix-1.patch : No such file or directory Code:
lfs@host:/mnt/lfs/sources$ ls Why am I getting the error message? and How do I fix it? Thanks. |
Hi
When you untared binutils did you cd into binutils dir You should be standing in $LFS/sources/binutils-2.22 then run commands The ../means back 1 level so it would read from the sources dir and patch in binutils-2.22 dir chapter 5.3 last "important note" |
ok, since I'm in the sources directory, I modified to:
Code:
lfs@host:/mnt/lfs/sources$ patch -Np1 -i binutils-2.22-build_fix-1.patch Code:
patching file opcodes/ChangeLog |
WHY???
Why change the book Quote:
Code:
lfs@host:/mnt/lfs/sources$ patch -Np1 -i ../binutils-2.22-build_fix-1.patch |
the book: Change to the sources directory.
and I'm in the sources directory How did I change the book? |
Did you read chapter 5.3 important part
b Quote:
Quote:
|
I will go back and reread and check stuff ... so I'm sure I'm doing this right and then I'll post back. If this is sensitive to my location then I want to see if I can figure out WHY it's going to be influenced by that.
Thank you for quickly responding ... it will be a few hours before I post back here. |
All times are GMT -5. The time now is 05:51 AM. |