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

Re: installing gnupg



>>>>> "Jeff" == Jeff Bailey <jbailey@nisa.net> writes:

    Jeff> IIRC, linux requires /usr/include/[asm,linux] to be defined.
    Jeff> These won't exist on the Hurd, and wouldn't be created when
    Jeff> running under fakeroot.

No. These come with the kernel.

[611] [snoopy:bam] ~/admin/linux/linux-2.4.2/include >ls -ld asm* linux
lrwxrwxrwx    1 bam      users           8 Mar  3 10:07 asm -> asm-i386/
drwxr-xr-x    2 bam      users        2792 Mar  3 10:05 asm-alpha/
drwxr-xr-x   16 bam      users        3008 Mar  3 10:05 asm-arm/
drwxr-xr-x    2 bam      users        2088 Mar  3 10:05 asm-cris/
drwxr-xr-x    2 bam      users         192 Dec 12 08:45 asm-generic/
drwxr-xr-x    2 bam      users        2960 Mar  3 10:05 asm-i386/
drwxr-xr-x    3 bam      users        2664 Mar  3 10:05 asm-ia64/
drwxr-xr-x    2 bam      users        4240 Mar  3 10:05 asm-m68k/
drwxr-xr-x    6 bam      users        3520 Mar  3 10:05 asm-mips/
drwxr-xr-x    7 bam      users        3208 Mar  3 10:05 asm-mips64/
drwxr-xr-x    2 bam      users        2536 Mar  3 10:05 asm-parisc/
drwxr-xr-x    2 bam      users        3616 Mar  3 10:05 asm-ppc/
drwxr-xr-x    2 bam      users        2552 Mar  3 10:05 asm-s390/
drwxr-xr-x    2 bam      users        2552 Mar  3 10:05 asm-s390x/
drwxr-xr-x    2 bam      users        2480 Mar  3 10:05 asm-sh/
drwxr-xr-x    2 bam      users        3880 Mar  3 10:05 asm-sparc/
drwxr-xr-x    2 bam      users        3352 Mar  3 10:05 asm-sparc64/
drwxr-xr-x   11 bam      users       13784 Mar  3 10:26 linux/


Linux never uses include files from /usr/include, it comes with all
include files.

Last I heard though, the upstream glibc maintainers recommend that
/usr/include/asm and /usr/include/linux point to the kernel source. I
think this is how it is done on Redhat(?). Fortunately neither Linus
or the glibc Debian maintainers agree.  Perhaps however this is why
you were confused.

Has anyone ever tried compiling Linux on the Hurd?

I imagine the basic build would be OK, but the build process might get
confused and try to construct the image in the wrong way or something.
-- 
Brian May <bam@debian.org>



Reply to: