Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Installing Kernel Source

Status
Not open for further replies.

pilgie

Technical User
May 2, 2006
16
GB
Hi,

I am trying to install Asterisk on Fedora Core 4 but recieve the following error when running 'make':

You do not appear to have the sources for the 2.6.11-1.1369_FC4smp kernel installed.

How do I go about installing the kernel source? where does it have to go etc.

I am a little new to linux so excuse my stupidity....:eek:)

Any help appreciated.

Cheers,

Luke.
 
There should be an RPM of the kernel source, for example kernel-source-2.6.11-1.1369_FC4smp, which you should be able to install from the same place you obtained the kernel itself.

Annihilannic.
 
best I could find for a source was kernel-smp-2.6.11-1.1369_FC4 RPM for i686
from: ftp://fr2.rpmfind.net/linux/fedora/core/4/i386/os/Fedora/RPMS/kernel-smp-2.6.11-1.1369_FC4.i686.rpm
 
Sorry forgot to say that after that try:

rpm -Ivh kernel-smp-2.6.11-1.1369_FC4.i686.rpm

and everything should end up where it should be. Just make sure there is a simlink /usr/src/linux that points to the real source folder (usually something like /usr/src/linux-smp-2.6.11-1.1369_FC4) with the ls command (ls -l /usr/src/linux)
 
I too get the same error message as above. I have tried lots of things to try and load the source files but each time it still says the same error. If I try to install it it appears to install fine, yet if I rpm -q to check, it says it is not installed.

I am getting so frustrated I am thinking of rebuilding into enterprise instead, only because I know that we have existing servers running on that OS

Rob
 
Err, oops, I just realised it's the wrong RPM... that is for the SMP kernel, not the kernel source... why did't I spot that the first time? You need an RPM called kernel-source-....rpm.

Annihilannic.
 
For asterisk I think that you do not need kernel-source. kernel-devel rpm (rpm containing your kernel headers) should be enough.


QatQat

Life is what happens when you are making other plans.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top