I know how you're feeling I'm knew to linux and it was driving me crazy not able to get VMware 7.1.4/7.1.5 installed on Opensuse 12.1. Here is a script that might help you, it's not fancy but it works, this was combine from three websites/blog (blog mention above). Just copy and paste in Gedit, save as <filename>.sh. Make sure you run it as su (Super User). This is for VMware 7.1.4/7.1.5 using kernel 3.1.x. You would want to install the prerequsites first before you attempt to install VMware 7.1.4/7.1.5. If your having issues I would suggest you start over, uninstall VMware 7.1.4/7.1.5 and run the script below. When asked to install VMware 7.1.4/7.1.5 use su to install VMware. Good Luck ;). Wish this message will self-distruct in 10 sec. >:(
uninstalling example:
cd /usr/lib
vmware-installer -list
Product Name Product Version
====================== ====================
vmware-workstation 7.1.5.491717
vmware-installer -u vmware-workstation
script:
#!/bin/bash
# init
function pause(){
read -p "$*"
}
clear
zypper install gcc
zypper install make
zypper install kernel-source
zypper install kernel-syms
zypper install linux-glibc-devel
zypper install linux-kernel-headers
echo
echo
echo "/////////////////////////////////////////////////////////////////////////////"
echo
echo "Please verify if you have the follow prerequsites listed below installed
before going any further. (scroll up and verify)"
echo
echo
echo "gcc"
echo "make"
echo "kernel-source"
echo "kernel-syms"
echo "linux-glibc-devel or linux-kernel-headers"
echo
echo
echo "//////////////////////////////////////////////////////////////////////////////"
echo
pause 'Press [Enter] to proceed.'
clear
echo "//////////////////////////////////////////////////////////////////////////////"
echo
echo "Open another shell (shift+ctrl+t) and install VMware 7.1.4/7.1.5."
echo
echo "////////////////////////////////////////////////////////////////////////////"
echo
pause 'Press [Enter] only if you have VMware 7.1.4/7.1.5 installed and your going crazy cause it will not compile the way it should.'
clear
echo "Creating tmp folders to patch files."
mkdir /tmp/vmware && cd /tmp/vmware
cp -R /usr/lib/vmware/modules/source/ .
cd /tmp/vmware/source
echo "Download Patch from
Weltall's Blog. (full patch for vmware workstation on linux 3.1.0)."
wget
http://weltall.heliohost.org/wordpre...10patch.tar.gz
sleep 5
echo "Extracting Downloaded Patch file."
tar -zxvf fullvmwarelinux310patch.tar.gz
echo "Extracting .tar files to patch"
for i in ./*.tar; do tar -xf $i; done
echo "Backing up orginals files with ext 'orginal'"
for i in ./*.tar; do mv $i $i.orginal; done
echo "Patching files."
patch -t -f -p1 </tmp/vmware/source/vmware3.1.0.patch
echo "Packaging required files to install vmware 7.1.4/7.1.5."
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/
echo "Attemping to compile Vmware Workstation 7.1.4/7.1.5."
vmware-modconfig --console --install-all
vmware
echo "Clearing tmp files."
rm -rf /tmp/vmware