VMware: does not contain the file “linux/version.h” as expected
Error:
…
The path “/usr/src/linux/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.
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
Solution
Check if you have installed these packages (your kernel version may be different).
linux-headers-2.6-686
linux-headers-2.6.18-6
linux-headers-2.6.18-6-686
linux-image-2.6-686
linux-image-2.6.18-6-686
linux-kbuild-2.6.18
linux-kernel-headers
Following link must also exist:
ll /usr/src/
…
lrwxrwxrwx 1 root src 27 2008-07-14 13:16 linux -> linux-headers-2.6.18-6-686/
drwxr-xr-x 17 root root 4096 2008-07-14 13:12 linux-headers-2.6.18-6
drwxr-xr-x 4 root root 4096 2008-07-14 13:15 linux-headers-2.6.18-6-686
drwxr-xr-x 3 root root 4096 2007-06-04 21:03 linux-kbuild-2.6.18
drwxrwsrwx 5 root src 4096 2007-06-04 21:09 vmware-server