Results 1 to 4 of 4

Thread: Cannot install VMWare Tools with OpenSuSE Linux 11.x

  1. #1

    Default Cannot install VMWare Tools with OpenSuSE Linux 11.x

    This post serves as tip for anybody experiencing problems installing VMWARETools under OpenSUSE (11.x) due to missing header files while all else seems fine. I researched many other posts which were cluttered, misleading, guess work etc. I felt I could contribute to the development of OpenSUSE by posting my own findings. Here they come:

    Problem:
    You may have a half installed version of VMWARETools and you want to start clean
    Solution
    Run "/usr/bin/vmware-uninstall-tools.pl" without quotes. This should remove previous or half installed versions of VMWARETools. If the script does not exist, my guess is that it can be ignored because an older or incomplete version of VMWARE Tools is not installed.

    Problem:
    You want to install VMWAREtools but don't know how
    Solution
    Obtain the appropriate gzip file for your particular version of VMWARE.
    Place this in a appropriate setup folder (i.e. /setups)
    Extract the contents like so:
    tar xvf VMwareTools-4.0.0-208167.tar.gz {Replace the filename with your particular instance}
    In my case this creates a sub-folder called "vmware-tools-distrib"
    Change directory to this sub-folder like so: cd vmware-tools-distrib
    Usually this contains a symbolic link called "vmware-install.pl" which needs to be executed (Run) by entering "./vmware-install.pl" from the folder in which it is located.
    This will attempt to run the script which might lead to more problems or not depending on your Linux version, missing modules and inconsistencies

    Problem:
    Running vmware-install.pl you get the following:
    ./vmware-install.pl
    The following VMware kernel modules have been found on your system that were
    not installed by the VMware Installer. Please remove them then run this
    installer again.

    vmhgfs
    vmci
    vmxnet
    vmblock

    I.e. - 'rm /lib/modules/2.6.34-12-desktop/misc/<ModuleName>.{o,ko}'

    Execution aborted.
    Solution
    This suggests other modules are already installed. In my case Open Source modules. In my case I opened YAST Software Management from the terminal and did a search for vmware which revealed that one of the following modules were already installed:

    vmware-guest-kmp-pae
    vmware-guest-kmp-desktop
    vmware-guest-kmp-default
    Trying to remove one forced installation of another. To preven this, tag the unselected modules as Taboo and delete the already installed module. This will prevent YAST from trying to install one of the unwanted opensource modules.
    The un-install should fix the original problem

    Problem:
    After completing VMware Tools Installation, you might might/will be asked to configure it by invoking "/usr/bin/vmware-config-tools.pl". After following the instructions you might get stuck with the following:
    What is the location of the directory of C header files that match your running
    kernel? [/usr/src/linux/include]

    This refuses to pass
    Solution
    #1# 1st Check if you have installed the appropriate kernel-source. If not, adding this in YAST will also install the appropriate kernel-devel package module. Also add kernel-syms. Selecting kernel-syms additional dependencies are automatically resolved by YAST. These should be accepted.
    #2# If Step #1# has been completed or is not necessary because at some stage you have already done this but "/usr/bin/vmware-config-tools.pl" is still complaining about missing headers, you can try the following:
    "cd /lib/modules/`uname -r`/build/include/linux"
    You should not get an error message "No such file or directory
    ". Getting this suggests that the directory is missing and something else is wrong which is beyond this articles scope.
    If you don't receive an error, do the following:

    ln -s ../generated/autoconf.h
    ln -s ../generated/utsrelease.h

    This will create the appropriate symbolic links which are refer VMWAREtools to the correct location for its installation files. The "version.h" is already located in "/lib/modules/`uname -r`/build/include/linux". and should not require any extra work.

    Now execute "/usr/bin/vmware-config-tools.pl" which will magically find all that is needed. You will have to press ENTER several times for the script to complete but once complete, VMWARETools should be installed.

    You can run the Toolbox from the Desktop by executing "/usr/bin/vmware-toolbox" on a terminal or as part of a script etc. VMWARE should create this for you under KDE but I suspect that that this also may require fixing.

  2. #2

    Default Re: Cannot install VMWare Tools with OpenSuSE Linux 11.x

    Thanks, Volker, that was just what I needed.

    For other openSuSE noobs (like me), let me add:
    The instruction,
    "If not, adding this in YAST will also install the appropriate kernel-devel package module. Also add kernel-syms.",
    translates to:
    - Open YaST (via 'Computer' button in panel (task bar))
    - Click on 'Software', then 'Software Management' to start the Software Manager
    - In the 'Find:' text box,
    - search for 'kernel-source' and check it.
    - search for 'kernel-syms' and check it.
    - Click Apply; download and installation should start.

    After that, as stated, "/usr/bin/vmware-config-tools.pl" should then find all directories automatically.

  3. #3
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,268
    Blog Entries
    2

    Default Re: Cannot install VMWare Tools with OpenSuSE Linux 11.x

    Some minor clarifications (I think) to this post...

    "half installed version" probably means the Open Source version of VMware Tools. I've found that when you install OpenSuSE as a VMware Client, it automatically detects it's a VMware Client and will install the Open Source version of VMware Tools which is the only version VMware allows to be distributed by third parties.

    This Open Source version is not as capable and full featured as the Proprietary VMware Tools version which is free and available for download directly from the VMware website... In general I've found the Open Source version adequate if you only need better than default support for display resolution and supporting a shared Clipboard between Guest and Host. But, if you need any of the other features, do get the Proprietary Code version, it is free.

    It does not surprise me that you can't install both versions of VMware tools at the same time, but I would recommend that the User first try to search for, and remove the existing VMware Tools RPM instead of removing manually... I haven't tried this myself because I haven't found a need, I'm just recommending based on general principles.

    From thereon, the steps described by VolkerBause look entirely familiar, they're exactly the steps I used to have to do 'way back when VMware didn't automatically come with some version of Tools.

    Tony

  4. #4
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Cannot install VMWare Tools with OpenSuSE Linux 11.x

    On 2010-08-29 14:06, VolkerBause wrote:
    >
    > This post serves as tip for anybody experiencing problems installing
    > VMWARETools under OpenSUSE (11.x) due to missing header files while all
    > else seems fine. I researched many other posts which were cluttered,
    > misleading, guess work etc. I felt I could contribute to the development
    > of OpenSUSE by posting my own findings. Here they come:


    I think this would be more appropriate on the
    opensuse.org.help.howto.submissions forum.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •