11-13-2012 09:14 AM
Hello,
i'm trying to install the ni4882 2.9.1f0 driver on a Redhat-EL5 system.
Running the INSTALL script, immediately i get the error message:
...
Unpacking install files to /tmp/NI4882-2.9.1f0.install...
************************************ ERROR *************************************
* Kernel source does not appear to be installed for the 2.6.18-308.8.2.el5 kernel.
* Installation of the kernel-source package for kernel 2.6.18-308.8.2.el5 is
* required to continue this installation.
************************************ ERROR *************************************
On Redhat EL5 or 6 (what is supported according to the README.txt file coming
with the package) there is no such package kernel-source . AFAIK it is
available on SuSE. On Redhat, the kernel sources come as source-RPM,
what serves a completely different purpose and are not usable here.
Tracing the script shows, that it wants the directory /usr/linux/src/include ,
what does not exist on Redhat-EL5 or 6.
Is Redhat EL5 and 6 really supported ?
Thanks for any hint !
11-13-2012 09:39 AM
There is a regular RPM for RHEL that provides the sources for the currently running kernel, for pretty much just this purpose. I don't have an RHEL box handy at the moment, but I think you could try "kernel-devel".
11-13-2012 09:57 AM
Yes that's it ! Thank you very much !