[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#35113: libc6-dev: not able to compile itself with headers in this package



On Fri, Mar 26, 1999 at 10:37:37PM -0000, Joey Hess wrote:
> Package: libc6-dev
> Version: 2.1.1-0.1
> 
> running configure fragment for
> /home/joey/debian/pentium/TEMP/glibc-2.1.1/glibc-
> 2.1.1/linuxthreads/sysdeps/unix/sysv/linux
> running configure fragment for
> /home/joey/debian/pentium/TEMP/glibc-2.1.1/glibc-
> 2.1.1/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.

The problem is that ${KERNEL_SOURCE} in debian/rules does not have a
default.  Just exporting it as /usr will work.

Joel, is there any reason NOT to put
KERNEL_SOURCE = /usr

in the rules files as a default?  It's easy enough to override.

Dan

/--------------------------------\  /--------------------------------\
|       Daniel Jacobowitz        |__|     CMU, CS class of 2002      |
|   Debian GNU/Linux Developer    __   Part-Time Systems Programmer  |
|         dan@debian.org         |  |        drow@cs.cmu.edu         |
\--------------------------------/  \--------------------------------/


Reply to: