安裝時會發生 build error, 以下的步驟可以解決,
sudo -i
mkdir /tmp/vmware ; cd /tmp/vmware
cp -R /usr/lib/vmware/modules/source/ /tmp/vmware
cd /tmp/vmware/source
wget http://weltall.heliohost.org/wordpress/wp-content/uploads/2011/05/vmware2.6.39patchv3.tar.bz2
已防萬一我複製了一份
wget http://dl.dropbox.com/u/2818343/vmware2.6.39patchv3.tar.bz2
tar -jxvf vmware2.6.39patchv3.tar.bz2
for i in ./*.tar; do tar -xf $i; done
for i in ./*.tar; do mv $i $i.orginal; done
patch -t -f -p1 < vmware2.6.39fixedv3.patch
tar cf vmblock.tar vmblock-only
tar cf vmci.tar vmci-only
tar cf vmmon.tar vmmon-only
tar cf vmnet.tar vmnet-only
tar cf vsock.tar vsock-only
cp -vf *.tar /usr/lib/vmware/modules/source/
Done!
ref. http://ved-antani.com/2011/10/vmplayer-not-compiling-for-latest-linux-kernel/
沒有留言:
張貼留言