DKMS and Linux Kernel Headers

Started by ndawka, Sun Sep 18 06:38:09 2022

Previous topic - Next topic

ndawka

Hello!

I have been trying to install EVDI, that requires both DKMS and Linux Kernel Headers. DKMS isn't too much of a problem, it is possible, to compile DKMS from source. What needs to be done with kernel headers? Since NuTyX is rolling release, it would be very difficult to install headers for the kernel upon each update. Is there a way to install some kernel headers package, or similar?

This is the error, that I specifically get:
QuoteCreating symlink /var/lib/dkms/evdi/1.12.0/source -> /usr/src/evdi-1.12.0
Error! Your kernel headers for kernel 5.19.8-NuTyX cannot be found at /lib/modules/5.19.8-NuTyX/build or /lib/modules/5.19.8-NuTyX/source.
Please install the linux-headers-5.19.8-NuTyX package or use the --kernelsourcedir option to tell DKMS where it's located.
Deleting module evdi-1.12.0 completely from the DKMS tree.
ERROR: Failed to install evdi to the kernel tree.

Thierry

Install the kernel headers via the kernel.devel package. You will probably need cards.devel as well. Some more might be needed. Repeat the command with the package required:

sudo cards install cards.devel kernel.devel

QuoteSince NuTyX is rolling release, it would be very difficult to install headers for the kernel upon each update
Don't worry about it, ones they are installed, they will be updated together with your kernel.

Best regards
Thierry