View previous topic :: View next topic |
Author |
Message |
southsider Guru
Joined: 05 Jul 2004 Posts: 358
|
Posted: Wed Dec 15, 2004 12:06 am Post subject: linux-headers or linux26headers? |
|
|
I want hal on my system.
Code: | flashpoint root # emerge -vpt hal
These are the packages that I would merge, in reverse order:
Calculating dependencies ...done!
[ebuild N ] sys-apps/hal-0.2.98-r1 -debug 1,193 kB
[ebuild N ] sys-kernel/linux26-headers-2.6.8.1-r1 -build 34,870 kB
[ebuild N ] sys-apps/dbus-0.22-r1 +X -debug +gtk +python +xml2 0 kB |
I originally had a block between linux26-headers and linux-headers-2.4.whatever. As I'm using a 2.6 kernel I though what the hell, and unmerged linux-headers. However I notice two things:
1) linux26-headers is of a different version to my kernel
2) baselayout still requires linux-headers (the 2.4 version)
Confused.
Many thanks in advance - Alex |
|
Back to top |
|
|
Lokheed Veteran
Joined: 12 Jul 2004 Posts: 1295 Location: /usr/src/linux
|
Posted: Wed Dec 15, 2004 12:23 am Post subject: |
|
|
Dont worry about the difference in version numbers on linux26-headers and your kernel. Just emerge linux26-headers and then re-emerge glibc which, someone correct me if I am wrong, is the only program to take advantage of linuxheaders.
robmoss actually advises an emerge -e system && emerge -e system && emerge -e world && emerge -e world after such an update...
I think that is a bit dramatic but its up to you.
Were did you see that baselayout requires the old linuxheaders? I have upate to the 26 headers and havent noticed any problems... |
|
Back to top |
|
|
irf2003 Veteran
Joined: 10 Sep 2003 Posts: 1078
|
Posted: Wed Dec 15, 2004 12:30 am Post subject: |
|
|
if you are not running a 2.4.x kernel, then linux26-headers and
nptl is the way to go.
add "nptl nptlonly" to your USE flags in your /etc/make.conf
then do
Code: |
emerge -C linux-headers
emerge linux26-headers
etc-update && env-update && source /etc/profile
emerge glibc
etc-update && env-update && source /etc/profile
emerge -e system
etc-update && env-update && source /etc/profile
revdep-rebuild
etc-update && env-update && source /etc/profile
|
hth
happy gentooing |
|
Back to top |
|
|
|