I'm tired with LFS, but I still find a Linux system with good and fast. May build my own is best
2010/9/22 Dyllan <[email protected]> > I came across this post and thought it should be noted, (somewhat > attempted by yourself Thibaud F.), along with what seems like many other > people out there struggling with the building of GCC-4.x.x in chapter > 6.1.6 of Linux from Scratch. > > If you run into the problem noted on this mailing list; > > > checking for gmp internal files... configure: error: header files > gmp-impl.h and longlong.h not found > > > As well as another common problem on the lists where you GCC build fails > with; > > > configure: error: C preprocessor "/lib/cpp" fails sanity check > See `config.log' for more details. > make[1]: *** [configure-target-libgcc] Error 1 > make[1]: Leaving directory `/gcc-build' > make: *** [all] Error 2 > > > Then it is most likely because you have failed to remove your GCC-4.x.x > source directory after your initial build of GCC in Chapter 5.5. > > This is noted in the LFS Documentation but somewhat ignored because > following the documentation step by step does not reiterate removing the > source folder for every package installed, and it shouldn’t have to. > > To resolve the above make fails you must; > > 1.) Remove the gcc-4.x.x folder in /mnt/$LFS/sources/ > 2.) Remove the gcc-build folder in /mnt/$LFS/sources/ > 3.) Extract the gcc-4.x.x archive in /mnt/$LFS/sources/ > 4.) Continue to follow the steps outlined in Chapter 6.1.6 of the LFS > Documentation. > > > > Regards, > Dyllan > > > > -- > http://linuxfromscratch.org/mailman/listinfo/lfs-dev > FAQ: http://www.linuxfromscratch.org/faq/ > Unsubscribe: See the above information page >
-- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
