On 11/02/2013 12:52 PM, Chris Staub wrote: >> >> The second problem is a bit more intractible. Having made the apbove >> adjustment to "configure", when I run "make" it bombs out with: >> >> ================ snip =============== >> configure: creating ./config.status >> config.status: creating Makefile >> config.status: creating auto-target.h >> config.status: linking ../.././libgcc/enable-execute-stack-empty.c to >> enable-execute-stack.c >> config.status: linking ../.././libgcc/unwind-generic.h to unwind.h >> config.status: linking ../.././libgcc/config/i386/linux-unwind.h to >> md-unwind-support.h >> config.status: linking ../.././libgcc/config/i386/sfp-machine.h to >> sfp-machine.h >> config.status: linking ../.././libgcc/gthr-single.h to gthr-default.h >> config.status: executing default commands >> make[2]: Entering directory >> `/mnt/lfs/gcc-build/gcc-4.8.1/x86_64-lfs_7_4-linux-gnu/libgcc' >> Makefile:162: ../.././gcc/libgcc.mvars: No such file or directory >> make[2]: *** No rule to make target `../.././gcc/libgcc.mvars'. Stop. >> make[2]: Leaving directory >> `/mnt/lfs/gcc-build/gcc-4.8.1/x86_64-lfs_7_4-linux-gnu/libgcc' >> make[1]: *** [all-target-libgcc] Error 2 >> make[1]: Leaving directory `/mnt/lfs/gcc-build/gcc-4.8.1' >> make: *** [all] Error 2 >> ================ snip =============== > > One problem I'm seeing in this output is that you are running this from > $LFS/gcc-build, and have apparently unpacked GCC's source inside that > dir, which is not what you're supposed to be doing. Go back and read > page 5.3 very carefully.
Further, if you've managed to create $LFS/gcc-build, it means you either chowned $LFS to the lfs user, or temporarily became root to create $LFS/gcc-build, neither of which the LFS book says to do. In general, if you get some kind of permissions error, you should stop and double-check that you're doing what you're supposed to, rather than forcing root. If the book is correctly followed, you should be able to do all of Chapter 5 entirely as the lfs user. Also, if you did chown $LFS, you should chown it back to root. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page