where's headers in kubuntu

Discussion in 'Linux, BSD and Other OS's' started by donkey42, Sep 3, 2006.

  1. donkey42

    donkey42 plank

    Likes Received:
    9
    Trophy Points:
    38
    hi guys, another one from thicko me,
    installing VMware, prompted by konsole for the location of headers
    Code:
    What is the location of the directory of C header files that match your running
    kernel? [/usr/src/linux/include]
    i presumed /usr/src/linux/include is the default, so, just pressed enter (as usual, as default locatiions are usually correct) so i created it

    then
    Code:
    The path "/usr/src/linux/include" is an existing directory, but it does not
    contain a "linux" subdirectory as expected.
    where are the headers ?
    or do i need to redownload them ?
     
  2. megamaced

    megamaced Geek Geek Geek!

    Likes Received:
    0
    Trophy Points:
    36
    You need to install the Kernel headers first

    Code:
    sudo apt-get install linux-headers-386
    Or if you installed the 686 kernel then you should type:

    Code:
    sudo apt-get install linux-headers-686
     
  3. donkey42

    donkey42 plank

    Likes Received:
    9
    Trophy Points:
    38
    headers prob sorted, now new prob with VMware, installed and configured ok, but when i try to run, i get this (not very polite) error (not that i expected politeness from an OS)
    Code:
    root@dave-desktop:/home/dave# vmware
    /usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libpng12.so.0/libpng12.so.0: no version information available (required by /usr/lib/libcairo.so.2)
    Xlib: connection to ":0.0" refused by server
    Xlib: No protocol specified
    
    Xlib: connection to ":0.0" refused by server
    Xlib: No protocol specified
    
    root@dave-desktop:/home/dave# 
    thankies evertybody, i'm not acting thick on purpose, i realy am that thick, when it come to linux, again thankies
     
  4. megamaced

    megamaced Geek Geek Geek!

    Likes Received:
    0
    Trophy Points:
    36
    You can't launch graphical programs from the command line whilst logged in as root.

    If you want to run it as root, then type:

    Code:
    kdesu vmware
    But you don't actually need to run VMware as root anyway
     
  5. donkey42

    donkey42 plank

    Likes Received:
    9
    Trophy Points:
    38
    thankies

    [ot]i can't remember (original post, you don't have to edit posts on my acount, i'm a big boy (in more ways than 1) i can take it (but not in that way)) but thats nothing new, but thanks again, those same keyboard charactors are getting seriously warn[/ot]
     

Share This Page