nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   Slackware Linux (http://www.nvnews.net/vbulletin/showthread.php?t=17633)

Rudi22 09-07-03 01:41 PM

Slackware Linux
 
Hi There,

I'm (linux newbie) currently using Slackware Linux 9 and i've used the default install kernel. When I run the installer it can not find a correct kernel and sends me to the ftp site of nvidia. Here he can not find a appropriate kernel for my system. After that i've downloaden the kernel source and put it in the /usr/src/linux-2.4.20/ directory and tried to install the driver using the "-e" for expert installation and typed in the correct path.
However i get the following message:
--------------------------------------------------------------------------------------------------------------------------
ERROR: The kernel header file
'/lib/modules/2.4.20/build/include/linux/modversions.h' does not exist.
The most likely reason for this is that the kernel header files in
'/lib/modules/2.4.20/build/include' have not been configured.
--------------------------------------------------------------------------------------------------------------------------
I would appriciate any help.

yaarg 09-07-03 07:25 PM

Re: Slackware Linux
 
Quote:

Originally posted by Rudi22
Hi There,

I'm (linux newbie) currently using Slackware Linux 9 and i've used the default install kernel. When I run the installer it can not find a correct kernel and sends me to the ftp site of nvidia. Here he can not find a appropriate kernel for my system. After that i've downloaden the kernel source and put it in the /usr/src/linux-2.4.20/ directory and tried to install the driver using the "-e" for expert installation and typed in the correct path.
However i get the following message:
--------------------------------------------------------------------------------------------------------------------------
ERROR: The kernel header file
'/lib/modules/2.4.20/build/include/linux/modversions.h' does not exist.
The most likely reason for this is that the kernel header files in
'/lib/modules/2.4.20/build/include' have not been configured.
--------------------------------------------------------------------------------------------------------------------------
I would appriciate any help.

You don't actually require the kernel source just the kernel headers. In Slackware they are installed by default at <code>/usr/include</code> so to run the installer you need to tell it they are there like so:
<code>
sh *installer name here* --kernel-include-path /usr/include
</code<

Rudi22 09-08-03 06:59 AM

Thank you for your reply, it worked!

Greets,

Rudi


All times are GMT -5. The time now is 09:40 AM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.