What is the location of the directory of C header files that match your running kernel?
The path "" is not valid.
Would you like to change it? [yes]这里显示找不到C head files 问题,于是安装停止不前。这时再打开一个终端,用命令rpm -qa | grep kernel 查看,再用uname -r 查看内核版本。
会发现少了kernel-dev- 的文件(注:我的已经装好),只是时候,有两个方法可以解决这个问题:
1 。使用yum(网络安装)(保证网络已经连上)----推荐使用此方法。
[root@tom~]# yum install kernel-devel
2。 下载安装包(手动安装)
登录:
http://rpmfind.net/linux/rpm2html/search.php?query=kernel-devel
找到自己系统相应的 kernel-devel 下载安装
再次配置VMware的时候
What is the location of the directory of C header files that match your running kernel? [/usr/src/kernels/2.6.25-14.fc9.i686/include](注:此为添加路径)
再回车安装好后,再 reboot 重启。