Linux From Scratch This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
03-26-2002, 02:40 AM
|
#1
|
Member
Registered: Feb 2002
Location: Orlando
Distribution: Whatever I feel like at the time I install.
Posts: 284
Rep:
|
glibc install on lfs
Ok I have been trying LFS out and this time everything is going great. But I got to the part on installing glibc and it gives me and error stating
Quote:
GNU libc must be compiled using BNU CC
|
Where can I get this. I tried the GNU.org site, but I don't understand exactly what the GNU CC is. Am I looking for the gcc compiler or what. I am running redhat 7.2. Thanks
Last edited by bbenz3; 03-26-2002 at 09:43 AM.
|
|
|
03-26-2002, 10:25 AM
|
#2
|
LFS Maintainer
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372
Rep:
|
Re: glibc install on lfs
Quote:
Originally posted by bbenz3
Ok I have been trying LFS out and this time everything is going great. But I got to the part on installing glibc and it gives me and error stating Where can I get this. I tried the GNU.org site, but I don't understand exactly what the GNU CC is. Am I looking for the gcc compiler or what. I am running redhat 7.2. Thanks
|
It's in the LFS FAQ, please have a read at:
http://www.linuxfromscratch.org/faq/#AEN156
|
|
|
03-26-2002, 10:39 AM
|
#3
|
Member
Registered: Feb 2002
Location: Orlando
Distribution: Whatever I feel like at the time I install.
Posts: 284
Original Poster
Rep:
|
Hey thanks. That will fix my problem too, however the reason I posted was I couldn't understand the GNU gcc website at all. I finally found a mirror ftp site and that was just straight forward enough that I could dl it from there.
|
|
|
03-26-2002, 10:58 AM
|
#4
|
LFS Maintainer
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372
Rep:
|
Quote:
Originally posted by bbenz3
Hey thanks. That will fix my problem too, however the reason I posted was I couldn't understand the GNU gcc website at all. I finally found a mirror ftp site and that was just straight forward enough that I could dl it from there.
|
Yeah sorry the FAQ link was just to fix the "not using GNU CC" error that Gilbc's configure gave you.
As you figured out, GNU CC is /usr/bin/gcc - the system's compiler made by the GNU project.
|
|
|
03-26-2002, 11:29 AM
|
#5
|
Member
Registered: Feb 2002
Location: Orlando
Distribution: Whatever I feel like at the time I install.
Posts: 284
Original Poster
Rep:
|
It may be hard but I will get through it. It has been a really neat experience.
Thanks
|
|
|
03-26-2002, 12:14 PM
|
#6
|
Member
Registered: Feb 2002
Location: Orlando
Distribution: Whatever I feel like at the time I install.
Posts: 284
Original Poster
Rep:
|
well i am still getting that error.
Quote:
If you're getting an error from configure like: checking whether we are using GNU C... no
configure: error: GNU libc must be compiled using GNU CC
It may be because egrep (from the grep package) isn't working.
To test if egrep is working before reinstalling the grep package in Chapter 6, run the following command from outside chroot: file $LFS/usr/bin/egrep
If it doesn't say "statically linked" you have a problem and need to reinstall the grep package.
To test if egrep is working after reinstalling the grep package in Chapter 6, run the following command from inside chroot: egrep root /etc/passwd
If it doesn't print root's line from /etc/passwd, again, you have a problem. (This test also works if you encounter the problem after rebooting into the new LFS system.)
|
I followed everything there and all of that seems to work except the statically linked part. I am really confused. I reinstalled grep and I also got the source for GNU gcc 3.0 and installed that as well. I am most confused, plz help. thanks
well I rereinstalled grep and this time it comes up statically linked but I still get the same error. most confused
Last edited by bbenz3; 03-26-2002 at 12:22 PM.
|
|
|
03-26-2002, 12:33 PM
|
#7
|
LFS Maintainer
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372
Rep:
|
Quote:
Originally posted by bbenz3
well i am still getting that error.
I followed everything there and all of that seems to work except the statically linked part. I am really confused. I reinstalled grep and I also got the source for GNU gcc 3.0 and installed that as well. I am most confused, plz help. thanks
well I rereinstalled grep and this time it comes up statically linked but I still get the same error. most confused
|
Well first determin is egrep is statically linked or not. Is it?
|
|
|
03-26-2002, 01:01 PM
|
#8
|
Member
Registered: Feb 2002
Location: Orlando
Distribution: Whatever I feel like at the time I install.
Posts: 284
Original Poster
Rep:
|
It is statically linked for sure now.
|
|
|
All times are GMT -5. The time now is 04:03 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|