Installing lfs 3.0 and glibc-2.2.4 fails to configure due to oldheader files....
poser at slipjack.com
Tue Sep 25 23:26:03 PDT 2001
That was it. I left the source packages in the "3.0" subdirectory.
Foolish foolish me.... Thanks.
On to the next failed build, then....
On 25 Sep 2001 17:43:49 -0400, Howell Strain wrote:
> Seems you might have run into the same thing I did.
> Try to redo the linux header page in Chp5.
> Do you get an error at the end referencing the cp command?
> Did you follow the beginning of the book when it suggested you create 0-9 &
> a-z directories inside the $LFS/usr/src?
> If so you may need to hand modify the Linux Kernel script to point to a
> directory that exists.
> For example, I modified:
> cp -a ../src/linux/include/linux . &&
> cp -a ../src/l/linux/include/linux . &&
> I'm not sure if you can now skip to the beginning of Chp6 or must continue
> through Chp5. I did the former. Count yourself lucky. I made it all the way
> to Ncurses before I caught it.
> > -----Original Message-----
> > From: lfs-support-owner at linuxfromscratch.org
> > [mailto:lfs-support-owner at linuxfromscratch.org]On Behalf Of
> > Chris Walker
> > Sent: Tuesday, September 25, 2001 6:05 AM
> > To: lfs-support at linuxfromscratch.org
> > Subject: Installing lfs 3.0 and glibc-2.2.4 fails to configure due to
> > oldheader files....
> > So,
> > I'm installing LFS 3.0 with a Mandrake 8 host system (gcc-2.96,
> > glibc-2.2.2). All is well through the chroot (default optimization
> > only--CFLAGS and CXXFLAGS are unset). When I attempt to build glibc
> > (using the script in lfs-commands-3.0/chapter6/glibc-2.2.4), I get the
> > following error:
> > ...
> > running configure fragment for ../glibc-2.2.4/sysdeps/unix/sysv/linux
> > checking installed Linux kernel header files... TOO OLD!
> > configure: error: GNU libc requires kernel header files from
> > Linux 2.0.10 or later to be installed before configuring.
> > The kernel header files are found usually in /usr/include/asm and
> > /usr/include/linux; make sure these directories use files from
> > Linux 2.0.10 or later. This check uses <linux/version.h>, so
> > make sure that file was built correctly when installing the kernel
> > header
> > files. To use kernel headers not from /usr/include/linux, use the
> > configure option --with-headers.
> > ...
> > Did I miss something in Chapter 5?
> > Thanks,
> > -Chris
> > --
> > Unsubscribe: send email to listar at linuxfromscratch.org
> > and put 'unsubscribe lfs-support' in the subject header of the message
> Unsubscribe: send email to listar at linuxfromscratch.org
> and put 'unsubscribe lfs-support' in the subject header of the message
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message
More information about the lfs-support