LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 723|回复: 3

在VMWare 下安装 VMWare Tools 的问题(Fedora 5 )。

[复制链接]
发表于 2009-5-17 10:56:21 | 显示全部楼层 |阅读模式
我是使用rpm安装包的,安装成功了(rpm -ivh VMwareTools-6.5.0-11816633.i386.rpm)。
接下来运行VMware的配置文件/usr/bin/vmware-config-tools.pl时,失败了。
提示为:
Stopping VMware Tools services in the virtual machine:
    Guest operating system daemon:                        [确定]
    Virtual Printing daemon:                                [确定]
None of the pre-built vmmemct1 modules for VMware Tools is suitable for your running kernel. Do you want this program to try to build the vmmemct1 module for your system(you need to have a C compiler installed on your system)?
[yes]y

Using compiler "/usr/bin/gcc". Use environment variable CC to override.

What is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include]

The path "/usr/src/linux/include" is not an existing directory.

我Linux版本为:2.6.15-1.2054_FC5,上网看到一些帖子说reboot一下,选择菜单会有两个选项,另一个为2.6.16-1.2080_FC5,可我的只有一个选项。
有人说是没有安装gcc导致的,请问具体怎么操作呢?
发表于 2009-5-17 18:10:57 | 显示全部楼层
安装程序需要编译一些东西,所以需要C程序头文件,但是目录/usr/src/linux/include是不存在的;你使用Live CD版安装的吗?

如果可以联网那就yum install gcc好了;
不能的话还是到光盘里找找吧。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-5-18 10:36:23 | 显示全部楼层
已经成功了,我找到安装光盘中的kernel-devel*.rpm,然后安装上去。指定路径的时候指定为对应的include路径就可以了。

谢谢提示哦。。
回复 支持 反对

使用道具 举报

发表于 2009-5-18 17:55:47 | 显示全部楼层
现在有没有新的vmware-tools版本可以直接用在RHEL5上?
也就是说有pre-built vmmemct1 modules的。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表