<div id="blog_text" class="cnt">
WhatisthelocationofthedirectoryofCheaderfilesthatmatchyourrunningkernel?Thepath""isnotvalid.Wouldyouliketochangeit?[yes] 解决办法:1.将VMwareTools- 8.1.4-227600.tar.gz文件复制到`/software/文件夹下面2.安装VMwareTools: [root@localhosttian]#cdsoftware[root@localhosttian]#tarxzxfVMwareTools-8.1.4-227600.tar.gz[root@localhosttian]#cdvmware-tools-distrib/[root@localhosttian]#./vmware-install.plCreatinganewVMwareToolsinstallerdatabaseusingthetar4format.InstallingVMwareTools.Inwhichdirectorydoyouwanttoinstallthebinaryfiles?[/usr/bin]Whatisthedirectorythatcontainstheinitdirectories(rc0.d/torc6.d/)?[/etc/rc.d]Whatisthedirectorythatcontainstheinitscripts?[/etc/rc.d/init.d]Inwhichdirectorydoyouwanttoinstallthedaemonfiles?[/usr/sbin]Inwhichdirectorydoyouwanttoinstallthelibraryfiles?[/usr/lib/vmware-tools]Inwhichdirectorydoyouwanttoinstallthedocumentationfiles?[/usr/share/doc/vmware-tools]Thepath"/usr/share/doc/vmware-tools"doesnotexistcurrently.Thisprogramisgoingtocreateit,includingneededparentdirectories.Isthiswhatyouwant?[yes]TheinstallationofVMwareTools8.1.4build-227600forLinuxcompletedsuccessfully.Youcandecidetoremovethissoftwarefromyoursystematanytimebyinvokingthefollowingcommand:"/usr/bin/vmware-uninstall-tools.pl".BeforerunningVMwareToolsforthefirsttime,youneedtoconfigureitbyinvokingthefollowingcommand:"/usr/bin/vmware-config-tools.pl".Doyouwantthisprogramtoinvokethecommandforyounow?[yes]Initializing...StoppingVMwareToolsservicesinthevirtualmachine:Guestoperatingsystemdaemon:[确定]VirtualPrintingdaemon:[确定]UnmountingHGFSshares: [确定]Guestfilesystemdriver:[确定]Beforeyoucancompilemodules,youneedtohavethefollowinginstalled...makegcckernelheadersoftherunningkernelSearchingforGCC...DetectedGCCbinaryat"/usr/bin/gcc".Thepath"/usr/bin/gcc"appearstobeavalidpathtothegccbinary.Wouldyouliketochangeit?[no]Searchingforavalidkernelheaderpath...Thepath""isnotvalid.Wouldyouliketochangeit?[yes]WhatisthelocationofthedirectoryofCheaderfilesthatmatchyourrunningkernel? 3.下载相应的
Fedora13 Alpha版本内核版本为:2.6.33-0.52.rc8.git6.fc13.i686.PAE其下载地址为:注:不同的版本可在此网站找到相应的文件。
<div class="cnblogs_code"> [root@localhosttian]#rpm-qkernel-develpackagekernel-develisnotinstalled[root@localhosttian]#rpm-ivhftp://rpmfind.net/linux/fedora/releases/test/13-Alpha/Fedora/i386/os/Packages/kernel-devel-2.6.33-0.52.rc8.git6.fc13.i686.rpm[root@localhosttian]#rpm-qkernel-devel[root@localhosttian]#kernel-devel-2.6.33-0.52 提示:安装完kernel-devel后重启一下计算机,因为此时的系统检测的内核仍为启动时的内核版本。4.重新运行VMware的配置文件 [root@localhostbin]#/usr/bin/vmware-config-tools.pl 说明: WhatisthelocationofthedirectoryofCheaderfilesthatmatchyourrunning kernel?” ” 在线安装即可。