Results 1 to 6 of 6

Thread: Vmware tools installation in openSuse 12.3 - Cannot find headers

  1. #1

    Talking Vmware tools installation in openSuse 12.3 - Cannot find headers

    I am writing this to help anyone trying to install linux vmware tools in an opensuse 12.3 virtual machine. Even if you have installed the kernel headers, the vmware installation script, vmware.pl, will keep complaining that it cannot find them.

    Apart from gcc and make, you need linux-glibc-devel package (that is the headers package).

    Go to terminal and issue the following command (change accordingly as newer version kernels are introduced) :

    sudo ln -s /usr/src/linux-3.7.10-1.1-obj/x86_64/desktop/include/generated/uapi/linux /usr/src/linux-3.7.10-1.1-obj/x86_64/desktop/include/

    Credit to user ioo at Vmware communities for the soft link command.




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

    Default Re: Vmware tools installation in openSuse 12.3 - Cannot find headers

    On 2013-03-18 15:36, hel1in wrote:
    >
    > I am writing this to help anyone trying to install linux vmware tools in
    > an opensuse 12.3 virtual machine.


    I assume you mean the guest tools. These are normally packaged by
    openSUSE as an rpm you can install from YaST. Doesn't this work now?

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.1 x86_64 "Asparagus" at Telcontar)

  3. #3

    Default Re: Vmware tools installation in openSuse 12.3 - Cannot find headers

    If you install 12.3 as a vmware image, opensuse installs libvmtools0, open-vm-tools, open-vm-tools-gui but these would not work properly for me. In any case, to be able to install the ones supplied directly by the vmware hypervisor, you have to go through the steps detailed below. I thought it a good idea to have all steps detailed in one place within the forums for future reference, if the need arises. Not a big deal for an experienced user, but will hopefully save time and going through conflicting posts for other people
    Quote Originally Posted by robin_listas View Post
    On 2013-03-18 15:36, hel1in wrote:
    >
    > I am writing this to help anyone trying to install linux vmware tools in
    > an opensuse 12.3 virtual machine.


    I assume you mean the guest tools. These are normally packaged by
    openSUSE as an rpm you can install from YaST. Doesn't this work now?

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.1 x86_64 "Asparagus" at Telcontar)

  4. #4

    Default Re: Vmware tools installation in openSuse 12.3 - Cannot find headers

    Quote Originally Posted by hel1in View Post
    I am writing this to help anyone trying to install linux vmware tools in an opensuse 12.3 virtual machine. Even if you have installed the kernel headers, the vmware installation script, vmware.pl, will keep complaining that it cannot find them.

    Apart from gcc and make, you need linux-glibc-devel package (that is the headers package).

    Go to terminal and issue the following command (change accordingly as newer version kernels are introduced) :

    sudo ln -s /usr/src/linux-3.7.10-1.1-obj/x86_64/desktop/include/generated/uapi/linux /usr/src/linux-3.7.10-1.1-obj/x86_64/desktop/include/
    When installing vmware-workstation on top of 12.3 you get the same error. Re: [opensuse-factory] Problems with VMware-Workstation has the solution:
    Code:
    cd /lib/modules/`uname -r`/build/include
    ln -s generated/uapi/linux .
    cheers

  5. #5

    Default Re: Vmware tools installation in openSuse 12.3 - Cannot find headers

    The solution below worked on an OpenSUSE 12.3 installation that includes Linux kernel sources, but it did not work for an installation that did not include kernel sources. I followed the advice of others in this (and other threads) to be sure to include glibc-devel and linux-glibc-devel as paart of the software installation, but the /usr/src directory contains only the subdirectory "packages", no parts of the Linux tree.

    So here is my question:-- is there another place that kernel headers are stored if kernel sources are not included as part of the OpenSUSE installation?


    (By way of background, I am setting up OpenSUSE guest operating systems on VMware Player/Workstation/Fusion for courses that I will teach next fall. I need two different guest systems -- a large one with kernel sources for the OS course, and a smaller one without kernel sources for several other courses.)

    Any suggestions?




    Quote Originally Posted by hel1in View Post
    I am writing this to help anyone trying to install linux vmware tools in an opensuse 12.3 virtual machine. Even if you have installed the kernel headers, the vmware installation script, vmware.pl, will keep complaining that it cannot find them.

    Apart from gcc and make, you need linux-glibc-devel package (that is the headers package).

    Go to terminal and issue the following command (change accordingly as newer version kernels are introduced) :

    sudo ln -s /usr/src/linux-3.7.10-1.1-obj/x86_64/desktop/include/generated/uapi/linux /usr/src/linux-3.7.10-1.1-obj/x86_64/desktop/include/

    Credit to user ioo at Vmware communities for the soft link command.




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

    Default Re: Vmware tools installation in openSuse 12.3 - Cannot find headers

    On 2013-05-27 23:16, hclauer wrote:

    > (By way of background, I am setting up OpenSUSE guest operating systems
    > on VMware Player/Workstation/Fusion for courses that I will teach next
    > fall. I need two different guest systems -- a large one with kernel
    > sources for the OS course, and a smaller one without kernel sources for
    > several other courses.)


    You need the sources in the openSUSE host, not in the openSUSE guest.

    For the guest tools, you can simply install the openSUSE ready packaged
    guest tools.

    Otherwise, install the sources, create the tools, remove the sources,
    stop guest, clone machine, install as many as necessary.

    Done :-)

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.1 x86_64 "Asparagus" 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
  •