zfs linux checking kernel source directory… Not found

When compiling zfs on linux we get the following error

checking kernel source directory… Not foundconfigure: error:       *** Please make sure the kernel devel package for your distribution        *** is installed then try again.  If that fails you can specify the        *** location of the kernel source with the ‘–with-linux=PATH’ option.

You can solve this by installing the kernel-devel package

yum install kernel-devel

Then configure the package again.

Be the first to comment

Leave a Reply