5 Jun 2012 22:49
Errors compiling glibc in chapter 6
<joao.moreira <at> free.fr>
2012-06-05 20:49:01 GMT
2012-06-05 20:49:01 GMT
Hi all, This is my second attempt at LFS, many years ago I successfully got counted as number 7178 with LFS 4.0(Continue reading)Now I've followed the stable 7.1 version of book, even though I knew from the outset that my host did not conform to the requirements, as you can see in the attached file. The host's gcc and glibc are too recent, and have not been tested... well, maybe now I *have* tested them, and they don't work, I don't know. Oh well, I tried. This is a Fedora 16 system on an HP Pavilion dv7 (Core i5, 64 bits). I followed the book without any issue until installing man pages in chapter 6. Then I get a problem with glibc. Here's what goes wrong (summary, details below) : 1. First, when configuring glibc 2.14.1, it complains about missing autoconf (strange, but probably harmless) 2. Then I start building it and get many many errors such as : make[2]: *** No rule to make target `/sources/glibc-build/iconv/stamp.o', needed by `/sources/glibc-build/libc.a'. 3. This is followed by many more messages such as : make[2]: Target `tests' not remade because of errors. 4. It finally ends with make[1]: Target `check' not remade because of errors. make[1]: Leaving directory `/sources/glibc-2.14.1' make: *** [check] Error 2 root:/sources/glibc-build# Actually, I don't even know if these are fatal errors, maybe I should try to continue from here...
Now I've followed the stable 7.1 version of book, even though I knew from the outset that my host did not
conform to the requirements, as you can see in the attached file. The host's gcc and glibc are too recent,
and have not been tested... well, maybe now I *have* tested them, and they don't work, I don't know. Oh well,
I tried. This is a Fedora 16 system on an HP Pavilion dv7 (Core i5, 64 bits). I followed the book without any
issue until installing man pages in chapter 6. Then I get a problem with glibc.
Here's what goes wrong (summary, details below) :
1. First, when configuring glibc 2.14.1, it complains about missing autoconf (strange, but probably harmless)
2. Then I start building it and get many many errors such as :
make[2]: *** No rule to make target `/sources/glibc-build/iconv/stamp.o', needed by `/sources/glibc-build/libc.a'.
3. This is followed by many more messages such as :
make[2]: Target `tests' not remade because of errors.
4. It finally ends with
make[1]: Target `check' not remade because of errors.
make[1]: Leaving directory `/sources/glibc-2.14.1'
make: *** [check] Error 2
root:/sources/glibc-build#
Actually, I don't even know if these are fatal errors, maybe I should try to continue from here...
No, I did NOT run 'make', it didn't SEE that command ! And
the amazing thing is, I started this procedure over again maybe five times, and never saw it. I guess my eyes
just jumped over it to that big "IMPORTANT" box about the test suite... Oh well. So I will now go and hide my
shame, remove the glibc source and build directories, and try again. I'll keep you posted.
As for the discussion below : only glibc failed in chapter 6. In chapter 5, gcc pass 1, glibc, and gcc pass 2
were built just fine, no problems. But it's true that my host system doesn't have that yacc link to bison,
I'll add that now. And if I have any more compilation problems, I'll start over from chapter 5, with the yacc
link added.
Thanks for your help,
Joao
----- Mail original -----
De: "Ken Moffat" <zarniwhoop <at> ntlworld.com>
À: "LFS Support List" <lfs-support <at> linuxfromscratch.org>
Envoyé: Mercredi 6 Juin 2012 01:12:37
Objet: Re: [lfs-support] Errors compiling glibc in chapter 6
On Tue, Jun 05, 2012 at 05:41:12PM -0500, Bruce Dubbs wrote:
> Ken Moffat wrote:
> > On Tue, Jun 05, 2012 at 10:49:01PM +0200, joao.moreira <at> free.fr wrote:
>
>
> >> bison (GNU Bison) 2.5
RSS Feed