ubuntu17.10在安装VMware tools是一系列问题

来源:互联网 发布:览物之情得无异乎的互 编辑:程序博客网 时间:2024/06/05 07:39

如何安装请自行百度,本文只解决./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]
然后一直回车
这是我的解决办法,可能不完全适用。

阅读全文
'); })();
0 0
原创粉丝点击
热门IT博客
热门问题 老师的惩罚 人脸识别 我在镇武司摸鱼那些年 重生之率土为王 我在大康的咸鱼生活 盘龙之生命进化 天生仙种 凡人之先天五行 春回大明朝 姑娘不必设防,我是瞎子 雅迪电动车多少钱一台 雅迪锂电电动车 雅迪电动车的价格表 雅迪电动车广告 雅迪电动车排行榜 雅迪电动自行车价格 雅迪电动车tdr740z 雅迪电动车维修点 雅迪电动车小龟王 雅迪摩托车怎么样 雅迪折叠电动车 雅迪电动车型号大全 雅迪电动车维修电话 雅迪电动车售后 雅迪电动车后备箱 雅迪电动车小绵羊 雅迪电动车维修 雅迪电动车店 雅迪电动车客服电话 雅迪电动车联系电话 雅迪电动助力车 雅迪电动车北京专卖店 雅迪电动车利润 雅迪电动车售后服务 雅迪电动车销售点 代理雅迪电动车 雅迪电动车tdr441z 雅迪电动车售后服务电话 雅迪电动车是哪里生产的 雅迪电动车三轮 雅迪小绵羊电动车 雅迪电动车电瓶价格 雅迪电动车总部 长跑王电动车 电动酷车 澳柯玛电动车 倍特72伏电动车价格 yadi 亚迪电动车 捷佳电动车价格 亚迪电动车价格及图片