Click to See Complete Forum and Search --> : Can't install kernel source


TallGuy
11-05-2003, 11:41 AM
hi - I upgraded to suse 9.0 and I am trying to get 3D to work . Now I need the kernel source installed for the NVIDIA driver to compile the . .stuff you know. But I can't install the source RPM!! I've tried through the YAST installer and with the simple rpm --install k-deflt-2.4.21-99.src.rpm and nothing happens. It wont install and it wont give me an error report , something.
What's going on?? :confused:

hard candy
11-05-2003, 02:16 PM
It may be that you have to log in as root, in order to write to the /usr/src directory. I have seen it where I couldn't install into a certain directory with rpm, etc until I logged in as root.

mdwatts
11-05-2003, 05:07 PM
You need to install the kernel source package that was used to build your correct running kernel version.

k-deflt-2.4.21-99.src.rpm would be the uncompiled kernel source where you need to install something like

k-deflt-2.4.21-99.i#86.rpm

or

kernel-source-2.4.21-99.i#86.rpm

(change i#86 to whatever your hardware is using)

If you are still running the stock kernel, then install the kernel source from your installation cd(s). If running a updated kernel, download and install from the SuSE ftp servers in the updates directory.

TallGuy
11-05-2003, 05:46 PM
I installed that kernel RPM you suggested , dubbed i586.rpm but the installer wonīt work. And when I check the /usr/i586-suse-linux/include dir , it shows empty. thatīs where the headers should be right?
It seems like Iīm gonna have to wait for a new version of the driver to come out which will include module for my kernel or build one my self!