Announcement

Collapse
No announcement yet.

installing vmware tools on kubuntu guest

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    installing vmware tools on kubuntu guest

    I am running vmaware 5.5.1 with a windows xp host and kubuntu guest (kubuntu 7.10 was what I installed and installed all updates not sure if that changed the version)

    I am trying to install the vmware tools and getting: "What is the location of the directory of C header files that match your running
    kernel? [/usr/src/linux/include]"

    I have tried giving several directories all resulting in this "The path "the directory entered" is not an existing directory." with the exception of one which was suggested on a website.

    The directories I have tried that gave the directory entered" is not an existing directory. are:
    /usr/scr/linux-headers-3.6.24-16-generic/include
    /usr/scr/linux-headers-3.6.24-16/include

    when I tried:
    /lib/modules/2.6.24-16-generic/build/include it gave the following: "The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match
    your running kernel (version 2.6.24-16-generic). Even if the module were to
    compile successfully, it would not load into the running kernel."

    below is the information I was able to copy from the terminal session from the attempt before making this post:



    -r`
    [sudo] password for prech:
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    build-essential is already the newest version.
    linux-headers-2.6.24-16-generic is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    prech@prech-desktop:~$ cd ~/Desktop/vmware-tools-distrib
    prech@prech-desktop:~/Desktop/vmware-tools-distrib$ sudo ./vmware-install.pl
    A previous installation of VMware software has been detected.

    The previous installation was made by the tar installer (version 3).

    Keeping the tar3 installer database format.

    Uninstalling the tar installation of VMware Tools.

    Stopping VMware Tools services in the virtual machine:
    Guest operating system daemon:-ne done


    The removal of VMware Tools 5.5.1 build-19175 for Linux completed successfully.
    Thank you for having tried this software.

    Installing the content of the package.

    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-tools]

    The path "/usr/lib/vmware-tools" does not exist currently. This program is going
    to create it, including needed parent directories. Is this what you want?
    [yes]


    In which directory do you want to install the documentation files?
    [/usr/share/doc/vmware-tools]
    The path "/usr/share/doc/vmware-tools" does not exist currently. This program is
    going to create it, including needed parent directories. Is this what you want?
    [yes]

    The installation of VMware Tools 5.5.1 build-19175 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-tools.pl".

    Before running VMware Tools for the first time, you need to configure it by
    invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want
    this program to invoke the command for you now? [yes]


    Stopping VMware Tools services in the virtual machine:
    Guest operating system daemon:-ne done

    Trying to find a suitable vmhgfs module for your running kernel.

    None of the pre-built vmhgfs modules for VMware Tools is suitable for your
    running kernel. Do you want this program to try to build the vmhgfs 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? [/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] /usr/scr/linux-headers-3.6.24-16-generic/include

    The path "/usr/scr/linux-headers-3.6.24-16-generic/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] /usr/scr/linux-headers-3.6.24-16/include

    The path "/usr/scr/linux-headers-3.6.24-16/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] /lib/modules/2.6.24-16-generic/build/include

    The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match
    your running kernel (version 2.6.24-16-generic). Even if the module were to
    compile successfully, it would not load into the running kernel.

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



    #2
    Re: installing vmware tools on kubuntu guest

    You don't have the build essentials package installed. Do this in konsole

    Code:
    sudo apt-get install build-essential linux-headers-`uname -r`
    Challenges are what that keeps us from the borderline of boredom in life's journey. Linux user no. 419401 currently running Kubuntu 24.04
    _______________________________________________
    Current System: Beelink Mini PC, AMD Ryzen 7 5800H 8 Core(Up to 4.4GHz), 32GB DDR4 RAM 1TB NVME M.2 SSD, SER5 MAX Mini Desktop Computer with TCL BeyondTV5 serving as my monitor. ​

    Comment


      #3
      Re: installing vmware tools on kubuntu guest

      Originally posted by Princey
      You don't have the build essentials package installed. Do this in konsole

      Code:
      sudo apt-get install build-essential linux-headers-`uname -r`
      ok, I've tried entering this command first and then proceeding on, and got stuck at the same point.

      Comment


        #4
        Re: installing vmware tools on kubuntu guest

        Installing VMware Tools with VMware Player
        Windows no longer obstructs my view.
        Using Kubuntu Linux since March 23, 2007.
        "It is a capital mistake to theorize before one has data." - Sherlock Holmes

        Comment


          #5
          Re: installing vmware tools on kubuntu guest

          Originally posted by Snowhog
          I am not sure if I am following this correctly, but that link appears to be talking about installing windows?

          I am running windows with VMware installed and Kubunto installed as the guest OS. I am trying to get the VMware tools installed so that I can use the system to its fullest but have run into a road block where the install is asking for a path that I can't figure out where the information is that it is asking for so that I can provide the required path.

          Comment


            #6
            Re: installing vmware tools on kubuntu guest

            How to Install VMware Tools in Linux
            Installing VMware tools on Ubuntu/Kubuntu/Xubuntu Guests
            How to Install VMware Tools in your Windows Guest
            Windows no longer obstructs my view.
            Using Kubuntu Linux since March 23, 2007.
            "It is a capital mistake to theorize before one has data." - Sherlock Holmes

            Comment


              #7
              Re: installing vmware tools on kubuntu guest

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

              worked for me. It installed the correct kernel headers in /usr/src/linux-headers-2.6.35-28-generic

              I added a link to /usr/src

              ln -s linux-headers-2.6.35-28-generic llinux

              and gave the vmware kernel headers directory: /usr/src/linux/include
              and the modules built and installed after that.

              John

              Comment

              Working...
              X