nVidiaドライバインストール中(1)

nVidiaドライバインストール中に出たエラーとその対処法.

こんなエラーが出たら.

ERROR: The kernel header file '/usr/src/linux/kernel/include/linux/kernel.h' does not
         exist.  The most likely reason for this is that the kernel source path
         '/usr/src/linux/kernel' is incorrect.  Please make sure you have installed the
         kernel source files for your kernel and that they are properly configured; on
         Red Hat Linux systems, for example, be sure you have the 'kernel-source' RPM
         installed.  If you know the correct kernel source files are installed, you may
         specify the kernel source path with the '--kernel-source-path' command line
         option.

こうすればいい.

hashi> 2. /usr/src/linux/include/version.h, /usr/src/linux/include/modversions.h
hashi> が無ければ、/usr/src/linux
hashi> # make-kpkg configure
hashi> を実行する。

俺はパスが違うのかと思って色々指定してみたけど全然意味がなかった.