Takze nasel jsem reseni na Ubuntu forums :
http://ubuntuforums.org/showthread.php?t=770873&highlight=vmware+08.04 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.
sudo apt-get install build-essential linux-headers-`uname -r`
sudo apt-get install xinetd
for 64bit installs also install the ia32-libs
sudo apt-get install ia32-libs
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.
next download vmware server and expand it out somewhere
Code:
tar -xvzf VMware-server-1.0.5-80187.tar.gz
then do the install
cd vmware-server-distrib
sudo ./vmware-install.pl
Answer the questions, the defaults are fine. Eventually it will start compiling and fail.
grab the any to any patch 116 from
http://uruz.org/files/vmware-any-any-update-116.tgz
wget 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
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)
sudo vmware-config.pl
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.
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
(I found this tip online as well but now I can not find the link.)
if you get an error like this at the end of the compile step:
Unable to get the last modification timestamp of the destination file
/etc/vmware/ssl/rui.key.
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.)
sudo touch /etc/vmware/ssl/rui.key
sudo touch /etc/vmware/ssl/rui.crt
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.
EDIT 28 Apr 2008: Removed the rewriting of the libgtk2.0-0.loaders file since the incorrect lines were corrected around Hardy final.
Last edited by Kokopelli; 3 Hours Ago at 11:18 AM.
Muj problem to vyresilo!!