Gentoo Archives: gentoo-user

From: Alan McKinnon <alan@××××××××××××××××.za>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Touble with linux-headers
Date: Mon, 30 Apr 2007 09:54:41
Message-Id: 200704301145.36620.alan@linuxholdings.co.za
In Reply to: [gentoo-user] Touble with linux-headers by Holla
1 On Monday 30 April 2007, Holla wrote:
2 > Hello,
3 >
4 > I would like to install my own version of the kernel (2.6.18.3)
5 > which i have compiled and installed. This is working fine.
6
7 OK
8
9 > But when I try to do 'emerge system', portage is
10 > trying to emerge linux-headers also. How can I prevent
11 > it ?
12
13 Why do you want to do that?
14
15 The kernel and kernel headers are completely different things and have
16 nothing to do with each other, except that the headers came out of a
17 kernel tarball once.
18
19 The kernel source is the kernel source, it's a free-standing compilable
20 block of C.
21
22 The kernel-headers are there so the *user*apps*and*libs* know what
23 definitions of data structures to use. In very broad terms, someone
24 takes the .h files out of a kernel release that are known to be stable
25 and work well and make them available to user-space compilation. Gentoo
26 puts them in /usr/include/{asm,linux}. Leave them there.
27
28 Or have you been reading the stuff in /usr/src/linux/Documentation about
29 how you shouldn't put kernel sources in /usr/src/linux?
30
31 alan
32
33
34 --
35 Optimists say the glass is half full,
36 Pessimists say the glass is half empty,
37 Developers say wtf is the glass twice as big as it needs to be?
38
39 Alan McKinnon
40 alan at linuxholdings dot co dot za
41 +27 82, double three seven, one nine three five
42 --
43 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Touble with linux-headers Holla <holla.net@×××××.com>