Problem with installing vmware tool on Fedora Core6

  
                  1, install GCC development tools
# Install software called by VMware Tools yum install gcc 2, install kernel files
# Install kernel header files yum install kernel-devel 3, check Whether the version of the kernel file matches, if it does not match, you need to upgrade
# Check it matches the running kernel uname -r # running kernel rpm -q kernel-devel # installed kernel headers 4, the third is not if not Match, you need to upgrade the kernel file, restart the system after the upgrade
# It the two versions do not match, run yum -y upgrade kernel kernel-devel # then reboot (but only if they did not match). B>5, find the location of the kernel file, when you need to install the VMware-tool tool (I will find it automatically when I install it, do not need to specify it manually)
# Find out where the kernel headers are ls -d /usr/Src/kernels/$(uname -r)*/include # You may need this later. 6, download the virtual machine tool installation package
ie: VMware-tool installation package, and extract (specifically in the virtual machine On the toolbar, click on "VM"->"Install VMware Tools", the installation package will appear, select the *.gz file, extract it to a directory.) The following is the specific implementation method in the command line, I implemented in the graphical interface # If you already have VMwareTools-5.5. 2-29772.tar.gz on disk, SKIP THIS STEP! # Download VMware-workstation-5.5.2-29772.tar.gz from vmware.com # Extract the VMware Tools iso from it tar --strip-components=3 - Zxvf VMware-workstation-5.5.2-29772.tar.gz \\ vmware-distrib/lib/isoimages/linux.iso # Create a temporary mount point mkdir /mnt/vmtools-temp # Mount the image mount -o loop linux.iso /mnt/vmtools-temp # Copy VMware Tools from the mount cp /mnt/vmtools-temp/VMwareTools-5.5.2-29772.tar.gz /tmp/# Unmount the image and tidy up umount /mnt/vmtools-temp rmdir /mnt/vmtools-temp rm linux.iso # Unpack VMware Tools to a temporary directory cd /tmp/tar zxvf VMwareTools-5.5.2-29772.tar.gz 7, enter the decompression target directory, execute the following code, all the way Press Enter to press
cd /tmp/vmware-tools-distrib/./vmware-install.pl 8 Until this step, copy and paste the path in step 5, and then press ENTER has been, until the screen resolution selected.
What is the location of the directory of C header files that match your running kernel? [/usr/src/kernels/2.6.18-1.2849.fc6-i686/include] I am on the online installation steps, do After this step, it will be installed. Prompt for the following error: What is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include] /usr/src/kernels/2.6.20-1.2952.fc6-i686/include The Directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match your running kernel (version 2.6.20-1.2952.fc6). Even if the module were to compile successfully, it would not load into the running kernel. Experts look at what I should do to solve this problem. Thank you.

Copyright © Windows knowledge All Rights Reserved