linux下安装VMware tools

来源:百度知道 编辑:UC知道 时间:2024/06/22 10:35:50
我在linux下安装VMware tools,出现如下问题请高手指教!
[root@localhost ~]# 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] 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/include
目录下面.

先安装当前内核的kernel-devel,安装源里面的这个包。
安装好以后在这里就可以直接回车了,因为安装到了默认位置。

如果你把对应你的内核的kernel-devel手工装到了其他位置,在这里输入kernel-devel安装的地方就行了。

回车