在安装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

来配置一下就可以了。

引用地址:http://www.php-oa.com/2007/12/13/what-is-the-location-of-the-directory-of-c-header-files-that-match-your-running%e5%ae%89%e8%a3%85vmware-tools%e6%97%b6%e6%8f%90%e7%a4%ba-usrsrclinuxinclude%e6%89%be%e4%b8%8d%e5%88%b0%e5%a4%b4.html

要说点啥就在这吧