主题 : 请教各位老大在装vmware tools时出现的问题 复制链接 | 浏览器收藏 | 打印
Linux
级别: 新手上路
UID: 7294
精华: 0
发帖: 4
金钱: 40 两
威望: 40 点
综合积分: 8 分
注册时间: 2009-07-09
最后登录: 2010-01-03
楼主  发表于: 2009-08-18 23:31

 请教各位老大在装vmware tools时出现的问题

各位老大在装vmware tools时出现问题:

先前已经按照网上的一些步骤,一步步按ENTER出现下面的提示:
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]   ; 在这里我直接按下ENTER,然后出现下一步:
Using compiler "/usr/bin/gcc". Use enviroment variable  CC to override.
this is the location of the direction of C header files that match your running kernel ? [ /usr/src/linux/include] ; 在这里我按下ENTER,出现提示说:
The path "/usr/src/linux/include" is not an exiting directory . 我另外重新打开一个窗口查找到 /usr/src/目录下,发现确实没有linux目录,只有一个redhat目录。这是为什么?

我参考网上的vmware tools安装步骤如下:
{
第一步:打开虚拟机 点vm-----install vmtools

第二步:配置共享文件夹 vm-----settings--options 双击shared folders,在旁边添加文件夹,并选择always enable

第三步:开始虚拟机Linux

  在终端键入一下命令
    mkdir /mnt/cdrom
        mount /dev/cdrom /mnt/cdrom
  cp /mnt/cdrom/VMwareTools-6.0.0-45731.tar.gz /tmp

  cd /tmp

  tar xzvf VMwareTools-6.0.0-45731.tar.gz

  cd vmware-tools-distrib

  ./vmware-install.pl

  一路回车,等看到Enjoy Vmtools,成功。
}
一步步下来就出现先前的问题。一直没看到Enjoy Vmtools。郁闷,搞了三天了。网上查了很多,都是像上面的通用步骤,没有涉及具体细节,都是一些成功案例。

是不是redhat版本和vmware版本有不兼容问题?
我的redhat9是在ARM9之家-mini2440 下载中心下的 Fedora-9-i386-DVD.iso . vmware 用的是mini2440光盘中的vmware 6.5 .
请教版主和各位老大。。。不知如何解决了
谢谢了




彷徨的路上
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2009-08-19 09:55
完整安装Vmware Tools需要内核源代码(通常在/usr/src/linux目录下)。在RedHat 9上可以通过"Add/Remove Applications"安装(在Kernel Development下面的Kernel source code)
参考http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/custom-guide/ch-graphical-rpm.html#S1-GRAPHICAL-RPM-INSTALLING
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."