设为首页收藏本站language→→ 语言切换

鸿鹄论坛

 找回密码
 论坛注册

QQ登录

先注册再绑定QQ

查看: 1195|回复: 1
收起左侧

VM5.5.1安装TOOL出问题,求助

[复制链接]
发表于 2014-1-23 13:36:43 | 显示全部楼层 |阅读模式
我在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”。请帮忙解决,谢谢
发表于 2014-1-23 13:37:32 | 显示全部楼层
改version.h文件的内容,改成和核心一致就能通过了,但不保证后续稳定
沙发 2014-1-23 13:37:32 回复 收起回复
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-1-26 15:36 , Processed in 0.059992 second(s), 11 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表