Cannot find kernel source

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

Cannot find kernel source

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

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.


User avatar
Forum Moderator
Posts: 28514
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 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

Post Reply

Return to “CentOS 5 - Software Support”