Cannot find kernel source

Issues related to software problems.
Post Reply
allanng78
Posts: 2
Joined: 2015/04/07 06:16:36

Cannot find kernel source

Post by allanng78 » 2015/04/07 06:23:26

Hi,
I am new to Centos. I try to install DAG card driver and application into Centos 5.5 and I encounter this error.

checking for kernel source ... checking for kernel source ... none
configure: error: Cannot find kernel sources; use --with-kern=DIR

How can I solve this error. Please advise me.

Allan

User avatar
TrevorH
Forum Moderator
Posts: 26942
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Cannot find kernel source

Post by TrevorH » 2015/04/07 11:43:58

Step 1: update to 5.11 which is the latest and only supported release of CentOS 5
Step 2: install the exact same version/release of the kernel/kernel-headers and kernel-devel packages and make sure you have rebooted into the latest kernel
CentOS 5 died in March 2017 - migrate NOW!
CentOS 6 goes EOL sooner rather than later, get upgrading!
Full time Geek, part time moderator. Use the FAQ Luke

Post Reply

Return to “CentOS 5 - Software Support”