Install Fedora9 on vmware6 and there is no Cheaderfiles when installing vmwaretools. WhatisthelocationofthedirectoryofCheaderfilesthatmatchyourrunningkernel? [/Usr/src/linux/include] solution: To solve this problem, you must install
Install Fedora 9 on vmware 6, and then install vmware tools without C header files.
What is the location of the directory of C header files that match your running
Kernel? [/Usr/src/linux/include]
Solution:
To solve this problem, you need to install the development kit that is compatible with the system kernel.
View kernel: uname-r
Kernel header file C header files:
Http://rpmfind.net/linux/rpm2html/search.php? Query = kernel-devel
Note:
When installing vmware tools, if you are prompted that you do not have permissions, you need to use the chmod 777 file name to add permissions, such as prompting that the vmware-install.pl has no permissions, then use the following command:
Chmod 777 vmware-install.pl
Below is my fc9 installation demo, my kernel version is 2.6.25-14. fc9.i686, so select kernel-devel-2.6.25-14.fc9.i686.rpm when wget.
You need to check your kernel version and select the correct Kernel on the above URL.
Important:
After the kernel is installed, use this command to determine the installation directory of the kernel C header.
Ls-d/usr/src/kernels/$ (uname-r) */include
[Root @ localhost ~] # Uname-r
2.6.25-14. fc9.i686
[Root @ localhost ~] # Rpm-q kernel-devel
Package kernel-devel is not installed
[Root @ localhost ~] # Cd/home
[Root @ localhost home] # wget ftp://rpmfind.net/linux/fedora/releases/9/Everything/i386/ OS /Packages/kernel-devel-2.6.25-14.fc9.i686.rpm
[Root @ localhost home] # rpm-I kernel-devel-2.6.25-14.fc9.i686.rpm
[Root @ localhost home] # rpm-q kernel-devel
Kernel-devel-2.6.25-14.fc9.i686