LinuxSir.cn,穿越时空的Linuxsir!

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

终于在FC5上安装好了VMtools

[复制链接]
发表于 2006-4-6 12:54:26 | 显示全部楼层 |阅读模式
VMware版本5。5。1,宿主机系统Winxp P CN SP2,在安装VMtools前,先按照以下步骤做,就可以正常了,我这个菜鸟8是很明白,希望有大虾能帮助解释一下。为什么要改这个
在VM5上安装完FC 5后,安装VMTools,就会出现:
[root@C640FC5]# .vmware-config-tools.pl

Stopping VMware Tools services in the virtual machine:
Guest operating system daemon: [OK]
Trying to find a suitable vmhgfs module for your running kernel.

None of the pre-built vmhgfs modules for VMware Tools is suitable for your
running kernel. Do you want this program to try to build the vmhgfs module for
your system (you need to have a C compiler installed on your system)? [yes]

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] /usr/src/kernels/2.6.15-1.2054_FC5-i686/include

The kernel defined by this directory of header files does not have the same
address space size as your running kernel.


What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
解决办法:
按照以下步骤操作完毕后,VMtools就可以安装了。

Hello there, I don't know if my post will help some outta there, this is just a resume thread wich I have compute with the various patch I had to apply to fully install VMware Tools on the fresh FC5.

1) make sure you have the corresponding sources of your kernel shown by uname -r (or yum install kernel-devel)

2) if you run ./vmware-config-tools.pl for the first time, the config won't find a suitable kernel path.

3) download http://ftp.cvut.cz/vmware/vmware-any-any-update99.tar.gz
extract it

4) download http://ftp.cvut.cz/vmware/vmware-tools-any-update1.tar.gz
extract it in the previously created vmware-any-any-update99 folder to overwrite the file runme.pl

5) after this changes, run the new "vmware-any-any-update99/runme.pl"

6) if you run now again vmware-config-tools, it should now detects fine your kernel source path

7) but after I came across another problem "No X install found", I googled around and found out that was because the vmware-config-tools.pl doenst detects newer X version 7

8) You will need to update manually vmware-config-tools.pl manually, below are the manual code changes to apply or read in this mirrored txt including the changes to do if the forum strip some code parts (patch is from this commun
ity from an ubuntu problem thread):

http://heapoverflow.com/vmware-config-tools.txt
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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