Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: cannot find headers - vmware-server

  1. #1
    Join Date
    Apr 2010
    Beans
    6

    Angry cannot find headers - vmware-server

    Hi Guys,

    Newb here.. I am trying to install vmware-server 2. I have followed the steps on; https://help.ubuntu.com/community/VMware/Server/AMD64

    The problem I am facing is with installing the linux-headers. Here is the output of what happens.

    Code:
    $ sudo apt-get install build-essential linux-headers-`uname -r` xinetd
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    build-essential is already the newest version.
    Package linux-headers-2.6.24-23-server is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    E: Package linux-headers-2.6.24-23-server has no installation candidate
    I am running ubuntu 8.04 AMD 64.

    Here is my `uname -r`

    Code:
    2.6.24-23-server
    Please help!

  2. #2
    Join Date
    Apr 2010
    Location
    Cyprus
    Beans
    8
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: cannot find headers - vmware-server

    You can try installing "linux-headers-server" package that should resolve to the currently used kernel and as a bonus you will automatically get the new headers with a new kernel installation.

    Doros

  3. #3
    Join Date
    Oct 2005
    Location
    Al Ain
    Beans
    8,737

    Re: cannot find headers - vmware-server

    When all else fails, install the kernel source, compile and install the kernel, then reboot. After that, the whole software development environment is guaranteed to be correct and VMware will install.

    Since I am forever tinkering, I always compile the kernel and then I have no problems from then on after.

  4. #4
    Join Date
    Apr 2010
    Beans
    6

    Re: cannot find headers - vmware-server

    Quote Originally Posted by HermanAB View Post
    When all else fails, install the kernel source, compile and install the kernel, then reboot. After that, the whole software development environment is guaranteed to be correct and VMware will install.

    Since I am forever tinkering, I always compile the kernel and then I have no problems from then on after.
    Thanks.. I ended up upgrading to 2.6.24-24-server and everything worked perfectly after that.

    Can anyone explain why
    Code:
    sudo apt-get install build-essential linux-headers-`uname -r` xinetd
    wasnt working out of the box? This was a fresh install...

    Thanks again guys!

  5. #5
    Join Date
    Jul 2010
    Location
    Athens, Greece
    Beans
    5
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: cannot find headers - vmware-server

    Hello everyone!

    I am sorry my stupid question, but I am pretty newbie on Ubuntu Server systems and I am facing EXACTLY the same problem, as I am trying to install VMware Server 2 on Ubuntu Server 8.04 LTS (hardy) 64-bit.

    Could you please let me know how to compile and install step-by-step the kernal, as HermanAB advised?

    Again, excuse me for the "stupid" question, but I tried to find a way to do it. I used the directions from the page https://help.ubuntu.com/community/Kernel/Compile, but with no luck...

    Looking forward for your kind help!

    Thanks a lot in advance.

  6. #6
    Join Date
    Apr 2010
    Beans
    6

    Re: cannot find headers - vmware-server

    I cant remember what I did to save my life... but my terminal does

    Try this...

    Code:
    sudo apt-get install linux-image-2.6.24-24-server

  7. #7
    Join Date
    Jul 2010
    Location
    Athens, Greece
    Beans
    5
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: cannot find headers - vmware-server

    Hello z0rt3p!

    Thank you very much for your reply. This installed the headers as expected. It is created a new directory:
    Code:
    /lib/modules/2.6.24-24-server
    After that, I gave the path "/lib/modules/2.6.24-24-server" to the installation wizard of VMware Server 2, where it says:
    Code:
    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-24-server
    But it returns again:
    Code:
    The path "/lib/modules/2.6.24-24-server" is an existing directory, but it does
    not contain a "linux" subdirectory as expected.
    Any ideas?

    Thanks a lot again for your time!

    Best regards,
    Angelos Pitsos

  8. #8
    Join Date
    Apr 2010
    Beans
    6

    Re: cannot find headers - vmware-server

    Do this... then reboot and start the vmware installer again.

    [CODE]sudo apt-get install linux-headers-2.6.24-24-server[CODE]

  9. #9
    Join Date
    Jul 2010
    Location
    Athens, Greece
    Beans
    5
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: cannot find headers - vmware-server

    I am doing this right now. What to give on that step as path, if the wizard ask me again?

  10. #10
    Join Date
    Apr 2010
    Beans
    6

    Re: cannot find headers - vmware-server

    run
    Code:
    uname -r
    and post your output.

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

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