最近给几位新同学装了几次 nvidia 驱动,问题大都集中在 缺少 gcc和 缺少 kernel-devel,记录一下:
ERROR: Unable to find the development tool
ccin your path; please make sure that you have the package ‘gcc’ installed. If gcc is installed on your system, then please check thatccis in your PATH.解决方法:
yum install gccERROR: 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.
解决方法:
yum install kernel-devel
版权声明:本文为weixin_42252533原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。