[SOLVED] Pls help problem in compiling glibc 2.12.1
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.
abhik@abhik-Inspiron-1525:/mnt/lfs/glibc-build$ make
User abhik? Chapter 5, just about all of it, should be done as user lfs. The one you created and logged in as in chapter 4.3 and set up a sane environment for in chapter 4.4
Also: Did/do you fully remove the glibc source and build directory before re-trying?
the abhik user is same as lfs user only the name is diiferent i tried it again and again but it is saying the filies limit.h which is in /tools/include not found the same error which i posted at first
I'm very, very new to Linux and LFS. I got stuck on chapter 5.7 in the LFS 6.8 book as well.
I don't know if you found a solution to this problem yet, but I think I did.
Just install 'gawk' (sudo apt-get install gawk). I found this solution in another forum.
Once I did that, the MAKE and MAKE INSTALL commands seemed to work. I still got errors at the end but I'll continue working through the book to see if the errors matter.
Thanks for reply. I didn't skip the Host System Requirements section, but I also didn't check if my Ubuntu system met the requirements. My bad, and lucky for me I found a solution quicker than ahbiklall it would seem As I said in my post to ahbiklall, I am extremely new to the world of Linux and am quite proud of myself just for getting to start of chapter 5.8 so far. It's been slow, but I'm getting more and more confident.
Now if I could only figure out how to keep the Asus PCE-N13 Wifi PCI-E card on permanently without having to restart the computer to turn it back on, I would be happy
More suggestions to get chapter 5.7 to work on Ubuntu 11.04:
In a previous post in this thread, I mentioned that installing 'gawk' got 'make' and 'make install' to do something. They both appeared to be working (they ran for a little while), but I still ended up with errors (which I mentioned earlier) when they finished. I wasn't happy with that so I did a little more checking and found this post to be most useful:
I think it was the 'chown' and 'chgrp' tips that fixed my problem. When I ran 'make' and 'make install', they both took a very long time to process, and I didn't see any errors when they finished. I assume they worked.
The symlink tip was already covered by earlier instructions in the LFS 6.8 book if I'm not mistaken, so for this thread, I don't think that's the important part.
Of course, when I executed the long SPECS command from chapter 5.8, I got 'sed' errors, so now I'm off to look into that
Good night all.
sK
Last edited by silKoner; 10-06-2011 at 09:09 AM.
Reason: typo
When i checked the host requirement script on ubuntu I found Bison, M4, Gawk and a couple of others missing
Hi.
I took druuna's advice and used the host requirement script too and it looked ok to me.
I took a guess about how to fix the 'sed' problem I was having in chapter 5.8 of LFS 6.8 and it worked! I am rather pleased with myself seeing as I am completely new to Linux.
But that's getting off topic
It's really late here, I'm stuffed and off to bed. I'll be back tomorrow night to continue LFS
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.