I’ve spent a lot of time to make it work finally.
What do I have?
VMWare Server 2.0.1 built 156745
Ubuntu Desktop x64 Version 9.10 (just upgraded from 9.04) Karmic Koala
Now what happened?
You cannot install the VMWare Server. Even with the right kernel source, the installation script fails. It seems there was a major change at kernel 2.6.29 at which all after kernels were unstable to run the VMWare server.
Searching the net, found a patch (http://communities.vmware.com/thread/215985). However, although the forum clearly mentioned it should work, however, it didn’t.
when running the command:
I got the error:
./vmware-server.2.0.1_x64-modules-22.214.171.124-fix.sh: command not found
so I tried:
sudo bash ./vmware-server.2.0.1_x64-modules-126.96.36.199-fix.sh
hoping it will till the shell how to execute the script, but again failed with the following error:
./vmware-server.2.0.1_x64-modules-188.8.131.52-fix.sh: line 30: syntax error near unexpected token `do
‘/vmware-server.2.0.1_x64-modules-184.108.40.206-fix.sh: line 30: `do
SO!! What’s wrong?
Okay this script is NOT executable! Is that so? Fine then, I’ve made it so:
sudo chmod 755 vmware-server.2.0.1_x64-modules-220.127.116.11-fix.sh
But again the same error of line 30!!!!!!!!!!!!!
Dam it, there is nothing wrong with the code, it looks just fine. Finally, after long search away form the VMWare issues I got the following tip (thanks for the nice guys in here: http://unix.derkeiler.com/Newsgroups/comp.unix.shell/2007-04/msg00386.html ) and that fixed my problem.
sudo dos2unix vmware-server.2.0.1_x64-modules-18.104.22.168-fix.sh
just went fine. Finally running the main command:
Although I got a hell of warnings and errors, but non of it was a major and things went fine finally. Yes, yes, yes and VMWare server running just fine on my Ubuntu Linux Kernel 2.6.31-10-generic
I hope someone would save some days (or even hours) and not waste as much time as I did.
Good luck everyone, and big thanks for VMWare for their support for the open community.