Problem with Adjusting ToolChain.... sed: can't read >: No such file or directory
Hi all
i am at the chapter 5.7 Adjusting Tool Chain of the book LFS 6.3 when i run the following command i am getting error... Quote:
ERROR --------- Quote:
With the new Ch 5 build procedure, the most common cause of this problem is forgetting to apply the specs patch. but how to apply the specs path....?? Please help me to resolve this problem THANKS IN ADVANCE |
Hi,
The command you entered is not correct: gcc -dumpspecs | sed 's@^/lib/ld-linux.so.2@/tools&@g' \> `dirname $(gcc -print-libgcc-file-name)`/specs It should be: gcc -dumpspecs | sed 's@^/lib/ld-linux.so.2@/tools&@g' > `dirname $(gcc -print-libgcc-file-name)`/specs or gcc -dumpspecs | sed 's@^/lib/ld-linux.so.2@/tools&@g' \ > `dirname $(gcc -print-libgcc-file-name)`/specs The command given in the book is spread over 2 lines, which can only be done with the \ on the end of the first line, it is not needed if you put all on one line. It will work, but then you need a space betwee the \ and the > (which your command lacks). Another question: Did you solve all other problems you had before, especially the glibc one?? There's no point in continuing if you did not solve them. Hope this helps. |
Quote:
but i am getting two errors during the glibc make check.... in the ebook its given that make check error can be neglected at this stage and shud be saved for future reference.... notes given in the lfs 6.3 ebook Quote:
Quote:
Please let me know if i am doing any mistake in neglecting these errors... |
Hi,
I personally don't use the make check part in all of chapter 5 (I do believe the LFS book mentions this somewhere). I do use it in chapter 6! Just keep going if make check is the only part that gives you problems. |
Problems in section 5.7
|
All times are GMT -5. The time now is 08:47 PM. |