How to get the kbuild package for 2.6.29

In linux when you want to install a program most of the time you can download it with your distributions package manager.  Sometimes, however, a pre-built version is not available and you have to compile the software from source against your kernel.

To compile anything from source you need to have kernel-headers for your specific kernel. Right now with 64Studio 3.0 beta 3the apt repositories have not yet been updated with the linux-kbuild package for the 2.6.29 kernel. The kbuild package is a a pre-req for the kernel-headers. Following are instructions on how to get kernel headers for 2.6.29.

1. Make sure the ubuntu repositories are all enabled in synaptic, as well as the 64 studio 3.0 repositories.
2. Add the following repository to your sources.list
– deb-src http://ftp.debian.org/debian/ sid main contrib non-free # Debian unstable package sources
3. In terminal:
– sudo apt-get update
– sudo apt-get build-dep linux-kbuild-2.6.29
– mkdir kbuild
– cd kbuild
– sudo apt-get -b source linux-kbuild-2.6.29
– sudo dpkg -i *.deb

Now that the kbuild package is installed, the headers can be installed:

– sudo apt-get install linux-headers-2.6.29-1-all

Advertisements

~ by contractcooker on April 27, 2009.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

 
%d bloggers like this: