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
Site Admin
Posts: 33202
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
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply