在XP下为Vmware运行的Ubuntu server10.10安装vmware tools时,遇到的一些问题

编程技术  /  houtizong 发布于 3年前   89
打开光盘目录,解压tools的压缩包文件
进入目录运行命令
sudo ./vmware-install.pl

一路回车

出现的问题一

The path "/usr/src/linux/include" is not an existing directory.What is the location of the directory of C header files that match your runningkernel? [/usr/src/linux/include] 


指定到特定的目录
/usr/src/linux-headers-2.6.35-28-generic-pae/include


出现问题二
The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not matchyour running kernel (version 2.6.35-28-generic-pae).  Even if the module were to compile successfully, it would not load into the running kernel.


解决
在目录
/usr/src/linux-headers-2.6.35-28-generic-pae/include/linux
下面有一个version.h 的文件,打开内容是
#define LINUX_VERSION_CODE 132643#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))

将下面的文字加到此文件的第一行
#define UTS_RELEASE "2.6.35-28-generic-pae"


其中"2.6.35-28-generic-pae"这个是通过命令
uname -r 
查到的

这个文件修改完成之后,出现了新的错误提示

出现问题三

The path "/usr/src/linux-headers-2.6.35-28-generic-pae/include" is a kernel header file directory, but it does not contain the file "linux/autoconf.h" as expected.  This can happen if the kernel has never been built, or if you have invoked the "make mrproper" command in your kernel directory.  In any case, youmay want to rebuild your kernel.


解决:

把文件夹/usr/src/linux-headers-2.6.35-28-generic-pae/include/generated下的autoconf.h
文件复制到/usr/src/linux-headers-2.6.35-28-generic-pae/include/linux这个目录下面


在继续运行出现的新的错误
一路回车,错误循环出现

问题四

If you would like the host to guest drag and drop and file copy/paste features, you can install the driver by running vmware-config-tools.pl again after making sure that gcc, binutils, make and the kernel sources for your running kernel  are installed on your machine. These packages are available on your  distribution's installation CD.


其实当运行到下面的时候选择no就可以顺利通过了
None of the pre-built vmci modules for VMware Tools is suitable for your running kernel.  Do you want this program to try to build the vmci module for your system (you need to have a C compiler installed on your system)? [yes][color=red] n[/color]

这里选择n就可以了

它跳过了
Detected X.org version 7.8.0.
No drivers for X.org version: 7.8.0.
Skipping X configuration because X drivers are not included.
这个东西的配置,但是其他的都配置好了

终于出现了,拭目以待的这个玩意
The configuration of VMware Tools 7.8.5 build-156735 for Linux for this runningkernel completed successfully.You must restart your X session before any mouse or graphics changes take effect.You can now run VMware Tools by invoking the following command: "/usr/bin/vmware-toolbox" during an X server session.To enable advanced X features (e.g., guest resolution fit, drag and drop, and file and text copy/paste), you will need to do one (or more) of the following:1. Manually start /usr/bin/vmware-user2. Log out and log back into your desktop session; and,3. Restart your X session.If the virtual printer feature is enabled, you will need to restart the CUPS service to make use of this feature.Enjoy,--the VMware team


虽然还是有一点瑕疵,但是最终还是解决的这个问题

后来听说vMware7 解决了这个问题,不过这个过程也算是增长了不少知识

http://blog.csdn.net/yzhuqing/article/details/5962312
引用

请勿发布不友善或者负能量的内容。与人为善,比聪明更重要!

留言需要登陆哦

技术博客集 - 网站简介:
前后端技术:
后端基于Hyperf2.1框架开发,前端使用Bootstrap可视化布局系统生成

网站主要作用:
1.编程技术分享及讨论交流,内置聊天系统;
2.测试交流框架问题,比如:Hyperf、Laravel、TP、beego;
3.本站数据是基于大数据采集等爬虫技术为基础助力分享知识,如有侵权请发邮件到站长邮箱,站长会尽快处理;
4.站长邮箱:[email protected];

      订阅博客周刊 去订阅

文章归档

文章标签

友情链接

Auther ·HouTiZong
侯体宗的博客
© 2020 zongscan.com
版权所有ICP证 : 粤ICP备20027696号
PHP交流群 也可以扫右边的二维码
侯体宗的博客