
On Thu, 2005-01-06 at 11:15 +1300, SnapafunFrank wrote:
"- Make sure you have no stale .o files and dependencies lying around:
cd linux make mrproper
You should now have the sources correctly installed."
Huh! But I've only unpacked the bz2 file into my home directory - how can anything be installed at this point?
You have installed the source code for the kernel into your home directory. You achieved this by unpacking the tarball. You haven't actually installed a kernel from that source code yet, but the source code is installed none the less. Inside your home directory now there should be a directory called linux-2.6.10 (or similar)
To configure and build the kernel use: cd /usr/src/linux-2.6.N
** WOAH - WAIT UP- where in blue blazes did the directory /usr/src/linux-2.6.N come from - yes. I have directories for previous versions here but certainly not this one yet.
The linux-2.6.x directory it refers to is the one that you have just unpacked/installed into your home directory. I guess they are using /usr/src in the example because they don't know what your home directory is called. Slightly confusing I agree, being that you were told not to put the source into /usr/src... So you should fine /home/snapafunfrank/linux-2.6.10 (or similar). This is the directory you should CD into.
Right back at the beginning. The only file I have found is the bz2 file, how can I have already installed the full sources. I thought they were part and parcel of the bz2 file and as yet had to be installed.
Lost - braindead - BOTH. Any one want to do the rear seat kicking here?
The bz2 is a tar ball (a collection of files) that contains the full source code for the kernel. You extracted that tarball into your home directory and you are now ready to proceed with the further instructions to compile the kernel. Good luck. -- Matt Brown matt(a)mattb.net.nz Mob +64 275 611 544 www.mattb.net.nz