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.
Thanks for that link...it brings new light to the situation....I went back and restarted ch. 5 ....and this time it never gave me that error when I got to the gcc-3.2 part of the chapter.....so we'll see what turns out.....
I wanted to say that I am building my LFS from a Gentoo Distro base and from what I read there would be no problems with gcc under Gentoo, but I am having the exact same error that Jambeck is having. Does this mean I am going to have to back up and go back through Chapter 5? or is there a way around that?
I have tried all of the info above as well and as far as they go, all is good. CC is gcc, path is good, link is good, etc...
I am glad I am not the only one to see this problem, but if there is anyone else out there with Gentoo attempting to do an LFS on the side, please take note.
What glibc is your gentoo distro using ??? If it is (from memory) 2.2.93 or later you will have to apply the patch listed in the link somewhere above this entry
Sorry for the delay, I am running gcc version 2.95.3 on my Gentoo which is 1.2.
So it looks as if I need to apply the patch. Would that be the first .diff patch that was referred to?
Also, I am assuming there is no way to do this without going back to the beginning of Chapter 5.
Thanks for the help.
Just finding this thread has made me glad I am not insane.
esh
Last edited by esherrouse; 12-11-2002 at 08:32 AM.
Hmmmm, you shouldn't need the patch (yes it is the first one in this list) coming from glibc-2.2.5.
I guess if the gcc compile is breaking at exactly the same point as described herein (libstdc++), you could give it a try.
But with your system following the LFS 4.0 instructions it should just work...
If you continue to have issues you may want to post this to the lfs-dev list (after trying chapter 5 again by the book), posting the point where it breaks...
Ok... I started over with Chapter 5 and made it through the GCC install with no problems this time. I am still not sure what the issue was , but glad it is over.
THANK you very much!
I am installing gawk now... and seeing it end with an error which reads as follows:
make: *** [install-recursive] Error 1
Is that something I should worry about?
because most of the "accepted" errors are listed on the docs but that one is not mentioned for gawk...
Actually... I thought I should add that the full concluding section of the installations error reads as this :
make[1]: Leaving directory `/static/src/lfs-packages-4.0/gawk-3.1.1/intl'
Making install in .
make[1]: Entering directory `/static/src/lfs-packages-4.0/gawk-3.1.1'
make[2]: Entering directory `/static/src/lfs-packages-4.0/gawk-3.1.1'
/bin/sh ./mkinstalldirs /usr/bin
/bin/install -c gawk /usr/bin/gawk
/bin/sh: /bin/install: No such file or directory
/bin/install -c pgawk /usr/bin/pgawk
/bin/sh: /bin/install: No such file or directory
make[2]: *** [install-binPROGRAMS] Error 127
make[2]: Leaving directory `/static/src/lfs-packages-4.0/gawk-3.1.1'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/static/src/lfs-packages-4.0/gawk-3.1.1'
make: *** [install-recursive] Error 1
Thought that might help more....
Any thoughts?
esh
Last edited by esherrouse; 12-12-2002 at 04:39 PM.
I attempted to reinstall gawk again.. as per chapter 6 and things went well, but then I looked back over Chapter 5 and what was done there, would there be any issues if I had done 6 without re doing 5 first?
Ok... beyond all of the above .. I just reached a BIG problem... I have 2 gig set up for this LFS creation with another 1 gig as the swapfile.... and I am out of space at vim!??!
Everything that i can find (officially or otherwise) says that all i need is 1 gig (officially) and then otherwise some say you need just a little more than a gig. How is it that I am only at VIM in Chap 6 and it is full????
VERY confused suddenly.
oops, I was not removing the .tar etc files after installation...
frees up a bit of space, but still using more than I thought I would need...
What does anyone suspect to be the average installation size requirements?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.