Home > virtualization > Install VMware Server 1.0.6 on Ubuntu 8.04 “Hardy”

Install VMware Server 1.0.6 on Ubuntu 8.04 “Hardy”

Today I needed to setup a couple of virtual machines for a client and realized that I had removed my installation of VMware Server.  Off I went to the VMware download page and what did I find?  A day-old release of VMware Server 1.0.6!  I figured you’d all appreciate an updated blog post on how to install VMware Server 1.0.6 on Ubuntu 8.04, so here we are.  (This is much simpler than the previous post, How To Install VMware Server 1.0.5 on Ubuntu 8.04)

Downloading the Requirements

The first step, of course, is to download VMware Server 1.0.6. You’ll want to download the .tar.gz version.  This command can be used for a direct download:

wget -c http://download3.vmware.com/software/vmserver/VMware-server-1.0.6-91891.tar.gz

The second step is to install some development tools that we’ll need to get things running. Use the following command or click the package names to install the requirements:

sudo aptitude install build-essential linux-kernel-devel linux-headers-generic xinetd

You will also need to generate a serial number to run VMware Server. Visit this link to register and generate the number of codes you might want. Remember to print the codes or write them down because in my experience they are not emailed to you.

OK, at this point we should have all of the requirements, now we can get to work…

Installation and Configuration

Let’s unpack the VMware archive that we downloaded and run the VMware installer.

tar xf VMware-server-1.0.6-*.tar.gz
cd vmware-server-distrib
sudo ./vmware-install.pl

The Last Step

If you attempt to run vmware at this point you might notice that it spits out some nasty errors and complains at you. There is one more thing we need to setup.

Basically VMware is missing and complaining about some cairo libraries and gcc. So, the simple fix for this is to point to them by using a symbolic link:

sudo ln -sf /usr/lib/gcc/i486-linux-gnu/4.2.3/libgcc_s.so /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

At this point you should be able to launch vmware and enjoy some virtualization goodness.  Enjoy!

Categories: virtualization Tags: , ,
  1. May 30th, 2008 at 22:18 | #1

    Outstanding post — exactly what I needed. Thanks for doing the legwork.

  2. Roger Binns
    May 30th, 2008 at 22:45 | #2

    I finally got annoyed with VMWare Server only being available in the Ubuntu partner repository many months after each release that I switched to Virtual Box. The only downside is that bridged networking is more of a pain to setup but other functionality is nice or even better than VMWare.

    Doing manual installs results in untracked detritus spewed all over your filesystem which can build up over time.

  3. May 31st, 2008 at 01:32 | #3

    Great tutorial – I actually needed this yesterday, you missed me by 12 hours, but it looks spot on and I know its here for next time :)

  4. Timucin Kizilay
    May 31st, 2008 at 01:51 | #4

    I’m using vmware-server 1.04 on my ubuntu 6.06 production server. Should I upgrade? Is there a big reason to upgrade?

  5. May 31st, 2008 at 05:38 | #5

    Hi, thanks to your post. I’m so frustated that i want to downgrade my ubuntu back to the old gutsy. Guess i’m gonna check your website regularly for some new tutorials!

    ^_^v
    Shadowbane

  6. michele
    May 31st, 2008 at 10:45 | #6

    None of the pre-built vmmon modules for VMware Server is suitable for your
    running kernel. Do you want this program to try to build the vmmon module for
    your system (you need to have a C compiler installed on your system)? [yes]

    Using compiler “/usr/bin/gcc”. Use environment variable CC to override.

    Your kernel was built with “gcc” version “4.1.3″, while you are trying to use
    “/usr/bin/gcc” version “4.2.3″. This configuration is not recommended and
    VMware Server may crash if you’ll continue. Please try to use exactly same
    compiler as one used for building your kernel. Do you want to go with compiler
    “/usr/bin/gcc” version “4.2.3″ anyway? [no]

    For more information on how to troubleshoot module-related problems, please
    visit our Web site at “http://www.vmware.com/download/modules/modules.html” and
    “http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html”.

    Execution aborted.
    we can help me?thanks

  7. Joe
    May 31st, 2008 at 11:19 | #7

    thanks – it works! I have been trying for a long time to get bridged networking to work and think I have tried every tutorial on the internet – none work for me. NAT does work well.

    I run Hardy on amd64. Any thoughts?

  8. Jose Luis
    June 1st, 2008 at 10:44 | #8

    Thank you very much for the excelent note

  9. June 2nd, 2008 at 03:28 | #9

    Great tut’s as always. Enjoyable too.

  10. michele
    June 2nd, 2008 at 13:41 | #10

    resolved!!!! thank yuo very much for your instructions,michele

  11. Johnathan
    June 2nd, 2008 at 19:25 | #11

    Thanks for the help! Worked perfectly!

    John

  12. wangqiang
    June 3rd, 2008 at 00:14 | #12

    How can i install vmware server1.0.6 on ubuntu8.04 server? Thank you!

  13. daniel
    June 3rd, 2008 at 03:37 | #13

    hi. i installed 1.0.6 exactly the way on this page. it installed ok. but when i execute it, it comes up with starting vmware and then it never actually open the console.

    PLS HELPPPPPPPPPPPP

  14. Jacob
    June 4th, 2008 at 19:09 | #14

    Awesome, thank you.

  15. June 4th, 2008 at 20:03 | #15

    Excellent post man! Actually, I also stumbled on the new version of vmware server the other day but just didn’t have the beans to install it properly (the error messages!)

    Thanks a lot!

    George

  16. sean
    June 5th, 2008 at 10:24 | #16

    I had to add another step to get this to work.

    BEFORE running sudo ./vmware-install.pl

    run this

    sudo apt-get install linux-headers-`uname -r`

  17. June 5th, 2008 at 10:26 | #17

    @sean linux-headers is included in my steps above. I refer to linux-headers-generic, which is a meta package and will be updated automagically upon other kernel updates. I guess you missed it?

  18. sean
    June 5th, 2008 at 10:38 | #18

    No, I ran everything step by step down the line, but for some reason, my install kept returning this line:

    what is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include]

    once I ran the linux headers this way, it went on through with the install.

  19. sean
    June 5th, 2008 at 10:46 | #19

    I think I figured it out. We are not running the generic header, and that is why it did not work for me.

    I reran it like this, and it also worked.

    sudo aptitude install build-essential linux-kernel-devel linux-headers-`uname -r` xinetd

  20. RavonTUS
    June 6th, 2008 at 07:01 | #20

    Greetings,

    I have several kubuntu 8.04 machines and I have noticed that after I install the development tools (step two), Krfb-Desktop Sharing seems to crash every time you connect to is using VNC from another PC.

    Any suggestions?

    -Ravon

  21. Timucin Kizilay
    June 6th, 2008 at 12:53 | #21

    I’ve finished setting up vmware-server 1.06 on my eee pc 900 machine. it runs fine on this tiny little machine on Kubuntu 8.04. Now I have my windows server development machine in my purse.

  22. Cam
    June 7th, 2008 at 00:02 | #22

    I get a compile error building vmmon:

    make: Entering directory `/tmp/vmware-config1/vmmon-only’
    make -C /lib/modules/2.6.24-18-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
    make[1]: Entering directory `/usr/src/linux-headers-2.6.24-18-generic’
    CC [M] /tmp/vmware-config1/vmmon-only/linux/driver.o
    In file included from /tmp/vmware-config1/vmmon-only/./include/vmware.h:25,
    from /tmp/vmware-config1/vmmon-only/linux/driver.c:48:
    /tmp/vmware-config1/vmmon-only/./include/vm_basic_types.h:159: error: redefinition of typedef ‘uintptr_t’
    include/linux/types.h:40: error: previous declaration of ‘uintptr_t’ was here
    In file included from /tmp/vmware-config1/vmmon-only/linux/driver.h:20,
    from /tmp/vmware-config1/vmmon-only/linux/driver.c:49:
    /tmp/vmware-config1/vmmon-only/./include/compat_wait.h:37:5: warning: “VMW_HAVE_EPOLL” is not defined
    /tmp/vmware-config1/vmmon-only/./include/compat_wait.h:43:5: warning: “VMW_HAVE_EPOLL” is not defined
    In file included from /tmp/vmware-config1/vmmon-only/linux/driver.h:20,
    from /tmp/vmware-config1/vmmon-only/linux/driver.c:49:
    /tmp/vmware-config1/vmmon-only/./include/compat_wait.h:60: error: conflicting types for ‘poll_initwait’
    include/linux/poll.h:65: error: previous declaration of ‘poll_initwait’ was here
    /tmp/vmware-config1/vmmon-only/linux/driver.c:147: warning: initialization from incompatible pointer type
    /tmp/vmware-config1/vmmon-only/linux/driver.c:151: warning: initialization from incompatible pointer type
    /tmp/vmware-config1/vmmon-only/linux/driver.c: In function ‘LinuxDriver_Ioctl’:
    /tmp/vmware-config1/vmmon-only/linux/driver.c:1659: error: ‘struct mm_struct’ has no member named ‘dumpable’
    make[2]: *** [/tmp/vmware-config1/vmmon-only/linux/driver.o] Error 1
    make[1]: *** [_module_/tmp/vmware-config1/vmmon-only] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-18-generic’
    make: *** [vmmon.ko] Error 2
    make: Leaving directory `/tmp/vmware-config1/vmmon-only’
    Unable to build the vmmon module.

    Any suggestions?

  23. Setya
    June 8th, 2008 at 22:59 | #23

    Hi,

    I’ve successfully installed VMware server by your instructions, but I can not invoke VMware via menu System -> VMware Server Console menu, any hint ?

  24. CMoNz
    June 9th, 2008 at 01:49 | #24

    http://ubuntuforums.org/showthread.php?t=771321

    Code:

    cd vmware-server-distrib
    sudo ./vmware-install.pl

    Answer the questions, the defaults are fine. Eventually it will start compiling and fail.

  25. CMoNz
    June 9th, 2008 at 01:50 | #25

    CAM don’t worry about the error just d/l path and install it. i did it.

  26. Bo
    June 9th, 2008 at 02:37 | #26

    Thank you for excellent page about installing Vmware Server 1.0.6 on Ubuntu 8,04.
    Only one question: After happily installing everything, getting this msg “The configuration of VMware Server 1.0.6 build-91891 for Linux for this running
    kernel completed successfully.”, I just want the command for launching my newly installed Vmware Server. Have tried with “sudo ./runme.pl “. Doesn’t work. Please help with what command in what directory.

  27. alon
    June 9th, 2008 at 16:38 | #27

    Excellent!!
    It’s rare to see such great howtos that simply work without a hitch.
    Thank you!

  28. David Armour
    June 10th, 2008 at 14:34 | #28

    Xllnt website!

    I have a couple of questions:

    I got all the way to the “…completed successfully” part of the install, and using an .iso for DreamLinux3.1 that I’ve used before, received the following error:

    Unable to change virtual machine power state: The process exited with an error:
    End of error message.

    Do the instructions for installing 1.0.6 supersede the earlier tutorial for installing 1.0.5, or are they truncated with the last bit (about installing the ‘any-to-any patch’), i.e. get to the point in the install where you answer “no” instead of “yes”? If the latter, can you suggest a recommended way to re-install using the any-to-any patch?

    Thanks for any ideas.

  29. June 10th, 2008 at 15:05 | #29

    @David – any-any patch is no longer needed with 1.0.6 as they’ve fixed those issues. Following these steps, using 1.0.6 should work.. if not I wonder if its an issue with the guest you’re installing?

  30. David Armour
    June 10th, 2008 at 19:39 | #30

    Thanks v. much for your clarification. Much simpler steps. But the DreamLinux3.1 .iso that I’m using is the same one I used a few weeks back. But something got up-graded in Hardy, and VMWare stopped working, so when I got around to it this morning & deleted everything, and re-installed, I wanted to minimize any extraneous influences. I still have a LinuxMint4.0 .iso lying around; maybe I’ll give that a shot again…

  31. David Armour
    June 11th, 2008 at 11:36 | #31

    Hello,
    Just an up-date, of sorts: I’m getting the same error with both LinuxMint *and* PuppyLinux4, which I bit-torrented earlier this morning. I’m thinking I must’ve deleted something of a something or other that VMWare needs to start the guest?

  32. komputes
    June 11th, 2008 at 13:56 | #32

    The USB throughput seems to be broken in this version.

    I have added the USB controller to the VM, and I have absolutely no USB devices listed on my server running VMware Server 1.0.6.

    Luckily, I am also running 1.0.3 on Feisty, where all the devices (including my iPod) are able to be passed through to to the Guest OS. Is anyone able to use VMware server 1.0.6 and throughput the USB controller + devices into an XP guest OS?

  33. June 14th, 2008 at 09:26 | #33

    Excellent stuff! I’m new to Ubuntu, but have been running VMWare on Fedora for a couple of years on a clunky PC. I upgraded only yesterday and have had a few hiccups, but getting there.

    Your tutorial helped me tremendously, as it wasn’t immediately apparent to me that I was missing some essential dev tools.

    I had two more problems which the following post helped me track down:

    http://ubuntuforums.org/showthread.php?t=337040

    Problem 1 (in the above post – the SSL cert problem) was fixed with the solution listed. Not sure why those files weren’t with the vmware distribution or created by it, but creating the two empty files worked, so I stopped asking questions.

    Problem 2 (also in the above post) appeared next. Its solution listed in the posting fixed my problem with the serial number entry. I can only speculate why that occurred to me – was it because I’m running the 64-bit version of Ubuntu Desktop with a Xeon Dual Core 3065?

    Anyway, thanks again!

  34. smuv
    June 14th, 2008 at 10:41 | #34

    great tutorial, thanks… you rock!

  35. ken
    June 15th, 2008 at 08:27 | #35

    Ah, same issue of the Invisible Vmware-server Console after upgrading to this newest version.
    Tried installing it twice, uninstalling previous version first, and at the end of the config.pl sequence it says everything went swell and happy vm’ing.
    But when I click my shortcut to start the console, nothing happens.
    there are no log entries that indicate failure.
    grrrrrrrr.

  36. Yikulju
    June 16th, 2008 at 12:51 | #36

    Very nice indeed.

  37. Brad
    June 16th, 2008 at 15:57 | #37

    From Terminal Console…

    vmware-server-distrib

    In which directory do you want to install the binary files?
    [/usr/bin] cd vmware-server-distrib

    The path “cd vmware-server-distrib” is a relative path. Please enter an
    absolute path.

    In which directory do you want to install the binary files?
    [/usr/bin] /usr/bin/vmware-server-distrib

    What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
    [/etc]

    You Got Me….???

    where are they ???

    Now What??

    ~Brad

  38. Brad
    June 16th, 2008 at 16:02 | #38

    OH.. just hit enter and let ´er rip…

    ~Brad

  39. Brad
    June 16th, 2008 at 19:07 | #39

    The path “/usr/bin/doc/vmware” does not exist currently. This program is going
    to create it, including needed parent directories. Is this what you want?
    [yes]

    Unable to get the access rights of source file “./vmware-vix/bin”.

    any ideas what to do next?

    ~Brad

  40. NBLIT
    June 17th, 2008 at 02:57 | #40

    Works perfectly, many thanks!!!

  41. June 20th, 2008 at 09:30 | #41

    Thanks a lot for this excellent tutorial. I was off the ground in no time!!!

  42. June 27th, 2008 at 06:26 | #42

    thank you man!
    u saved me a lot of time.
    thx again.

  43. Pluto
    June 29th, 2008 at 08:53 | #43

    Awesome- I thought… except mine dies near the end of vmware-config.pl… it ends like this:

    The installation of the VMware VmPerl Scripting API succeeded.

    Generating SSL Server Certificate

    Unable to get the last modification timestamp of the destination file
    /etc/vmware/ssl/rui.key.

    Execution aborted.

    Mine is a fresh copy of 8.04LTS 64-bit Desktop (Ubuntu)… still trying to sleuth it thru- anyone else get this error too?

  44. July 1st, 2008 at 12:23 | #44

    I have a similar problem as Michelle now.

    I saw her issue was resolved but did not see the instructions in this thread.

    None of the pre-built vmmon modules for VMware Server is suitable for your
    running kernel. Do you want this program to try to build the vmmon module for
    your system (you need to have a C compiler installed on your system)? [yes]

    Using compiler “/usr/bin/gcc”. Use environment variable CC to override.

    What is the location of the directory of C header files that match your running
    kernel? [/lib/modules/2.6.24-19-generic/build/include]

    Extracting the sources of the vmmon module.

    Building the vmmon module.

    Using 2.6.x kernel build system.
    make: Entering directory `/tmp/vmware-config1/vmmon-only’
    make -C /lib/modules/2.6.24-19-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
    make[1]: Entering directory `/usr/src/linux-headers-2.6.24-19-generic’
    CC [M] /tmp/vmware-config1/vmmon-only/linux/driver.o
    In file included from /tmp/vmware-config1/vmmon-only/./include/vmware.h:25,
    from /tmp/vmware-config1/vmmon-only/linux/driver.c:48:
    /tmp/vmware-config1/vmmon-only/./include/vm_basic_types.h:159: error: redefinition of typedef ‘uintptr_t’
    include/linux/types.h:40: error: previous declaration of ‘uintptr_t’ was here
    In file included from /tmp/vmware-config1/vmmon-only/linux/driver.h:20,
    from /tmp/vmware-config1/vmmon-only/linux/driver.c:49:
    /tmp/vmware-config1/vmmon-only/./include/compat_wait.h:37:5: warning: “VMW_HAVE_EPOLL” is not defined
    /tmp/vmware-config1/vmmon-only/./include/compat_wait.h:43:5: warning: “VMW_HAVE_EPOLL” is not defined
    In file included from /tmp/vmware-config1/vmmon-only/linux/driver.h:20,
    from /tmp/vmware-config1/vmmon-only/linux/driver.c:49:
    /tmp/vmware-config1/vmmon-only/./include/compat_wait.h:60: error: conflicting types for ‘poll_initwait’
    include/linux/poll.h:65: error: previous declaration of ‘poll_initwait’ was here
    /tmp/vmware-config1/vmmon-only/linux/driver.c:147: warning: initialization from incompatible pointer type
    /tmp/vmware-config1/vmmon-only/linux/driver.c:151: warning: initialization from incompatible pointer type
    /tmp/vmware-config1/vmmon-only/linux/driver.c: In function ‘LinuxDriver_Ioctl’:
    /tmp/vmware-config1/vmmon-only/linux/driver.c:1659: error: ‘struct mm_struct’ has no member named ‘dumpable’
    make[2]: *** [/tmp/vmware-config1/vmmon-only/linux/driver.o] Error 1
    make[1]: *** [_module_/tmp/vmware-config1/vmmon-only] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-19-generic’
    make: *** [vmmon.ko] Error 2
    make: Leaving directory `/tmp/vmware-config1/vmmon-only’
    Unable to build the vmmon module.

  45. Krishnan
    July 2nd, 2008 at 08:08 | #45

    Thanks, the main point is pointing the library files which helped me to rum vmware smoothly in ubuntu 8.04.

  46. Henk
    July 8th, 2008 at 12:39 | #46

    Thanks, it worked brilliantly.

    Everything workes as before.

  47. andre
    July 11th, 2008 at 06:30 | #47

    Many Thanks, your procedure worked well, VMware is back to work …..

  48. despo
    July 12th, 2008 at 17:19 | #48

    Thanks. Excellent post!!

  49. July 14th, 2008 at 03:02 | #49

    Spot-on!!! This was wonderful, I was so frustrated after moving to 8.04.

  50. July 14th, 2008 at 12:12 | #50

    Awesome notes!

    if you are installing it on AMD64, just apt-get install ia32-libs, in addition to the initial list from above.

  51. July 15th, 2008 at 19:12 | #51

    Hi, Thanks for the informative guide. But I think this guide assumes youre using the Desktop version of Hardy heron. Can you help me install on a server edition of hardy?

    Regards,

    Noel

  52. amedeo
    July 25th, 2008 at 02:11 | #52

    after each update of ubuntu vmware server don’t still work! Last time this tutorial resolve this, but now after upgrading from kernel 2.6.24.19 to 2.6.24.20 i’can’t got mware server working!
    Any ideas?
    Thanks in advance for your help!

  53. July 25th, 2008 at 08:35 | #53

    Hi, I have the same problem as Cam and Boris, so that I cannot use the shared_folders system.

    The error they get ( and I get as well involves redefinition of the uintptr_t type.

    only/./include/vm_basic_types.h:159: error: redefinition of typedef ‘uintptr_t’

    As a result, I cannot use the shared folders utility, which happens to be something I would like quite a bit to do.

    Any suggestions [ Maybe I missed a previous answer to this problem.]

  54. nani
    July 27th, 2008 at 20:39 | #54

    I’m able to install VMware using above steps without any error but I’m unable to run VMware from \user\share\applications.

    I’m getting the error ‘There was an error launching the application.’ details:Failed to exicute child process “vmware” (No such file or directory)

    And there is no shortcut displayed on the desktop application

    pls help me on this

  55. Marc
    July 31st, 2008 at 09:39 | #55

    Aww!! Thx dude!!! Exactly what I needed!

    Ubuntu 8.04 + Compiz Config Manager + VMWare Server = one SICK machine!!! :-D

  56. mpop81
    July 31st, 2008 at 12:23 | #56

    it works!!! thank you

  57. August 1st, 2008 at 14:53 | #57

    I’ve setup a repository with the latest VMware Server and Console deb packages. They’re at: http://www.monarialx.it/en/vmware

    I’ll be glad if someone give it a try.

  58. lostmyz
    August 1st, 2008 at 16:29 | #58

    After running the VMware installer I recieved this:

    In which directory do you want to install the binary files?
    [/usr/bin]

    plz can somebody help….

  59. August 1st, 2008 at 20:47 | #59

    @lostmyz – just hit enter for all the prompts. The defaults should be fine.

  60. Sandeep Sagar
    August 11th, 2008 at 03:58 | #60

    Good Job! Thanks!

  61. James
    August 14th, 2008 at 20:47 | #61

    W00t! Just what I needed – the vmWare console would act like it was starting up, then disappear… Thanks!

  62. August 21st, 2008 at 07:30 | #62

    Thanks so much!

  63. Edwin Casipit
    August 24th, 2008 at 21:28 | #63

    when i tried to install the installer, it says:

    A previous installation of VMware software has been detected.

    Failure

    biohazard_ten21@yahoo.com

  64. August 25th, 2008 at 05:47 | #64

    Nice post! I was looking everywhere for this
    http://www.felipeferreira.net

  65. August 25th, 2008 at 05:48 | #65

    actually nope.. still getting:
    CC [M] /tmp/vmware-config5/vmmon-only/common/cpuid.o
    In file included from include/asm/bitops.h:2,
    from /tmp/vmware-config5/vmmon-only/./include/vcpuset.h:74,
    from /tmp/vmware-config5/vmmon-only/./include/modulecall.h:23,
    from /tmp/vmware-config5/vmmon-only/common/vmx86.h:19,
    from /tmp/vmware-config5/vmmon-only/common/hostif.h:18,
    from /tmp/vmware-config5/vmmon-only/common/cpuid.c:15:
    include/asm/bitops_32.h:9:2: error: #error only can be included directly
    make[2]: *** [/tmp/vmware-config5/vmmon-only/common/cpuid.o] Error 1
    make[1]: *** [_module_/tmp/vmware-config5/vmmon-only] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-19-generic’
    make: *** [vmmon.ko] Error 2
    make: Leaving directory `/tmp/vmware-config5/vmmon-only’
    Unable to build the vmmon module.

  66. preoche
    August 25th, 2008 at 08:51 | #66

    tried insatlling vmware following instructions, it appears in the menu, but when launching it crashes and closes without leaving error messages or anything else. help?

  67. August 26th, 2008 at 00:52 | #67

    thank you for help!
    is the last step still necessary for the install of VMware-server-2.0.0 …?

  68. Tore Boman
    August 29th, 2008 at 05:47 | #68

    Excellent mini-howto. I tried VBox but it was a total lemon, especially if u want networking.
    VmWare should definitely be in the repos.

    @preoche: sounds like u’r missing the last step? Cairo and gcc links?

  69. matt
    September 3rd, 2008 at 15:55 | #69

    right on the money

  70. sean
    September 6th, 2008 at 11:23 | #70

    same problem as preoche, any ideas?

  71. JD
    September 21st, 2008 at 19:03 | #71

    Worked great! Thanks again for the great how-to!

  72. Nick
    September 27th, 2008 at 17:26 | #72

    When following these instructions on a fresh Ubuntu 8.04LTS Server Edition, I get the following:

    What is the location of the directory of C header files that match your running
    kernel? [/usr/src/linux/include]

    –I hit enter here and get:

    The path “/usr/src/linux/include” is not an existing directory.

    I’m stuck there.

  73. sdibias
    September 28th, 2008 at 11:58 | #73

    I followed word for word and when I go to run it (Applications >> System Tools >> VMware Server Console) it looks like it’s loading and then… Nothing… :(

  74. haste
    October 14th, 2008 at 12:21 | #74

    Thanks so much! For VMware-server-1.0.7-108231.tar.gz this tutorial work too.

  75. nicola
    October 23rd, 2008 at 11:35 | #75

    I have a problem:

    Your kernel was built with “gcc” version “4.2.3″, while you are trying to use
    “/usr/bin/gcc” version “4.2.4″. This configuration is not recommended and
    VMware Server may crash if you’ll continue. Please try to use exactly same
    compiler as one used for building your kernel. Do you want to go with compiler
    “/usr/bin/gcc” version “4.2.4″ anyway? [no]

    For more information on how to troubleshoot module-related problems, please
    visit our Web site at “http://www.vmware.com/download/modules/modules.html” and
    “http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html”.

    Execution aborted.

    Can you help me?

  76. Rodney
    November 1st, 2008 at 18:19 | #76

    same issue as michele and ..

    None of the pre-built vmmon modules for VMware Server is suitable for your
    running kernel. Do you want this program to try to build the vmmon module for
    your system (you need to have a C compiler installed on your system)? [yes]

    Using compiler “/usr/bin/gcc”. Use environment variable CC to override.

    Your kernel was built with “gcc” version “4.1.3″, while you are trying to use
    “/usr/bin/gcc” version “4.2.3″. This configuration is not recommended and
    VMware Server may crash if you’ll continue. Please try to use exactly same
    compiler as one used for building your kernel. Do you want to go with compiler
    “/usr/bin/gcc” version “4.2.3″ anyway? [no]

    For more information on how to troubleshoot module-related problems, please
    visit our Web site
    at “http://www.vmware.com/download/modules/modules.html” and
    “http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html”.

    Execution aborted.
    can you help me?thanks

  77. Narsi
    November 7th, 2008 at 00:49 | #77

    sudo apt-get install linux-headers-`uname -r` build-essential xinetd

    everything should be fine

  78. Greg
    November 8th, 2008 at 15:58 | #78

    I have same problem as Rodney… Tried running cmd Narsi suggested and stated everthing already was newest version.

    Has anyone tried installing gcc 4.2.4 for it to compile?

  79. Juan
    November 10th, 2008 at 13:22 | #79

    Using compiler “/usr/bin/gcc”. Use environment variable CC to override.

    Your kernel was built with “gcc” version “4.2.3″, while you are trying to use
    “/usr/bin/gcc” version “4.2.4″. This configuration is not recommended and
    VMware Server may crash if you’ll continue. Please try to use exactly same
    compiler as one used for building your kernel. Do you want to go with compiler
    “/usr/bin/gcc” version “4.2.4″ anyway? [no]

    For more information on how to troubleshoot module-related problems, please
    visit our Web site at “http://www.vmware.com/download/modules/modules.html” and
    “http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html”.

    Execution aborted.

    PLEASE HELP ME!!

  80. Nat
    November 10th, 2008 at 21:22 | #80

    Same as Juan.. Please someone help… until y’day everything was working fine. after kernel upgrade I started getting this issue, I am googling for last 6 hours and nothing seems to work..

    Gurus.. please help

    ======================
    Your kernel was built with “gcc” version “4.2.3″, while you are trying to use
    “/usr/bin/gcc” version “4.2.4″. This configuration is not recommended and
    VMware Server may crash if you’ll continue. Please try to use exactly same
    compiler as one used for building your kernel. Do you want to go with compiler
    “/usr/bin/gcc” version “4.2.4″ anyway? [no] yes

    What is the location of the directory of C header files that match your running
    kernel? [/usr/src/linux/include]

    The path “/usr/src/linux/include” is not an existing directory.

    What is the location of the directory of C header files that match your running
    kernel? [/usr/src/linux/include]
    =======================

  81. Nat
    November 11th, 2008 at 00:20 | #81

    Alright, I figured out finally..

    ============================
    sudo apt-get install linux-headers-`uname -r`
    sudo apt-get autoremove
    sudo apt-get clean
    sudo apt-get install linux-headers-`uname -r`
    sudo apt-get install g++
    # the following command will produce sth like : 2.6.24-21-generic
    $uname -r
    # Now run ./vmware-config.pl
    $./vmware-config.pl
    # When prompted for directory of C headers..please substitute the value as shown below, based on your above uname -r command output.
    What is the location of the directory of C header files that match your running
    kernel? [/usr/src/linux/include]/usr/src/linux-headers-2.6.24-21-generic/include

    ## Thats it Voila – Everything should work..
    =================================

    Thanks
    Muthu Nat

  82. Nat
    November 11th, 2008 at 00:21 | #82

    sudo apt-get install linux-headers-`uname -r`
    sudo apt-get autoremove
    sudo apt-get clean
    sudo apt-get install linux-headers-`uname -r`
    sudo apt-get install g++
    # the following command will produce sth like : 2.6.24-21-generic
    $uname -r
    # Now run ./vmware-config.pl
    $./vmware-config.pl
    # When prompted for directory of C headers..please substitute the value as shown below, based on your above uname -r command output.
    What is the location of the directory of C header files that match your running
    kernel? [/usr/src/linux/include]/usr/src/linux-headers-2.6.24-21-generic/include

    ## Thats it Voila – Everything should work..

  83. Richard Hanson
    November 15th, 2008 at 12:52 | #83

    Hi Mat;
    I followed the instructions on comments 81 & 82 and everthing worked fine until I ran ./vmware-config.pl
    Then I got the error: no such file or directory.

    HELP!!!!!!

  84. Richard Hanson
    November 15th, 2008 at 13:03 | #84

    Hi again;
    There are a couple of things that I failed to mention. Don’t know if they will help, but here they are.
    1) My Machine is an amd64
    2) I am running Ubuntu 8.10

    Thanks

  85. Richard Hanson
    November 15th, 2008 at 13:22 | #85

    Me again:
    I got the ./vmware-config.pl to execute. Here is the output.
    dick@ubuntu:~/VMware/vmware-server-distrib/bin$ sudo ./vmware-config.pl
    Making sure services for VMware Server are stopped.

    Stopping VMware services:
    Virtual machine monitor done

    Configuring fallback GTK+ 2.4 libraries.

    In which directory do you want to install the mime type icons?
    [/usr/share/icons]

    What directory contains your desktop menu entry files? These files have a
    .desktop file extension. [/usr/share/applications]

    In which directory do you want to install the application’s icon?
    [/usr/share/pixmaps]

    /usr/share/applications/vmware-server.desktop: warning: value “vmware-server.png” for key “Icon” in group “Desktop Entry” is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path
    /usr/share/applications/vmware-console-uri-handler.desktop: warning: value “vmware-server.png” for key “Icon” in group “Desktop Entry” is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path
    Trying to find a suitable vmmon module for your running kernel.

    None of the pre-built vmmon modules for VMware Server is suitable for your
    running kernel. Do you want this program to try to build the vmmon module for
    your system (you need to have a C compiler installed on your system)? [yes]

    Using compiler “/usr/bin/gcc”. Use environment variable CC to override.

    What is the location of the directory of C header files that match your running
    kernel? [/lib/modules/2.6.27-7-generic/build/include]

    Extracting the sources of the vmmon module.

    Building the vmmon module.

    Using 2.6.x kernel build system.
    make: Entering directory `/tmp/vmware-config0/vmmon-only’
    make -C /lib/modules/2.6.27-7-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
    make[1]: Entering directory `/usr/src/linux-headers-2.6.27-7-generic’
    CC [M] /tmp/vmware-config0/vmmon-only/linux/driver.o
    In file included from /tmp/vmware-config0/vmmon-only/./include/machine.h:24,
    from /tmp/vmware-config0/vmmon-only/linux/driver.h:15,
    from /tmp/vmware-config0/vmmon-only/linux/driver.c:49:
    /tmp/vmware-config0/vmmon-only/./include/x86.h:830:1: warning: “PTE_PFN_MASK” redefined
    In file included from include/asm/pda.h:8,
    from include/asm/current.h:19,
    from include/asm/processor.h:15,
    from include/linux/prefetch.h:14,
    from include/linux/list.h:6,
    from include/linux/module.h:9,
    from /tmp/vmware-config0/vmmon-only/linux/driver.c:12:
    include/asm/page.h:22:1: warning: this is the location of the previous definition
    In file included from /tmp/vmware-config0/vmmon-only/linux/vmhost.h:13,
    from /tmp/vmware-config0/vmmon-only/linux/driver.c:71:
    /tmp/vmware-config0/vmmon-only/./include/compat_semaphore.h:5:27: error: asm/semaphore.h: No such file or directory
    /tmp/vmware-config0/vmmon-only/linux/driver.c:146: error: unknown field ‘nopage’ specified in initializer
    /tmp/vmware-config0/vmmon-only/linux/driver.c:147: warning: initialization from incompatible pointer type
    /tmp/vmware-config0/vmmon-only/linux/driver.c:150: error: unknown field ‘nopage’ specified in initializer
    /tmp/vmware-config0/vmmon-only/linux/driver.c:151: warning: initialization from incompatible pointer type
    /tmp/vmware-config0/vmmon-only/linux/driver.c: In function ‘LinuxDriver_Ioctl’:
    /tmp/vmware-config0/vmmon-only/linux/driver.c:1670: error: too many arguments to function ‘smp_call_function’
    make[2]: *** [/tmp/vmware-config0/vmmon-only/linux/driver.o] Error 1
    make[1]: *** [_module_/tmp/vmware-config0/vmmon-only] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-7-generic’
    make: *** [vmmon.ko] Error 2
    make: Leaving directory `/tmp/vmware-config0/vmmon-only’
    Unable to build the vmmon module.

    For more information on how to troubleshoot module-related problems, please
    visit our Web site at “http://www.vmware.com/download/modules/modules.html” and
    “http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html”.

    Execution aborted.

  86. Will
    December 25th, 2008 at 10:37 | #86

    I am experiencing the same problem as Richard. Does anyone know how to resolve this?

  87. John Hively
    January 20th, 2009 at 10:10 | #87

    Thank you!
    Working with xubuntu 8.04.1 per your instructions

  88. domenico
    February 22nd, 2009 at 04:06 | #88

    i have the problem that say michele in post:
    michele on May 31st, 2008 10:45 am

    How can resolve it?

    thanks

  89. Chris Miller
    June 25th, 2009 at 01:10 | #89

    Guys, I was having this issue too, with 'VMWare Server on kernel 2.6.27-2-generic: cannot compile vmmon module':

    Your kernel was built with “gcc” version “4.2.3″, while you are trying to use
    “/usr/bin/gcc” version “4.2.4″. This configuration is not recommended and
    VMware Server may crash if you’ll continue. Please try to use exactly same
    compiler as one used for building your kernel. Do you want to go with compiler
    “/usr/bin/gcc” version “4.2.4″ anyway? [no]

    Found a patch via the Ubuntu forums, see the thread here:

    http://ubuntuforums.org/showthread.php?t=966070&a…

    The patch is here:

    http://www.insecure.ws/2008/10/20/vmware-specific…

    Got mine to work!

    Have fun!