当前位置: 技术问答>linux和unix
VM tool9.02安装是出现不合法头文件错误
来源: 互联网 发布时间:2017-05-11
本文导语: THe path ""is not a valid path to the 2.6.35.14-106.fc14.i686.PAE kernel headers | 检查路径 /lib/modules/2.6.35.14-106.fc14.i686/build/include/linux/ 其中2.6.35.14-106.fc14.i686是你的内核版本号,可能名称不同 某些内核版本缺少ve...
THe path ""is not a valid path to the 2.6.35.14-106.fc14.i686.PAE kernel headers
|
检查路径
/lib/modules/2.6.35.14-106.fc14.i686/build/include/linux/
其中2.6.35.14-106.fc14.i686是你的内核版本号,可能名称不同
某些内核版本缺少version.h
sudo cp /usr/include/linux/version.h /lib/modules/2.6.35.14-106.fc14.i686/build/include/linux/
/lib/modules/2.6.35.14-106.fc14.i686/build/include/linux/
其中2.6.35.14-106.fc14.i686是你的内核版本号,可能名称不同
某些内核版本缺少version.h
sudo cp /usr/include/linux/version.h /lib/modules/2.6.35.14-106.fc14.i686/build/include/linux/
|
很久以前我也遇到过这个问题,可能是某一步选错了,后来清理了重新安装就OK了。。。
cd vmware-tools-distrib/
./vmware-install.pl
Creating 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] 回车
The path "/usr/lib/vmware-tools" does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
[yes] yes
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 program
is going to create it, including needed parent directories. Is this what you
want? [yes] yes
The installation of VMware Tools 9.6.0 build-1294478 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".
Before running VMware Tools for the first time, you need to configure it by
invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want
this program to invoke the command for you now? [yes] yes
Initializing...
Making sure services for VMware Tools are stopped.
Stopping Thinprint services in the virtual machine:
Stopping Virtual Printing daemon: done
Stopping VMware Tools services in the virtual machine:
Guest operating system daemon: [ OK ]
Unmounting HGFS shares: [ OK ]
Guest filesystem driver: [ OK ]
Found a compatible pre-built module for vmci. Installing it...
Found a compatible pre-built module for vsock. Installing it...
The module vmxnet3 has already been installed on this system by another
installer or package and will not be modified by this installer.
Use the flag --clobber-kernel-modules=vmxnet3 to override.
The module pvscsi has already been installed on this system by another
installer or package and will not be modified by this installer.
Use the flag --clobber-kernel-modules=pvscsi to override.
The module vmmemctl has already been installed on this system by another
installer or package and will not be modified by this installer.
Use the flag --clobber-kernel-modules=vmmemctl to override.
The VMware Host-Guest Filesystem allows for shared folders between the host OS
and the guest OS in a Fusion or Workstation virtual environment. Do you wish
to enable this feature? [yes] yes
Found a compatible pre-built module for vmhgfs. Installing it...
Found a compatible pre-built module for vmxnet. Installing it...
The vmblock enables dragging or copying files between host and guest in a
Fusion or Workstation virtual environment. Do you wish to enable this feature?
[yes] yes
VMware automatic kernel modules enables automatic building and installation of
VMware kernel modules at boot that are not already present. This feature can be
enabled/disabled by re-running vmware-config-tools.pl.
Would you like to enable VMware automatic kernel modules?
[no] no
Thinprint provides driver-free printing. Do you wish to enable this feature?
[yes] yes
。。。。
。。。。
您可能感兴趣的文章:
本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。