[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: What is the location of the directory of the directory of C header files that match your running kernel ?



On Thu, 2006-10-19 at 20:19 +0200, debian wrote:
> Hello,
> 
> i want to install vmware 5.5 workstation on my debian linux.
> 
> This is my configuration:
> ca-phlinux:/# uname -a
> Linux ca-phlinux 2.6.17-2-686 #1 SMP Wed Sep 13 16:34:10 UTC 2006 i686
> GNU/Linux
> ca-phlinux:/#
> 
> The installation now asks:
> What is the location of the directory of C header files that match your
> running
> kernel? [/usr/src/linux/include]
> 
> i installed header files and kernel source with apt-get.
> This is my /usr/src/  directory:
> 
> ca-phlinux:/usr/src# ls -al
> total 39896
> drwxrwsr-x 18 root src      4096 2006-10-03 16:00 .
> drwxr-xr-x 12 root root       96 2006-10-02 13:44 ..
> drwxr-xr-x  3 root root       16 2006-10-02 15:42 kernel-patches
> drwxr-xr-x 18 root root     4096 2006-10-02 17:55 linux-2.6.18
> drwxr-xr-x 17 root root     4096 2006-10-02 18:04 linux-headers-2.6.17-2
> drwxr-xr-x  4 root root     4096 2006-10-02 18:04
> linux-headers-2.6.17-2-486
> drwxr-xr-x  4 root root     4096 2006-10-02 18:04
> linux-headers-2.6.17-2-686
> drwxr-xr-x  4 root root     4096 2006-10-02 18:05
> linux-headers-2.6.17-2-686-bigmem
> drwxr-xr-x  4 root root     4096 2006-10-02 18:05
> linux-headers-2.6.17-2-k7
> drwxr-xr-x 17 root root     4096 2006-10-02 18:05
> linux-headers-2.6.17-2-vserver
> drwxr-xr-x  4 root root     4096 2006-10-02 18:05
> linux-headers-2.6.17-2-vserver-686
> drwxr-xr-x  4 root root     4096 2006-10-02 18:05
> linux-headers-2.6.17-2-vserver-k7
> drwxr-xr-x 17 root root     4096 2006-10-02 18:05
> linux-headers-2.6.17-2-xen
> drwxr-xr-x  4 root root     4096 2006-10-02 18:05
> linux-headers-2.6.17-2-xen-686
> drwxr-xr-x  4 root root     4096 2006-10-02 18:05
> linux-headers-2.6.17-2-xen-k7
> drwxr-xr-x  3 root root       16 2006-10-02 18:04 linux-kbuild-2.6.17
> drwxr-xr-x 19 root root     4096 2006-10-02 16:12 linux-source-2.6.17
> -rw-r--r--  1 root root 40732624 2006-09-13 17:52
> linux-source-2.6.17.tar.bz2
> drwxr-xr-x  7 root root       80 2006-10-03 16:00 rpm
> ca-phlinux:/usr/src#
> 
> 
> so i added  "/usr/src/linux-headers-2.6.17-2/includeso i
> tried:/usr/src/linux-headers-2.6.17-2/include"   to complete
> 
> What is the location of the directory of C header files that match your
> running
> kernel? [/usr/src/linux/include]
> /usr/src/linux-headers-2.6.17-2/includeso i
> tried:/usr/src/linux-headers-2.6.17-2/include
> 
> The path "/usr/src/linux-headers-2.6.17-2/include" is a kernel header
> file
> directory, but it does not contain the file "linux/version.h" as
> expected.  This
> can happen if the kernel has never been built, or if you have invoked
> the "make
> mrproper" command in your kernel directory.  In any case, you may want
> to
> rebuild your kernel.
> 
> 
> 
> i tried the same with:
> 
> 
> 
> What is the location of the directory of C header files that match your
> running
> kernel? [/usr/src/linux/include]
> /usr/src/linux-headers-2.6.17-2-486/include
> 
> What is the location of the directory of C header files that match your
> running
> kernel? [/usr/src/linux/include]
> /usr/src/linux-headers-2.6.17-2-686/include
> 
> What is the location of the directory of C header files that match your
> running
> kernel? [/usr/src/linux/include] /usr/src/linux-source-2.6.17/include
> 
> 
> 
> ....because i don't know what the hell this is about.
> 
> i installed Debian with network installation and it works fine.
> Never had to change something about the kernel.
> How can i make this work ?
> 
> thnx.
> Phil.
> 
> 
Does  /usr/src/linux-headers-2.6.17-2-686/include/linux/version.h
contain the line   #define UTS_RELEASE "2.6.17-2-686" ?  I had the same
problem with 2.6.18 and had to add it.  



Reply to: