I recently installed openSUSE 11.1 64 bit. I’m trying to install my nvidia driver, but I’m missing files for a kernel header or source path for a kernel (so the driver installation says). I tried looking for kernel headers via YaST > Software Management, but I’m not sure how to go about choosing one. Is it based on my motherboard/chipset? I have an Intel motherboard that’s fairly new. I only ask this because under the packages they listed off companies.
Nagglfar wrote:
> I recently installed openSUSE 11.1 64 bit. I’m trying to install my
> nvidia driver, but I’m missing files for a kernel header or source path
> for a kernel (so the driver installation says). I tried looking for
> kernel headers via YaST > Software Management, but I’m not sure how to
> go about choosing one. Is it based on my motherboard/chipset? I have an
> Intel motherboard that’s fairly new. I only ask this because under the
> packages they listed off companies.
The package is based on the kernel version. The package you want is
“linux-kernel-headers”.
Under yast’s installed packages… linux-kernel-headers is already present. When I try to run the driver it just says that no kernel is precompiled for this interface/can’t find the path for the kernel files
ERROR: The kernel header file
‘/lib/modules/2.6.27.19-3.2-default/build/include/linux/kernel.h’ does
not exist. The most likely reason for this is that the kernel source
path ‘/lib/modules/2.6.27.19-3.2-default/build’ is incorrect. Please
make sure you have installed the kernel source files for your kernel and
that they are properly configured; on Red Hat Linux systems, for
example, be sure you have the ‘kernel-source’ or ‘kernel-devel’ RPM
installed. If you know the correct kernel source files are installed,
you may specify the kernel source path with the ‘–kernel-source-path’
command line option.
Do I have to change the path manually? If so, how do I go about doing that?
I got it to work. under yast > software management search for “kernel-source” package. The nvidia installer should be able to install successfully when under runlevel 3
Yast, Software management: Select “Patterns” and install “Linux Kernel Development”.
Perform an online update, so that the kernel sources/headers version and the version of the running kernel match. Reboot the machine.