LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   Problem Installing Nvidia VGA driver (https://www.linuxquestions.org/questions/suse-opensuse-60/problem-installing-nvidia-vga-driver-620498/)

sepehr 02-12-2008 01:59 AM

Problem Installing Nvidia VGA driver
 
using the instructions given in in Nvidia website i downloaded a .run file and using sh command tried to install it,but i'm given this error :
ERROR:
The kernel header file '/lib/modules/2.6.18.2-34-default/build/include/linux/version.h' does not exist.The most likely reason for this is that the kernel source files in '/lib/modules/2.6.18.2-34-default/build' have not been configured.

what actions should i take?

emg 02-12-2008 06:14 AM

be sure the kernel headers (source) are installed as well as make and gcc then you should have no problems installing from runlevel 3 (no X server running)

sepehr 02-13-2008 08:25 AM

Quote:

be sure the kernel headers (source) are installed as well as make and gcc then you should have no problems installing from runlevel 3 (no X server running)
kernel sources are installed along with gcc,and i did switch to init 3 before running the installation file,any ideas?

rivenought 02-21-2008 05:24 PM

Have you checked http://en.opensuse.org/NVIDIA to see any information on that page might help?

pilotgi 02-21-2008 05:54 PM

Which version of openSUSE are you running?

What are the results of the command: uname -a

Did you run the .run file as root?

Edit: Ok, forget the first question, I see your sig now. The error message you got is usually one you get when you don't have kernel sources installed.

sepehr 02-26-2008 07:51 AM

Quote:

Have you checked http://en.opensuse.org/NVIDIA to see any information on that page might help?
since I don't have internet connection on linux for now i can't take advantage of online driver download(which i used to consider when i had internet connection on linux)
finally i found out what to do to get the drivers compiled correctly, Nvidia installer uses the kernel files installed in /lib/modules/
and some unconfigured kernel sources where there by default so driver installation failed,I tried to reconfigure the kernel in /usr/src with make command and using directory switch pointing my new configuration to /lib/modules where Nvidia installer uses
for more info look at README file for make of kernel-sources directory,thank you for all suggestions :)


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