Dienstag, 5. März 2013

Build the Linux Kernel

I have installed my first virtualbox image and want to start with ...

The mother of all sources: The Linux Kernel

wget https://www.kernel.org/pub/linux/kernel/v2.6/longterm/v2.6.34/linux-2.6.34.14.tar.bz2
tar xjf linux-2.6.34.14.tar.bz2                                                                                                   

ok. how do we proceed now?

make config? Doesn't work. make is not available.

so:
apt-get install build-essentials (installs libc, gcc, make, etc.)
apt-get install libncurses5-dev

then I can run make

make

and it takes hours....

the outcome is:

du / -sh
4.4 G

Yes it builds!

resources:

http://www.linuxchix.org/content/courses/kernel_hacking/

http://stackoverflow.com/questions/12225786/linux-kernel-on-virtual-machine

Start of the project

I am fed up with build errors. I am really annoyed with that. So many times I have downloaded source code packages and tried to build the code and finally got stuck.

I really don't know how much of a general problem this is but from my experience I could be a problem at least for several other people.

So I have decided to set up a project "Does it build?".

Goal of the project is:
  1. Create and provide virtualbox image(s) of a basic Linux System, that can build software packages.
  2. provide Information (if necessary also scripts) about building popular Software packages.
  3. Establish a Blog which informs about this project
All this should enable other interested people to build these packages on their own so that they have a basis for examining and modifying the software according to their taste and in order to learn and understand better how these systems work.

I have also posted a question at stackoverflow.com:
http://stackoverflow.com/questions/15218134/does-it-build-a-virtualbox-image-to-build-software-packages-successfully Let's see if there will be some feedback.

Nils