Linux From Scratch - Chapter 5 - Binutils
I'm having some trouble building a Linux from Scratch system using their own Live CD as a base OS.
I am using the Live CD version x84-6.2-2.
I have followed the book up to the beginning of Chapter 5 before getting stuck.
I have copied all the packages to my hard drive form the live CD using: cp -R /lfs-sources $LFS/sources
When trying to complie Binutils my problems arose. When entering: mkdir -v ../bintuils-build
I received a message saying that I can't do that because permission is denied. I then manually created $LFS/sources/binutils-build
When I entered ../lfs-sources/binutils-2.16.1/configure --prefix=/tools --disable-nls the promt returned that there was 'No such file or directory'
I am probably doing something really stupid but any help would be greatly appreciated.
read 5.3.1 again in the LFS 6.1.
Some how I think we needed to find our path as $LFS/tools/source. Then when we run the mkdir ../binutils-build it makes the directory $LFS/tools/binutils-build... Where they left us off, is a directory on the CD... not even root has permision to create a file on the CD, and that is the error.
I believe I just figured it out. I hope it works. I'll feel foolish if this isn't helpful. let me know if you find a better solution.