因為一些需求,所以我在 Ubuntu 下面安裝了 VMWare Player ,環境是 Ubuntu 10.10 (64 bit) 加上 VMWare Player 3.1.2 build-301548。
安裝進行到編譯 kernel module 的時候,出現了無法編譯的情況,出現「Unable to build kernel module – See log file /temp/vmware-root/setup-xxxx.log」。找了一下,發現這是 VMWare 本身的問題。
解法如下:
cd /tmp
wget http://www.sputnick-area.net/scripts/vmware7.1.1-patch-kernel-2.6.35.bash
chmod +x vmware7.1.1-patch-kernel-2.6.35.bash
./vmware7.1.1-patch-kernel-2.6.35.bash
sudo vmware-modconfig --console --install-all
看到命令列出現
Starting VMware services: VMware USB Arbitrator done Virtual machine monitor done Virtual machine communication interface done VM communication interface socket family done Blocking file system done Virtual ethernet done Shared Memory Available done
就表示完成了。
ref: Installing VMware Workstation 7.1.1 64 bit on Ubuntu 10.10
apt-get install make tar
解决类似问题,求解.
make tar 是基本功能,系統應該是沒裝好,建議重裝比較快。