Installing VMWare Server in Hardy
This is a cleaned up copy of the instructions for installing the VMWare Server from tar.gz found at http://ubuntuforums.org/showthread.php?t=613976 with a correction thanks to forrestallen. Since the Hardy Beta forums are now locked I thought it might be best to make a copy here to allow further discussion if needed.
First install the packages needed by vmware.
for 64bit installs also install the ia32-libs
sudo apt-get install build-essential linux-headers-`uname -r`
sudo apt-get install xinetd
Additionally I recommend installing the linux-header metapackage appropriate to your kernel. "sudo apt-get install linux-headers-generic" for desktops in the standard kernel and "sudo apt-get install linux-headers-server" for server installs. This makes it easier down the road, automatically pulling down the headers if the kernel gets updated.
sudo apt-get install ia32-libs
next download vmware server and expand it out somewhere
then do the install
tar -xvzf VMware-server-1.0.5-80187.tar.gz
Answer the questions, the defaults are fine. Eventually it will start compiling and fail.
grab the any to any patch 116 from
Finally you can configure vmware server (note this usually will be run automatically at the end of the any-any patch, no need to run it twice)
tar -xvzf vmware-any-any-update-116.tgz
answer all the questions and it should compile fine.
once installed I received an error trying to launch vmware so I cheated and copied the libraries over, which seems to have resolved that issue.
(I found this tip online as well but now I can not find the link.)
sudo ln -sf /lib/libgcc_s.so.1 /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1
sudo ln -sf /usr/lib/libpng12.so.0 /usr/lib/vmware/lib/libpng12.so.0/libpng12.so.0
For 64 bit users there is one additional step in order to allow vmware console to launch:
the solution came from https://bugs.launchpad.net/ubuntu/+s...bs/+bug/177869 however I had to change libgdk_pixbuf-2.0.so.0.1200.3 to libgdk_pixbuf-2.0.so.0.1200.9.
sudo ln -s /usr/lib32 /usr/l32
sudo sed -i -e 's/usr\/lib/usr\/l32/g' /usr/lib32/gtk-2.0/2.10.0/loader-files.d/libgtk2.0-0.loaders
sudo sed -i -e 's/usr\/lib/usr\/l32/g' /usr/lib32/libgdk_pixbuf-2.0.so.0.1200.9
if you get an error like this at the end of the compile step:
then create the key and cert files for vmware. (I think, though I am not certain, this came up because I had not yet installed the ia32-libs on my 64-bit machine prior to doing the initial install.)
Unable to get the last modification timestamp of the destination file
Also note that I had a number of issues on one upgraded machine where I was using the partner repositories debs prior to the upgrade. I would recommend backing up your VMs and then removing the VMWare install completely prior to upgrading.
sudo touch /etc/vmware/ssl/rui.key
sudo touch /etc/vmware/ssl/rui.crt
Let us know how you are doing.