On 05.08.2017 21:25, Mark Gregory wrote:
> I am trying to build LFS on an older Dell Desktop and keep running into the 
> same problem during the Make stage of GCC-6.3.0.  Note that while the CPU on 
> the build computer is pretty fast (2GHz or more), it only has 256 MB RAM, if 
> that might be causing the problem.  I do have a 2 GB swap file set up on that 
> computer.  I am installing LFS from a Knoppix 7.2 LiveCD, so the original OS 
> on the Computer is gone.
> 
> Below is the Make output just before it quits.
> Tail of Make output before failure:
> 
>      checking how to run the C++ preprocessor. . . /lib/cpp
>      configure: error: in '/mnt/lfs/sources/gcc-6.3.0/build/gcc':
>      configure: error: C++ preprocessor "/lib/cpp" fails sanity check
>      See 'config.log' for more details.
>      make[1]: *** [configure-gcc] Error 1
>      make[1]: Leaving directory '/mnt/lfs/sources/gcc-6.3.0/build'
>      make: *** [all] Error 2
> 
>      (end of output -mg)
> 
> I have attached a copy of the config.log also, in case that will give you 
> something helpful.
> 
> 
> What do I need to do to install gcc and continue with the LFS install?
> 
> Thank you for your help!
> 
> -- 
> Mark Gregory
> Email 7605mgreg...@gmail.com
> 
> 
> 
> config.log
> 
> 
> configure:4947: checking for C++ compiler version
> configure:4956: g++ --version >&5
> ../configure: line 4958: g++: command not found

If you looked at config.log closely, you could've noticed this. Long story 
short, you are missing some host system requirements (at least g++)
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to