ubuntu17.10在安装VMware tools是一系列问题
2017-12-26 14:13
344 查看
如何安装请自行百度,本文只解决./vmware-install.pl后遇到的问题
首先会提示你没有ifconfig
解决方法:
sudo apt-get install net-tools
然后会提示
Before you can compile modules, you need to have the following installed…
make
gcc
kernel headers of the running kernel
Searching for GCC…
The path “” is not valid path to the gcc binary.
Would you like to change it? [yes]
解决办法:
sudo apt-get install gcc
我顺便把g++也安装了
sudo apt-get install g++
这样已经安装好gcc
各种问题接踵而至:
What is the location of the directory of C header files that match your running kernel?
解决办法
cd /usr/src 选择你的linux版本
cd linux-headers-4.3.0-21-generic
cp -p generated/utsrelease.h linux/utsrelease.h
cp -p generated/autoconf .h linux/autoconf .h
这样基本配置完毕
再次在你的安装目录运行 ./vmware-install.pl
遇到如下问题按下面操作
What is the location of the gcc program on your machine? /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 running
kernel? /lib/modules/4.13.0.21-generic/build/include
这里是你的版本哈
The path “/lib/modules/4.13.0.21-generic/build/include” appears to be a valid
path to the kernel headers of the running kernel.
Would you like to change it? [no]
然后一直回车
这是我的解决办法,可能不完全适用。
首先会提示你没有ifconfig
解决方法:
sudo apt-get install net-tools
然后会提示
Before you can compile modules, you need to have the following installed…
make
gcc
kernel headers of the running kernel
Searching for GCC…
The path “” is not valid path to the gcc binary.
Would you like to change it? [yes]
解决办法:
sudo apt-get install gcc
我顺便把g++也安装了
sudo apt-get install g++
这样已经安装好gcc
各种问题接踵而至:
What is the location of the directory of C header files that match your running kernel?
解决办法
cd /usr/src 选择你的linux版本
cd linux-headers-4.3.0-21-generic
cp -p generated/utsrelease.h linux/utsrelease.h
cp -p generated/autoconf .h linux/autoconf .h
这样基本配置完毕
再次在你的安装目录运行 ./vmware-install.pl
遇到如下问题按下面操作
What is the location of the gcc program on your machine? /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 running
kernel? /lib/modules/4.13.0.21-generic/build/include
这里是你的版本哈
The path “/lib/modules/4.13.0.21-generic/build/include” appears to be a valid
path to the kernel headers of the running kernel.
Would you like to change it? [no]
然后一直回车
这是我的解决办法,可能不完全适用。
相关文章推荐
- Ubuntu安装VMware Tools,解决无法找到kernel header path的问题
- vmware虚拟机ubuntu和red hat等vmware tools安装问题
- Ubuntu 12.04 LTS安装VMware Tools无法找到kernel header path的问题
- 关于vmware tools安装的一系列问题
- 关于VMware6.5下Ubuntu9.04安装VMware tools的一些问题总结
- Ubuntu 12.04 LTS安装VMware Tools无法找到kernel header path的问题 (转
- VMware虚拟机中ubuntu安装VMware tools遇到的问题
- XP SP3 下,用 VMware 7.1.2 安装 Ubuntu 11.10,再安装 VMware Tools 时碰到的问题和解决方法
- 在 VMware Ubuntu 64 里安装 Vmware Tools工具,能够解决不能满屏显示与从客户机复制文件到虚拟机的问题
- Ubuntu10.10中安装VMware tools出现问题后如何解决
- VMware Tools的简易安装---解决Ubuntu 14.10不能满屏显示问题
- XPS13-Ubuntu安装出现的问题--14.04无法联网/17.10每次开机引导安装
- Ubuntu--有关VMware Tools安装问题
- 解决Ubuntu安装VMware tools后鼠标指针平滑移动问题
- ubuntu16.04 正在进行简易安装时 无法安装 vmware tools的问题
- 虚拟机中ubuntu安装vmware tools时找不到C header files问题解决
- 解决Ubuntu安装VMware tools后鼠标指针平滑移动问题
- ubuntu14.04在安装虚拟机VMware Tools-10.0时的编译问题
- Ubuntu 13.04 安装 VMware Tools,解决无法找到kernel header path的问题
- 在Ubuntu Server 14.04 LTS下安装VMware Tools(解决与主机共享问题---Mac虚拟机