Content Entry

Linux 2.6.24 - VMware Server 1.0.5 安装问题

Published: 2008-05-02 Categories: Software Tags: Linux 2.6.24 VMware

Ubuntu 8.04 - Linux 2.6.24 内核版本太新, 最新的 VMware Server 1.0.5 无法正常安装, 需要 #116 补丁:

Step 1: 正常安装步骤
tar -xvzf VMware-server-1.0.5-80187.tar.gz
cd vmware-server-distrib
sudo ./vmware-install.pl

这里在编译内核时会失败,抛出一堆错误:
make[2]: *** [/tmp/vmware-config2/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config2/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-16-generic'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config2/vmmon-only'
Unable to build the vmmon module.

For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".

Execution aborted.

需要#116, 进入下一步.

Step 2: 应用 #116 补丁
下载地址
http://uruz.org/files/vmware-any-any-update-116.tgz
安装补丁
tar -xvzf vmware-any-any-update-116.tgz
cd vmware-any-any-update116
sudo ./runme.pl

Step 3: 重新执行 vmware-config.pl 安装
sudo /usr/bin/vmware-config.pl

如果遇到 **.so 版本错误,则
cd /usr/lib/vmware/lib
mv libpng12.so.0 libpng12.so.0.old
ln -sf /usr/lib/libpng12.so.0
mv libgcc_s.so.1 libgcc_s.so.1.old
ln -sf /lib/libgcc_s.so.1

再次 vmware-config.pl

DONE!

PS. 同样的方法也适应 VMware Workstation for Linux 2.6.24

Learn:
http://www.uruz.org/2008/03/21/vmware-workstation-and-linux-2624/
http://ubuntuforums.org/showthread.php?p=4825462#post4825462

comments loading