-
2008-10-24
vmware6.0安装ubuntu 8.04的问题 - [软件与系统]
版权声明:转载时请以超链接形式标明文章原始出处和作者信息及本声明
http://feizf.blogbus.com/logs/30566154.html
1. 在安装vmware工具包时遇到问题:
/tmp/vmware-config18/vmmemctl-only/compat_wait.h:37:5: warning: "VMW_HAVE_EPOLL" is not defined
/tmp/vmware-config18/vmmemctl-only/compat_wait.h:43:5: warning: "VMW_HAVE_EPOLL" is not defined
In file included from /tmp/vmware-config18/vmmemctl-only/os.c:40:
/tmp/vmware-config18/vmmemctl-only/compat_wait.h:60: error: conflicting types for ‘poll_initwait’
include/linux/poll.h:65: error: previous declaration of ‘poll_initwait’ was here
make[2]: *** [/tmp/vmware-config18/vmmemctl-only/os.o] Error 1
make[1]: *** _module_/tmp/vmware-config18/vmmemctl-only Error 2
make: *** http://vmmemctl.ko Error 2
make: Leaving directory `/tmp/vmware-config18/vmmemctl-only'
Unable to build the vmmemctl module.解决办法:
从下面网址下载open-vm-tools: http://jaist.dl.sourceforge.net/sourceforge/open-vm-tools/open-vm-tools-2008.05.02-90473.tar.gz
然后解压该文件,进入modules/linux目录,将vmxnet重命名为vmxnet-only,其他也改为如对应的xxx-only,分别执行tar -cf xxx.tar xxx-only;
再将所有xxx.tar 都复制到 /usr/lib/vmware-tools/modules/source,替换原来的文件,然后继续编译。
2. 关于鼠标滑轮在vmware内不能使用问题解决办法:在/etc/X11 目录下的xorg.conf文件有如下内容:
原文件对应内容
Section "InputDevice"
Identifier "Configured Mouse"
Driver "vmmouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
现在需要将其修改成:
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "CorePointer"
Option "Device" "/dev/input/mice"参考文章:
1. http://www.linuxdiyf.com/viewarticle.php?id=90904
2. http://www.linuxeden.com/forum/viewthread.php?tid=163175随机文章:
Ubuntu 9.04 -- how many days to go 2009-04-11编写bash脚本提高工作效率 2008-12-31Linux与windows远端桌面连接 2008-11-29human-theme_0.14_all.deb on ubuntu 8.04 2008-11-19shellcode /bin/sh 2008-11-16
收藏到:Del.icio.us
引用地址:







