转载一篇解决vmware不支持新内核linux的问题

 

Since Ubuntu Hardy 8.04 is not supported yet by VMware, and not supported at all by latest VMware 6.0.2 and VMware server we need some tweaking to make it install.

1) download VMware-workstation-6.0.2-59824.i386.tar.gz (from http://www.vmware.com/download/ws/ )

2) unpack it and run ’sudo ./vmware-install.pl’ from the terminal inside the unpacked vmware-distrib directory. Follow the wizard and do not worry if when it runs vmware-config.pl you get the followig error:

/tmp/vmware-config3/vmmon-only/./include/compat_wait.h:60: error: conflicting types for ‘poll_initwait’

3) download vmware-any-any-updateNNN.tar.gz from the linked ftp directory and unpack it. This enables you to install VMware on non supported platforms. Nonetheless running ’sudo ./runme.pl’ from inside the unpacked folder will prompt you with another error due to changes in latest 2.6.24 kernel:

include/asm/bitops_32.h:9:2: error: #error only  can be included directly
make[2]: *** [/tmp/vmware-config2/vmmon-only/common/cpuid.o] Error 1
make[1]: *** [_module_/tmp/vmware-config2/vmmon-only] Error 2
make[1]: Leaving directory /`/usr/src/linux-headers-2.6.24-4-generic/'
make: *** [vmmon.ko] Error 2
make: Leaving directory /`/tmp/vmware-config2/vmmon-only/'
Unable to build the vmmon module.

4) unpack vmmon.tar ‘tar xf vmmon.tar’,
open vmmon-only/include/vcpuset.h and change the following line #include “asm/bitops.h” to #include “linux/bitops.h”
Open vmmon-only/include/iocontrols_compat.h and change VMMON_VERSION_V6 to 167
Open vmmon-only/include/iocontrols.h and change VMMON_VERSION to 167
Pack a new vmmon.tar ‘tar cf vmmon.tar vmmon-only/’ and then run ’sudo ./runme.pl’ again

For your convenience I have attached the patched patch here: vmware-any-any-update115

5) User Psilocibin reported when running the management console in VMware Server was getting errors about cairo versions.
The following fixed that
sudo cp /usr/lib/libpng12.so.0 /usr/lib/vmware/lib/libpng12.so.0/
sudo cp /lib/libgcc_s.so.1 /usr/lib/vmware/lib/libgcc_s.so.1/

该文的原地址是:http://aldeby.org/blog/?p=113

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值