Find the answer to your Linux question:
Results 1 to 10 of 10
Hello well i got to the point: code: 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 ...
  1. #1
    Just Joined!
    Join Date
    Jul 2008
    Posts
    5

    how do you get VMware to work

    Hello well i got to the point:

    code: 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.



    i got no idea what to do from here

  2. #2
    Just Joined!
    Join Date
    Mar 2008
    Posts
    4

    C header files location

    Hi,

    You can look into /usr/include

    To locate any file ,use

    #locate filename

    regards
    noviceLinux

  3. #3
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    thats the default location for the header files for a custom kernel would be, I don't think the vmware script attempts any detection, you have to point that to the path of your header files for your kernel, it would be helpful to know what distro you are using

  4. #4
    Just Joined!
    Join Date
    Jul 2008
    Posts
    5
    it couldnt find my C header file and that directory didnt work, im not sure what kernel im using i havent used this computer in awhile so i dont remember much about Linux

  5. #5
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    linux installation of vmware is not the easiest task

    you need to figure out what kernel you are running and either download the source for it or install the headers using your package manager, which again will depend on the distro you are using, open console and post output of
    Code:
    uname -r
    and also please tell me what distro you are using

  6. #6
    Just Joined!
    Join Date
    Jul 2008
    Posts
    5
    this is what i got from that command:

    code: root@1[~]# uname -r
    2.6.15-27-desktop
    root@1[~]#


    And where do i get my distro from?

  7. #7
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    Code:
    cat /etc/lsb-release
    this works on ubuntu at least, i'm not sure if its standard to all distros though, otherwise i'm sure you can see in the /boot/grub/menu.lst file

  8. #8
    Just Joined!
    Join Date
    Jul 2008
    Posts
    5
    Here is what both commands gave me:

    Code: root@2[~]# cat /etc/lsb-release
    DISTRIB_ID=Ubuntu
    DISTRIB_RELEASE=6.06
    DISTRIB_CODENAME=dapper
    DISTRIB_DESCRIPTION="Ubuntu 6.06.1 LTS"
    root@2[~]# /boot/grub/menu.lst
    bash: /boot/grub/menu.lst: Permission denied
    root@2[~]#

  9. #9
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    do this
    Code:
    sudo apt-get update
    sudo apt-get upgrade
    sudo apt-get install build-essential
    then your header files will be located somewhere in /usr/src

  10. #10
    Just Joined!
    Join Date
    Jul 2008
    Posts
    5
    I went through all the files in there and i didnt find anything

Posting Permissions

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