7.3 gcc pass1 error
When I was compiling gcc the first time, I got an error and don't know what caused it. The terminal gave error:
In file included from ../../gcc-4.7.2/gcc/builtins.c:29:0: ../../gcc-4.7.2/gcc/realmpfr.h:27:17: fatal error: mpc.h: no such file or directory compilaion teminated. Can someone plz help me? |
Did you do the following part from inside the gcc-4.7.2 directory (you should):
Code:
tar -Jxf ../mpfr-3.1.1.tar.xz |
Yes, I followed the instruction to the dot. I'm running ubuntu 13.04 on virtualbox in windows. Could that be the problem?
|
Hi post the output of version-check
|
How do I get the version-check?
|
Hi
Did you read this page http://www.linuxfromscratch.org/lfs/.../hostreqs.html Can you post the output of the version-check.sh back here to make sure you Host is compliant |
Will do. Now I'm trying to compile on i386 instead of AMD64, and with ubuntu, lfs host, as only OS
|
post version script
|
Quote:
As already requested by spiky0011: Please post the output of the version-check.sh script. |
If you want a compliant out of the box system to build LFS, Slackware and Salix both will work without needing to download extra packages.
|
Ran the version-check, found I was missing a few packages, will install when I get the chance. Thx guys for helping me (I never knew there was a 'version-check')
|
Yes, you have to run the version-check.sh script mentioned in each book to test if you have all the required developer packages to build LFS.
To date, the only distribution that is out-of-the-box compliant against LFS's built standards in Slackware and it's spin-offs like SalixOS. |
Do make sure /bin/sh links to bash not dash
|
I also noticed I had not followed everything to the dot, which had helped cause the problem, so thx guys!
|
All times are GMT -5. The time now is 05:47 AM. |