Results 1 to 10 of 24
hello, I am trying to install a graphics driver for my graphics card within suse linux 10.2 and fails. I have looked in the error log and got this
ERROR: ...
- 06-03-2007 #1Just Joined!
- Join Date
- Jun 2007
- Posts
- 12
problem with kernel header file
hello, I am trying to install a graphics driver for my graphics card within suse linux 10.2 and fails. I have looked in the error log and got this
ERROR: The kernel header file
'/lib/modules/2.6.18.2-34-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.18.2-34-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' 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.
I think no kernal of some sort is not installed / compiled and i'm not sure on how to do that. I have contacted nvidia to which got nowhere. I know how to install it but its this error that is stopping me. any ideas?
thanks
- 06-03-2007 #2Linux Enthusiast
- Join Date
- Aug 2006
- Posts
- 631
You can install the sources through yast, by the installing software
option. Browse through the list of available software untill you see the sources and select them.
Regards
- 06-03-2007 #3
You also need the gcc compiler and make
Here are some detailed instructions
Hacking openSUSE 10.2 - Software in Review
People who aren't afraid of recompiling the nvidia kernel module or
even reinstalling the nvidia driver each time the kernel has been
updated and want or need to use the latest and greatest nvidia driver
can use the following steps 1-3. The others should use the
instructions above using YaST and skip the steps below.
1) Kernel sources must be installed and configured. Usually this means
installing the 'kernel-source', 'make' and 'gcc' packages with YaST2.
2) Use the nvidia installer for 1.0-9746.
sh NVIDIA-Linux-x86-1.0-9746-pkg1.run -q
3) Configure X.Org with
sax2 -r -m 0=nvidia (0 is a digit, not a letter!)
NOTE: There is no need to try to enable 3D support. It's already
enabled, when the nvidia driver is running.
IMPORTANT: You need to recompile and install the nvidia kernel module
after each kernel update.
sh NVIDIA-Linux-x86-1.0-9746-pkg1.run -K
- 06-03-2007 #4Just Joined!
- Join Date
- Jun 2007
- Posts
- 12
- 06-03-2007 #5Linux Enthusiast
- Join Date
- Aug 2006
- Posts
- 631
Search for "kernel-source" and as gogalthorp mentioned check if "gcc" and "make" are installed.
Regards
- 06-03-2007 #6Just Joined!
- Join Date
- Jun 2007
- Posts
- 12
rpm, gcc and make are all installed and i just checked to see if the source is and it is so a problem must be somewhere. I noticed when looking for "make" i saw these as well which were not installed "automake" , "cmake" , "makedev" and "unsermake" which i am now putting in just incase, if these fail what other things can I try as i have not got the knowledge or experience to compile the kernal my-self
- 06-03-2007 #7Linux Enthusiast
- Join Date
- Aug 2006
- Posts
- 631
Have you search for the kernel-sources?
Regards
- 06-03-2007 #8Just Joined!
- Join Date
- Jun 2007
- Posts
- 12
through yast? I did and it had a tick next to it so i would assume that means that them are installed
- 06-03-2007 #9Linux Enthusiast
- Join Date
- Aug 2006
- Posts
- 631
Are the kernel-headers installed?
Regards
- 06-03-2007 #10Just Joined!
- Join Date
- Jun 2007
- Posts
- 12
what are them? maybe not, i'll do a look for them asap and get back to you. I will also re-verify everything else as well.


Reply With Quote
