CentOS   发布时间:2019-10-31  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了安装VMwareTools时出错:What is the location of the directory of C header files that match your running kernel?大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。

<div id="blog_text" class="cnt">

 

出现 :

 

675_17@what is the LOCATIOn of the directory of C header files that match your runningkernel?The path "" is not valid.Would you like to change it? [yes]

解决办法:1.将VMwareTools- 8.1.4-227600.tar.gz文件复制到`/software/文件夹下面2.安装VMwareTools:

675_17@[root@localhost tian]#cd software[root@localhost tian]#tar xzxf VMwareTools-8.1.4-227600.tar.gz[root@localhost tian]# cd vmware-tools-diStrib/[root@localhost tian]#./vmware-install.plCreaTing a new VMware Tools installer database using the tar4 format.Installing VMware Tools.In which directory do you want to install the binary files?[/usr/bin]what is the directory that contains the init directories (rc0.d/ to rc6.d/)?[/etc/rc.d]what is the directory that contains the init scripts?[/etc/rc.d/init.d]In which directory do you want to install the daemon files?[/usr/sbin]In which directory do you want to install the library files?[/usr/lib/vmware-tools]In which directory do you want to install the documentation files?[/usr/share/doc/vmware-tools]The path "/usr/share/doc/vmware-tools" does not exist currently. This programis going to create it, including needed parent directories. Is this what youwant? [yes]The installation of VMware Tools 8.1.4 build-227600 for Linux completedsuccessfully. You can decide to remove this software from your system at anytime by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".before running VMware Tools for the first time, you need to configure it byinvoking the following command: "/usr/bin/vmware-config-tools.pl". Do you wantthis program to invoke the command for you now? [yes]Initializing...Stopping VMware Tools services in the virtual machine:Guest operaTing system daemon:                [确定]Virtual PrinTing daemon:                      [确定]UnmounTing HGFS shares:                       [确定]Guest filesystem driver:                      [确定]Before you can compile modules, you need to have the following installed...makegcckernel headers of the running kernelSearching for GCC...Detected GCC binary at "/usr/bin/gcc".The path "/usr/bin/gcc" appears to be a valid path to the gcc binary.Would you like to change it? [no]Searching for a valid kernel header path...The path "" is not valid.Would you like to change it? [yes]what is the LOCATIOn of the directory of C header files that match your runningkernel?

3.下载相应的l.rpm包进行安装

Fedora13 Alpha版本内核版本为:2.6.33-0.52.rc8.git6.fc13.i686.PAE下载地址为:注:不同的版本可在此网站找到相应的文件。

BACkground-color: #c0c0c0; color: #ff0000; font-size: 14pt">----- 如果网络畅通,可以 运行 [ yum -y install kernel-devel ],进行安装就6M,很快

<div class="cnblogs_code">

@H_675_17@[root@localhost tian]#rpm -q kernel-devel package kernel-devel is not installed[root@localhost tian]#rpm -ivh ftp://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@localhost tian]#rpm -q kernel-devel[root@localhost tian]#kernel-devel-2.6.33-0.52

提示:安装完kernel-devel后重启一下计算机,因为此时的系统检测的内核仍为启动时的内核版本。4.重新运行VMware的配置文件

675_17@[root@localhost bin]# /usr/bin/vmware-config-tools.pl

说明:

      遇到这个问题“what is the LOCATIOn of the directory of C header files that match your running kernel?

即可。。。

安装编译器gcc,同理,我们可以用运行命令“” 在线安装即可。

大佬总结

以上是大佬教程为你收集整理的安装VMwareTools时出错:What is the location of the directory of C header files that match your running kernel?全部内容,希望文章能够帮你解决安装VMwareTools时出错:What is the location of the directory of C header files that match your running kernel?所遇到的程序开发问题。

如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。
标签: