On 12/20/2012 06:33 PM, JIA Pei wrote:
>
> However, I *failed to make install gcc 4.7.2*
>
> The error message obtained is:
>
> /* tar -cf - .; exit 0) | (cd
> /usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include; tar xpf - )
> /bin/sh: line 1: tar: command not found
> /bin/sh: line 1: tar: command not found
> make[2]: *** [install-headers-tar] Error 127
> make[2]: Leaving directory `/sources/gcc-build/gcc'
> make[1]: *** [install-gcc] Error 2
> make[1]: Leaving directory `/sources/gcc-build'
> make: *** [install] Error 2*/
>
>
> This is understandable for me because after *chroot* , I don't have the
> command tar under /usr/bin any longer. And according to the installation
> sequence listed at
> http://www.linuxfromscratch.org/lfs/view/development/index.html,
> *Tar-1.26* is far way behind *GCC-4.7.2* .

I can't help but notice the lack of surprise at tar not being found in 
/tools. Did you happen to skip it? Also, if tar didn't work in chroot, 
how have you been able to unpack the tarballs for GCC and every other 
package in Chapter 6?
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to