ERROR : Unable to find the kernel source tree for the currently running kernel...

Posted by 겨울에
2011. 2. 6. 23:21 scrap/ Error


Linux nvidia 그래픽 드라이버 설치 중 error..

ERROR: Unable to find the kernel source tree for the currently running kernel. 
       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' or 'kernel-devel' 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.

vi /etc/inittab에서 부트모드를 5에서 3으로 변경후 reboot

해결.
1. yum install kernel-devel
2. yum install gcc* compat-gcc* compat-glibc* compat-lib*
3. yum update
4. reboot