[HELP] no precompiled kernel interface was found

i’m very new to linux… i’m using opensuse 11 and got this problem when installing nvidia driver

no precompiled kernel interface was found

no matching precompiled kernel interface was found… installer will need to compile a kernel interface for your kernel

unable to find the development tool ‘cc’ in your path; please make sure that you have the package ‘gcc’ installed. if ‘gcc’ is installed on your system, then please check that ‘cc’ is in your path

installation failed. please see the fie ‘/var/log/nvidia-installer.log’

here’s the nvidia-installer.log

nvidia-installer log file ‘/var/log/nvidia-installer.log’
creation time: Sat Oct 11 01:46:07 2008
installer version: 1.0.7

option status:
license pre-accepted : false
update : false
force update : false
expert : false
uninstall : false
driver info : false
precompiled interfaces : true
no ncurses color : false
query latest version : false
OpenGL header files : true
no questions : false
silent : false
no recursion : false
no backup : false
kernel module only : false
sanity : false
add this kernel : false
no runlevel check : false
no network : false
no ABI note : false
no RPMs : false
no kernel module : false
force SELinux : default
no X server check : false
no cc version check : false
force tls : (not specified)
X install prefix : (not specified)
X library install path : (not specified)
X module install path : (not specified)
OpenGL install prefix : (not specified)
OpenGL install libdir : (not specified)
utility install prefix : (not specified)
utility install libdir : (not specified)
doc install prefix : (not specified)
kernel name : (not specified)
kernel include path : (not specified)
kernel source path : (not specified)
kernel output path : (not specified)
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp
ftp mirror : ftp://download.nvidia.com
RPM file list : (not specified)

Using: nvidia-installer ncurses user interface
-> License accepted.
-> Installing NVIDIA driver version 177.80.
-> No precompiled kernel interface was found to match your kernel; would you li
ke the installer to attempt to download a kernel interface for your kernel f
rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: Yes)
-> No matching precompiled kernel interface was found on the NVIDIA ftp site;
this means that the installer will need to compile a kernel interface for
your kernel.
ERROR: Unable to find the development tool cc in your path; please make sure
that you have the package ‘gcc’ installed. If gcc is installed on your
system, then please check that cc is in your PATH.
ERROR: Installation has failed. Please see the file
‘/var/log/nvidia-installer.log’ for details. You may find suggestions
on fixing installation problems in the README available on the Linux
driver download page at Welcome to NVIDIA - World Leader in Visual Computing Technologies.

You got this error because you are trying to install the driver from the script downloaded off the nvidia website. There is an nvidia repository from which the driver can be easily installed. See “easy way” here NVIDIA - openSUSE.

If you must install from the script instead (the “hard way” at the above link), you’ll need to install the kernel-source, gcc, and make packages so that the kernel module can be compiled (the easy way installs an already compiled driver).

Hi
You need to install the development tools and kernel-source, see the
second set of commands.

You may wish to ensure your system is up to date as well. The first
command refreshes the repositories, the second lists any updates, the
third will apply the updates.

 sudo zypper ref
sudo zypper lu
sudo zypper up

If you don’t have the kernel source and tools etc installed then;


sudo zypper in kernel-source linux-kernel-headers kernel-syms
sudo zypper in -t pattern devel_basis devel_C_C++

Any applications you have already installed, it will just skip.


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.16-0.1-default
up 10:04, 1 user, load average: 0.00, 0.04, 0.04
GPU GeForce 6600 TE/6200 TE - Driver Version: 177.80

Editorial note: duplicate thread deleted

when i try to run


sudo zypper in kernel-source linux-kernel-headers kernel-syms
sudo zypper in -t pattern devel_basis devel_C_C++

it replied me a question in a weird language… greek i thougt

newby explanation? ^^

try using YaST to install, bit easier for new-comers as it’s a graphical environment

Andy

yast? could you explain how to?

Go to suse menu/kmenu - system- YaST (Administrator settings ). Then, click on software management.In the search field,type gcc or whatever program you are after & then press enter. whatever software you want will be found. Or, click on software management,then, from the top-left drop-down menu,select patterns/package groups etc, & find the software that way

Andy