lists writes: > I was reading the distro specific support on linuxquestions.org for lfs, > someone posted the following: > " > earlier i could not create binutils-build directory using d command > given in book as lfs user. i did it by changing to root n made > $LFS/binutils-build the working directory for binutils n proceeded > " > seems that in Chapter 4 the book should have it so users make a separate > directory to unpack the sources and work from [ better option ] or chown > $LFS to lfs [ not preferred ] > > it is obvious that the person posting their question doesn't really > understand the ownership and permissions of linux, or he would have > understood why he ran into the issue and resolved it better than he did. > [ the list of errors he posted show a complete mixup in following the > book to get to chapter 5 binutils pass 1, not related to the ownership > or build folder issue ] > > Jaqui
The book already says on page 3.1 to use a separate dir to keep source tarballs and patches and work from there, and it specifically recommends $LFS/sources. I would guess the problem the user on linuxquestions had is that they likely missed the part on page 5.1 that says to unpack the source tarball, enter the source dir, *then* follow the instructions on the package installation page. They were probably trying to run "mkdir ../binutils-build" from $LFS/sources, rather than $LFS/sources/binutils-2.16.1 (which is where you would be if you read and followed the book), hence the error. -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page