|
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 |
|