Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've been making some progress on lfs but now im running int to this message when i try adding gcc
when i type make in the end of the whole process i get this:
checking format of `long double' floating point... IEEE extended, little endian
checking for TLS support... yes
checking for gmp.h... no
configure: error: gmp.h can't be found, or is unusable.
make[2]: *** [configure-stage1-mpfr] Error 1
make[2]: Leaving directory `/mnt/Omoikane/sources/gcc-build'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/mnt/Omoikane/sources/gcc-build'
make: *** [all] Error 2
the gmp version is the same as in the book but gcc is 4.7.0 and in the book its 4.6.2 can this be the problem?
hmm :/ i fugured as much.. can you tell me how i can delete everything i did up to now with the command line? cfdisk doesnt seem to be deleting everything like im trying to ask it too
The problem is you cant mix the gcc as you have 4.6 on host you need to follow this book here and use the 4.6.2 gcc you cant use 4.7, This requires different host requirements. The 4.6 gcc dose work.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.