[问题]关于VMware Tools安装问题!!!!

Kvm、VMware、Virtualbox、Xen、Qemu 等
回复
keendawn
帖子: 16
注册时间: 2007-07-02 21:48
送出感谢: 0
接收感谢: 0

[问题]关于VMware Tools安装问题!!!!

#1

帖子 keendawn » 2007-07-02 22:10

VMware Tools安装完后,提示要运行/usr/bin/vmware-config-tools.pl,
........
The installation of VMware Tools 5.5.1 build-19175 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".

Before running VMware Tools for the first time, you need to configure it by
invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want
this program to invoke the command for you now? [yes] n

Enjoy,

--the VMware team


运行如下,就产生如下的错误,



dl@dllpqh:/usr/bin$ sudo ./vmware-config-tools.pl

Stopping VMware Tools services in the virtual machine:
Guest operating system daemon: done
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] n

The filesystem driver (vmhgfs module) is used only for the shared folder
feature. The rest of the software provided by VMware Tools is designed to work
independently of this feature.
If you wish to have the shared folders feature, you can install the driver by
running vmware-config-tools.pl again after making sure that gcc, binutils, make
and the kernel sources for your running kernel are installed on your machine.
These packages are available on your distribution's installation CD.
[ Press Enter key to continue ]

pcnet32 30084 0
Unloading pcnet32 module

Trying to find a suitable vmxnet module for your running kernel.

None of the pre-built vmxnet modules for VMware Tools is suitable for your
running kernel. Do you want this program to try to build the vmxnet 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.

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



What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]这里怎么也过不去。


我看了一下/usr/src下是空的了!
请问这是怎么回事,要如何解决?
ausun
帖子: 65
注册时间: 2007-05-11 9:21
送出感谢: 0
接收感谢: 0

#2

帖子 ausun » 2007-07-03 10:18

用 uname -r 看看当前的内核版本,然后用apt-get或者新立得安装相应的 linux-headers 就可以了
keendawn
帖子: 16
注册时间: 2007-07-02 21:48
送出感谢: 0
接收感谢: 0

#3

帖子 keendawn » 2007-07-03 22:42

:lol: 谢谢楼上的老兄!

问题已经解决!!
回复

回到 “虚拟机和虚拟化”