Fedora 更新后,VMware启动会提示编译内核模块 kernel headers for versions ... not found:
安装kernel-devel:
yum install kernel-devel
重新启动VMware,提示编译内核模块 Before you can run VMware, several modules must be compiled and ...:
编译出错:
定位到 /tmp/vmware-root/vmware-modconfig-29126.log
# Error message is something like:
# 3.3-201.fc20.x86_64/build/include CC=/bin/gcc IS_GCC_3=no"
# 2014-02-19T08:39:06.035+10:00| vthread-3| W110: Failed to build vmnet. Failed to execute the build command.
解决方法:
https://fedoraproject.org/wiki/VMWare
“On 3.13 kernel vmnet fails to build”
$ curl http://pastie.org/pastes/8672356/download -o /tmp/vmware-netfilter.patch
$ cd /usr/lib/vmware/modules/source
# tar -xvf vmnet.tar
# patch -p0 -i /tmp/vmware-netfilter.patch
# tar -cf vmnet.tar vmnet-only
# rm -rf vmnet-only
# vmware-modconfig --console --install-all
如果http://pastie.org/pastes/8672356/download无法访问,可以到https://aur.archlinux.org/packages/vmware-patch/?setlang=hr 点右边”Download tarball“下载
解压得到的netfilter-10.0.1-6.0.1-10.0.0-6.0.0-3.13.patch可替代上面的vmware-netfilter.patch
到此, VMware Workstation可以正常启动了