Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
linux-headers or linux26headers?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
southsider
Guru
Guru


Joined: 05 Jul 2004
Posts: 358

PostPosted: Wed Dec 15, 2004 12:06 am    Post subject: linux-headers or linux26headers? Reply with quote

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
View user's profile Send private message
Lokheed
Veteran
Veteran


Joined: 12 Jul 2004
Posts: 1295
Location: /usr/src/linux

PostPosted: Wed Dec 15, 2004 12:23 am    Post subject: Reply with quote

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
View user's profile Send private message
irf2003
Veteran
Veteran


Joined: 10 Sep 2003
Posts: 1078

PostPosted: Wed Dec 15, 2004 12:30 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum