blog » linux常用技巧 » 安装vmware tools时提示 /usr/src/linux/include找不到头文件的处理方法

安装vmware tools时提示 /usr/src/linux/include找不到头文件的处理方法

在安装vmware tools时 提示 /usr/src/linux/include找不到头文件

What is the location of the directory of C header files that match your running
我不明白为什么这么多文章讲要打这个补丁,那个补丁,还要下载这个文件,那个文件的。其实很容易处理.

用yum安装下面几个包就好了.

# yum -y install gcc gcc-c++ kernel-devel

这样执行的话会生成最简单的编译环境。

然后在vmware和tools中在译编译一次就好了。

另外给大家讲讲centos5中用rpm安装vmware tools的方法

#rpm vmware-tools******.rpm

这个都会吧.

然后运行

#vmware-config-tools.pl

来配置一下就可以了。

RSS 2.0 | leave a response | trackback

17fav 收藏本文

Leave a Reply

收藏 & 分享

Powered by 17fav.com