no kernel in usr/src/Linux
I am trying to install a prog but I get an error stating that there is no kernel in usr/src/Linux
sure enough i look and it does not exhist. How can i find out where my kernel source is ? |
you need to install it, it will not be on your system by default. install the kernel-source.blah.rpm
|
huh ?
Not to sound too much as a newbie, eventhough i am. But how can I have linux running without the kernel ?
|
/usr/src contains the kernel source files, not the kernel itself.
--jeremy |
Yes but the prog needs someting in usr/src/Linux and thir directory does not exhist.
|
yes, so you need to install the source files from the kernel-source.something.rpm file in your distro cds. this it NOT the kernel, but the source files that are compiled inthe the kernel found in your kernel.something.rpm.
|
If I am understanding correctly i actually need to install the kernel and the kernel source files.
Is this correct? |
Quote:
You must already have a (compiled) kernel to be running Linux. This kernel will have been the one that you put on during your installation. What your program is looking for is the source code for the kernel, not the kernel itself. All you need to install is the kernel source code. Once its there you can either forget about it or build yourself a nice shiney new kernel (when you feel the urge)! cheers Jamie... |
HOW DO I INSTALL A NEW KERNEL.
sorry about the caps |
The way that I would do it would be to get the source code from your local mirror of ftp.kernel.org then simply unpack the tarball to /usr/src. You'll then want to symlink the linux-2.4.xx dir as linux (ln -s linux-2.4.xx linux) to things that look for /usr/src/linux can find what they expect. You'll also want change to the linux directory and run 'make symlinks' so your assembly dir is linked correctly.
If you are actually going to build a new kernel then have a look at the kernel-HOWTO cheers Jamie... |
Quote:
|
I have figured it out with your help. Thanx
|
All times are GMT -5. The time now is 06:52 AM. |