On Fri, 20 Oct 2006 08:41:02 +0200 "debian" <[EMAIL PROTECTED]> wrote:
> > > I am running ETCH. > > -----Original Message----- > From: Mumia W.. > Sent: donderdag 19 oktober 2006 21:20 > To: Debian User List > Subject: Re: What is the location of the directory of the directory > of C headerfiles that match your running kernel ? > > On 10/19/2006 01:19 PM, 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. > > > > You don't say what distribution you're using. I have Sarge and > /usr/include/linux/ has a version.h. > > > -- > > The correct answer in your case is /usr/src/linux-headers-2.6.17-2-686/include since that is the directory which matches your running kernel. Check that the required file exists: ~$ dpkg -S /usr/src/linux-headers-2.6.17-2-686/include/linux/version.h linux-headers-2.6.17-2-686: /usr/src/linux-headers-2.6.17-2-686/include/linux/version.h By the way, you don't need all the other linux-headers-* packages, unless you have the corresponding linux-images-* packages installed. -- Liam -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]