Find the answer to your Linux question:
Results 1 to 7 of 7
I just did my 2nd debian install (network install), this time the stable version. Now when I try add vmware the install needs to now where the c header files ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2006
    Posts
    5

    debian 2.4.27 kernel-package install help


    I just did my 2nd debian install (network install), this time the stable version.
    Now when I try add vmware the install needs to now where the c header files are
    located. I did not find them so I down loaded, and installed kernel-source 2.4.27-3.
    Still vmware is not happy, so I figured I should recompile, no idea what this will do.
    Read and read some more. So I copied current config to ,config and used mkmuneconfig
    to redo the kernel, saved the image to new-config. So now I try the make-kpkg and get
    unknown command. Now another 2 hours I find I need kernel-package so I get that
    install it even did updatedb, yet still make-kpkg unknown command!

    Any one have any idea how to just install kernel-packag?
    Thanks Harry Nash


  2. #2
    Linux Guru Vergil83's Avatar
    Join Date
    Mar 2004
    Posts
    2,407
    You need to install the header files
    Code:
    apt-get install kernel-headers-`uname -r`
    http://packages.debian.org/cgi-bin/s...ge=2&number=50
    Brilliant Mediocrity - Making Failure Look Good

  3. #3
    Just Joined!
    Join Date
    Dec 2006
    Posts
    5
    Thanks, that did something, but stil the application wont install. Still
    thanks!

  4. #4
    Linux Guru Vergil83's Avatar
    Join Date
    Mar 2004
    Posts
    2,407
    what error do you get?
    Brilliant Mediocrity - Making Failure Look Good

  5. #5
    Just Joined!
    Join Date
    Dec 2006
    Posts
    5

    vmware error in debian

    The error is the the path I try to give vmware is returned with ehter
    the path for the c header is invalid and or the header file version does
    not match the running kernel. I did some more checking and I figure
    I have to reinstall and see if I can get the install to allow kernel-source
    to be installed from the start. I may have missed this. Normally you are
    asked to select packages. I am doing a network install so now I will
    try build cds.

  6. #6
    Linux Guru Vergil83's Avatar
    Join Date
    Mar 2004
    Posts
    2,407
    you don't need to reinstall. It looks like you need to make a symbolic link. Try
    Code:
    cd /usr/src
    ln -s kernel-headers-2.4.27-3-386 linux
    You may have to replace 386 with whatever your arch type is
    http://www.vandekamer.com/linux/vmware.php
    Brilliant Mediocrity - Making Failure Look Good

  7. #7
    Just Joined!
    Join Date
    Dec 2008
    Posts
    1
    Quote Originally Posted by Vergil83 View Post
    You need to install the header files
    Code:
    apt-get install kernel-headers-`uname -r`
    Debian -- Package Search Results -- search
    I believe this should now be:

    Code:
    apt-get install linux-headers-`uname -r`

    Hope this helps,
    Jeff

Posting Permissions

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