[root@linux-fedora vmware-tools-distrib]# ./vmware-install.pl
A previous installation of VMware software has been detected.
The previous installation was made by the tar installer (version 3).
Keeping the tar3 installer database format.
Uninstalling the tar installation of VMware Tools.
Stopping VMware Tools services in the virtual machine:
Guest operating system daemon: [确定]
The removal of VMware Tools 5.5.3 build-34685 for Linux completed successfully.
Thank you for having tried this software.
Installing the content of the package.
In which directory do you want to install the binary files?
[/usr/bin]
What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc/rc.d]
What is the directory that contains the init scripts?
[/etc/rc.d/init.d]
In which directory do you want to install the daemon files?
[/usr/sbin]
In which directory do you want to install the library files?
[/usr/lib/vmware-tools]
The path "/usr/lib/vmware-tools" does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
[yes] yes
In which directory do you want to install the documentation files?
[/usr/share/doc/vmware-tools]
The path "/usr/share/doc/vmware-tools" does not exist currently. This program
is going to create it, including needed parent directories. Is this what you
want? [yes] yes
The installation of VMware Tools 5.5.3 build-34685 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] yes
Stopping VMware Tools services in the virtual machine:
Guest operating system daemon: [确定]
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]
The path "/usr/src/linux/include" is not an existing directory.
rockliu 于 2008-10-15 09:06:07发表:
我也是遇到的同样的问题,google了一下,很多人都是这样的。
解决的办法是:按楼上所说的yum install kernel-devel-`uname -r`(把`uname -r`替换成你的内核版本,注意`不是单引号),然后到
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
这一步就可以自动认出来需要的目录了。
昨天刚装成功的。
asmboy001 于 2008-07-23 18:14:58发表:
yum install kernel-devel装上就ok了
meinv911 于 2008-07-23 10:48:52发表:
http://www.51testing.com/?128005/action_viewspace_itemid_83541.html
请恕小弟愚笨,刚刚接触linux,不太懂。。我是按照这个帖子来安装的第一种方法来安装的,执行到第五步一路回车时出现了上述问题。
楼上DX指导的方法第一步我做了,但第二步我的/tmp下没有vm文件,无法执行。。。
Febole 于 2008-07-23 10:30:17发表:
1. 删除etc/vmware-tools目录
rm -rf vmware-tools
2. 删除/tmp/vm* 注意不要把 VMwa*的也删除了
rm -rf vm*
然后重复执行 tar -zxvf VMwareTools* 重复正常操作 OK