您的位置:首页 > 运维架构 > Linux

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

2010-03-28 20:53 816 查看
转载自:扶凯[http://www.php-oa.com]

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

来配置一下就可以了。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  vmware tools centos header gcc c
相关文章推荐