LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   "Cannot find header source files" when trying to install Nvidia 6111 drivers (https://www.linuxquestions.org/questions/linux-newbie-8/cannot-find-header-source-files-when-trying-to-install-nvidia-6111-drivers-224639/)

naddad 08-31-2004 12:34 AM

"Cannot find header source files" when trying to install Nvidia 6111 drivers
 
Hi,

I have installed Mandrake 10.0 official DOWNLOAD version successfully (i hope). For the record, all i did was create an ext2 partition and booted from CD1 and installed mandrake. However, the X server is not working, i get a flickery screen when typing "startx" (i did not chose to launch X on startup by default). So i decided to install the Nvidia driver for my Laptop GeForce FX. I downloaded the file from nvidia (the i32 thing...) and ran it: sh NVIDIA-something.run. I get to the screen when it says "kernel header files not found" or something. I check with rpm -qa | grep kernel, i get the

mandrake 2.6.3 7mdk
kernel-source 2.6.3 7mdk-1-1

that's because i already installed (right??) the kernel source files using urpmi.addmedia contrib f t p:// <f t p s i t e > /contrib/i586 with ../<etc>/hdlist2.cz

So why am i still getting this problem?? Please help, i need linux really bad and i would declare King the guy who finds the solution. I've read many threads and tried lots of stuff, but i'm so new to linux that i'm not even sure what is going on when i type commands on the command line.

HELP!! or i format linux and never look to it again. :(

Demonbane 08-31-2004 12:38 AM

does /usr/src/linux exist?

naddad 08-31-2004 12:15 PM

Hi Demonbane,

Yes usr/src/linux does exist. If i remember well, that's where i typed 'make' to compile the source...?

Demonbane 08-31-2004 12:42 PM

try doing "make cloneconfig && make prepare-all" in /usr/src/linux
then run the nvidia driver installer with
sh NVIDIA-whatever.run -q --kernel-source-path=/usr/src/linux


All times are GMT -5. The time now is 12:37 PM.