- 积分
- 3
- 鸿鹄币
- 个
- 好评度
- 点
- 精华
- 注册时间
- 2014-1-23
- 最后登录
- 1970-1-1
- 阅读权限
- 10
- 听众
- 收听
网络小学徒
|
我在XP下安装了vmware, 版本是5.5.1 bulid-19175,然后又在虚拟机上安装了红帽子 AS 5.0
安装VMware Tool的步骤如下:
[root@localhost 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.1 build-19175 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]
……………………………………………… (省略号就是指“一顿回车”)
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]
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]
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] /lib/modules/2.6.18-8.el5xen/build/include
The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match
your running kernel (version 2.6.18-8.el5xen). Even if the module were to
compile successfully, it would not load into the running kernel.
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
在上面安装过程的最后的几行中(红色字部分)会出现这样的问题:“The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match your running kernel (version 2.6.18-8.el5xen) ……” ,这是怎么回事呢?怎么解决呢??
前提:我已经把红帽子 AS 5.0映像中关于kernel的rpm包都安装上了,具体是这几个:
kernel-2.6.18-8.el5.i686.rpm
kernel-devel-2.6.18-8.el5.i686.rpm
kernel-deader-2.6.18-8.el5.i386.rpm
kernel-PAE-2.6.18-8.el5.i686.rpm
kernel-PAE-devel-2.6.18-8.el5.i686.rpm
kernel-xen-2.6.18-8.el5.i686.rpm
kernel-xen-devel-2.6.18-8.el5.i686.rpm
按理说我已经把kernel都安装上了,应该能匹配上阿,可为什么出来这么一句奇怪的话:“version @@VMWARE@@ UTS_RELEASE”。请帮忙解决,谢谢 |
|