Results 1 to 7 of 7

Thread: Installing VMWare Tools

  1. #1
    Join Date
    Dec 2008
    Location
    Brisbane, Australia
    Posts
    33

    Default Installing VMWare Tools

    Hi There,

    I am experiencing difficulty installing VMWare tools for an OpenSuse virtual machine which I created. I have the following packages installed on that vm image (which I believe are required to install tools): kernel-source, binutils, make, gcc and gcc-c++.

    Now, I have been following the directions on this page - Setting up SUSE Linux as a VMware Guest - openSUSE
    There is a line on that page which says - 3. Do not use the RPM package to install VMware tools, the package contains dependencies to kernel modules which will overwrite your currently installed kernel.
    Unfortunately, I got a bit ahead of myself, read that too late and made the mistake of using that package.
    I think this has made some kind of change to my currently installed module, because, when I proceeded with the rest of the instructions, it did not work. When I entered . vmware-install.pl at the shell, I got the following error:
    linux-mg0y:/tmp/VMwareTools/vmware-tools-distrib # . vmware-install.pl
    -bash: use: command not found
    -bash: use: command not found
    -bash: my: command not found
    -bash: my: command not found
    -bash: vmware-install.pl: line 20: syntax error near unexpected token `('
    -bash: vmware-install.pl: line 20: `my @cKernelModules = qw(vmblock vmdesched vmhgfs vmmemctl vmxnet vmci vmmon vmnet);'
    From here, I am seeking assistance.
    BOX: Intel Core 2 Duo E8500 @ 3.16GHz | NVidia GeForce 9600 GT | Gigibyte GA-EP45-DSR3 | RAM 4Gb DDR 2 | OS 11.1 | KDE 4.1.3

  2. #2

    Default Re: Installing VMWare Tools

    You're close... You need to run the command with the period and forward slash, ./

    So, run the command as root like this:
    ./vmware-install.pl

    Some of the software below you already installed. Perhaps try installing whatever is on the list that you don't already have:
    glibc-devel
    findutils-locate
    gcc
    flex
    lynx
    compat-readline4
    gcc-c++
    make
    kernel-source

    When installing the VMware Tools you may see something like "Your kernel was built with gcc version 4.3.1, while you are trying to use
    /usr/bin/gcc version 4.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.3 anyway? [no]". If you see that I think you can be allright by typing "yes" and pressing Enter.

  3. #3
    Join Date
    Dec 2008
    Location
    Brisbane, Australia
    Posts
    33

    Default Re: Installing VMWare Tools

    Thanks. Now, I made sure that all of those packages were installed. Then I ran the installation script with the correct command. It resulted in the following error:
    linux-mg0y:/tmp/VMwareTools/vmware-tools-distrib # ./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.

    vmci
    vmhgfs
    vmmemctl
    vmxnet
    vmblock

    Execution aborted.
    Is the next step to remove those using YAST, and then run the script again?
    BOX: Intel Core 2 Duo E8500 @ 3.16GHz | NVidia GeForce 9600 GT | Gigibyte GA-EP45-DSR3 | RAM 4Gb DDR 2 | OS 11.1 | KDE 4.1.3

  4. #4

    Default Re: Installing VMWare Tools

    I don't have an answer. But look at the following two links. The first link see the section "4 Fixing "The following VMware kernal modules have been found on your system that were not installed by the VMware installer."

    - Troubleshooting Linux as VMWare Guest :: How-To Geek Wiki

    - VMWare Workstation - issue compiling module in suse 11 - Page 2 - openSUSE Forums

  5. #5
    Join Date
    Dec 2008
    Location
    Brisbane, Australia
    Posts
    33

    Default Re: Installing VMWare Tools

    Thanks. I found the answer.

    OpenSuse installs open-vm-tools and vmware-kmp-pae by default.

    Remove both of those with YAST, then you are good to go with the install script.

    I'm now looking at a sweet 1680 X 1050 display
    BOX: Intel Core 2 Duo E8500 @ 3.16GHz | NVidia GeForce 9600 GT | Gigibyte GA-EP45-DSR3 | RAM 4Gb DDR 2 | OS 11.1 | KDE 4.1.3

  6. #6

    Default Re: Installing VMWare Tools

    glad you figured it out!

  7. #7

    Default Re: Installing VMWare Tools

    Quote Originally Posted by onefootswill View Post
    Thanks. I found the answer.

    OpenSuse installs open-vm-tools and vmware-kmp-pae by default.

    Remove both of those with YAST, then you are good to go with the install script.
    I keep trying, I always get a failure to remove open-vm-tools...

    subprocess failed: Error: RPM failed: umount: /proc/fs/vmblock/mountPoint: not found
    FATAL: vmblock not found.
    FATAL: vmsync not found.
    FATAL: vmmemctl found.

Posting Permissions

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