14 Replies Latest reply on May 13, 2008 7:46 AM by amaltemara

    Unable to install VMW 6.0.3 on Ubuntu 8.04 Host

    rizlaw Enthusiast

       

      I just finished a fresh install of Ubuntu 8.04. Expecting that I would have a problem reinstalling VMW6 into the new kernel,

      I checked the posts on this forum and followed instructions provided in the March 21, 2008 post entitled "vmware-config fails in compile on Ubuntu hardy heron 8.04 (kernel 2.6.24)".

      The instructions were as follows:

       

      "DirkKoopman  says:
           fixing it is quite easy.
           1. untar /usr/lib/vmware/modules/source/vmmon.tar in somewhere like /tmp
           2. edit vmmon-only/include/vcpuset.h
           change line 74 from asm/bitops.h to linux/bitops.h
           3. tar cvf vmmon.tar vmmon-only
           4. mv /usr/lib/vmware/modules/source/vmmon.tar /usr/lib/vmware/modules/source/vmmon.tar.orig
           5. cp vmmon.tar /usr/lib/vmware/modules/source
           and try vmware-config.pl again.

      Needless to say, following these instructions to the letter, didn't  work for me. My terminal output is as follows:

      bq. bq. bq. louis@Zeus:~/vmw6install/vmware-distrib$ sudo ./vmware-install.pl
      A previous installation of VMware Workstation has been detected.
      The previous installation was made by the tar installer (version 4).
      Keeping the tar4 installer database format.
      Uninstalling the tar installation of VMware Workstation.
      Stopping VMware services:
      Virtual machine monitor                                             done
      File /usr/lib/vmware/modules/source/vmmon.tar is backed up to
      /usr/lib/vmware/modules/source/vmmon.tar.old.0.
      This program previously created the directory /usr/lib/vmware/modules/source,
      and was about to remove it. Since there are files in that directory that this
      program did not create, it will not be removed.
      This program previously created the directory /usr/lib/vmware/modules, and was
      about to remove it. Since there are files in that directory that this program
      did not create, it will not be removed.
      This program previously created the directory /usr/lib/vmware, and was about to
      remove it. Since there are files in that directory that this program did not
      create, it will not be removed.
      The removal of VMware Workstation 6.0.3 build-80004 for Linux completed
      successfully. Thank you for having tried this software.
      Installing VMware Workstation.
      In which directory do you want to install the binary files?
      /usr/bin
      What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
      /etc
      What is the directory that contains the init scripts?
      /etc/init.d
      In which directory do you want to install the daemon files?
      /usr/sbin
      In which directory do you want to install the library files?
      /usr/lib/vmware
      In which directory do you want to install the manual files?
      /usr/share/man
      In which directory do you want to install the documentation files?
      /usr/share/doc/vmware
      The path "/usr/share/doc/vmware" does not exist currently. This program is
      going to create it, including needed parent directories. Is this what you want?

      The installation of VMware Workstation 6.0.3 build-80004 for Linux completed
      successfully. You can decide to remove this software from your system at any
      time by invoking the following command: "/usr/bin/vmware-uninstall.pl".
      Before running VMware Workstation for the first time, you need to configure it
      by invoking the following command: "/usr/bin/vmware-config.pl". Do you want
      this program to invoke the command for you now?
      Making sure services for VMware Workstation are stopped.
      Stopping VMware services:
      Virtual machine monitor                                             done
      Configuring fallback GTK+ 2.4 libraries.
      In which directory do you want to install the theme 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
      Trying to find a suitable vmmon module for your running kernel.
      None of the pre-built vmmon modules for VMware Workstation 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)?
      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-16-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-16-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
      make[1]: Entering directory `/usr/src/linux-headers-2.6.24-16-generic'
      CC   /tmp/vmware-config1/vmmon-only/linux/driver.o
      CC   /tmp/vmware-config1/vmmon-only/linux/hostif.o
      CC   /tmp/vmware-config1/vmmon-only/common/comport.o
      CC   /tmp/vmware-config1/vmmon-only/common/cpuid.o
      In file included from include/asm/bitops.h:2,
      from /tmp/vmware-config1/vmmon-only/./include/vcpuset.h:74,
      from /tmp/vmware-config1/vmmon-only/./include/modulecall.h:23,
      from /tmp/vmware-config1/vmmon-only/common/vmx86.h:18,
      from /tmp/vmware-config1/vmmon-only/common/hostif.h:18,
      from /tmp/vmware-config1/vmmon-only/common/cpuid.c:14:
      include/asm/bitops_32.h:9:2: error: #error only <linux/bitops.h> can be included directly
      make[2]: *** /tmp/vmware-config1/vmmon-only/common/cpuid.o Error 1
      make[1]: *** module/tmp/vmware-config1/vmmon-only Error 2
      make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-16-generic'
      make: *** http://vmmon.ko Error 2
      make: Leaving directory `/tmp/vmware-config1/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."

       

       

       

       

       

       

       

       

      How do I fix this and get VMW6 installed in Ubuntu 8.10? I'm no VMware expert, so please provide, if possible, easy instructions.

       

       

       

      Sorry, about the appearance, but it seems Firefox 3 beta5 doesn't work well on this forum.