On 9 April 2012 17:11, Sean Hinchee <henesy1...@gmail.com> wrote: > This is my first time going through LFS, everything went fine (I think) > up until I tried "sudo make" on glibc. I followed the directions > verbatim and I have run through the steps from "gcc-4.6.2 - Pass 1" all > the way back up to glibc. Everytime I run into this (only the last few > lines): > > > /mnt/lfs/sources/glibc-build/shlib-versions.v.iT > /bin/sh: i686-lfs-linux-gnu-gcc: not found > make[2]: Leaving directory `/mnt/lfs/sources/glibc-2.14.1/csu' > make[1]: *** [csu/subdir_lib] Error 2 > make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.14.1' > make: *** [all] Error 2 > > > > > And this shows up a little bit after: > > > > /mnt/lfs/sources/glibc-build/shlib-versions.v.iT > /bin/sh: cannot create /mnt/lfs/sources/glibc-build/shlib-versions.v.iT: > Permission denied > make[2]: Leaving directory `/mnt/lfs/sources/glibc-2.14.1/csu' > make[1]: *** [csu/subdir_lib] Error 2 > make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.14.1' > make: *** [all] Error 2
There is no need for "sudo". The first run is done by user " lfs" including "make install" command, the second - by root directly. > lfs@Von-Bek:/mnt/lfs/sources/glibc-build$ sudo make > [sudo] password for lfs: > make -r PARALLELMFLAGS="" CVSOPTS="" -C ../glibc-2.14.1 objdir=`pwd` all > make[1]: Entering directory `/mnt/lfs/sources/glibc-2.14.1' > sed '/^[ ]*%/!s/#.*$//;/^[ ]*$/d;s/^[ ]*%/#/' \ > nptl/shlib-versions libidn/shlib-versions nptl_db/shlib-versions > shlib-versions \ > > Haven't you forgotten by any chance to do as ROOT: chmod -v a+wt $LFS/{sources,tools} chown -v lfs $LFS/{sources,tools} before you started? > -- > http://linuxfromscratch.org/mailman/listinfo/lfs-support > FAQ: http://www.linuxfromscratch.org/lfs/faq.html > Unsubscribe: See the above information page -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page