Gandi.net Groups

Hosting expert mode: Kernel Headers

You should be logged in to post new messages. Create an account.

Hi 

In order to use perl's cpan tools to build C based modules I need to
have the linux-headers package installed (as far as I can tell). Being a
BSD person and not a Linux person I don't actually know what I need to
install. I'm using Ubuntu and 'apt-get install linux-headers' provides
the following list:

  linux-headers-2.6.22-14-xen 2.6.22-14.52
  linux-headers-2.6.22-14-virtual 2.6.22-14.52
  linux-headers-2.6.22-14-ume 2.6.22-14.52
  linux-headers-2.6.22-14-server 2.6.22-14.52
  linux-headers-2.6.22-14-rt 2.6.22-14.52
  linux-headers-2.6.22-14-generic 2.6.22-14.52
  linux-headers-2.6.22-14-386 2.6.22-14.52
  linux-headers-2.6.22-14 2.6.22-14.52

Which one do I need to install? It does appear that the kernel version
is actually 2.6.18 so I assume I'd get some problems with any of those. 

Help?

cheers

nic
To answer my own question, in case anyone else needs it, the answer is 

  apt-get install build-essentials

nic