宿主系统为Ubuntu 14,CentOS 6.5 安装VirtualBox增强工具失败:Building the OpenGL support module[FAILED]

安装先前的笔记:CentOS 6.3 中安装VirtualBOX增强工具失败:Building the main Guest Additions module[FAILED],执行了以下命令

#安装 工具/依赖库
yum install -y gcc-c++ kernel kernel-devel

#重启
reboot

重新安装“增强工具”,还是报如下错误:

Building the OpenGL support module  [FAILED]

网友提供的解决方案:

cd /media/VBOXADDITIONS_4.1.8_75467/
export MAKE='/usr/bin/gmake -i'
./VBoxLinuxAdditions.run 

安装成功。

安装的时候使用"make -i" , -i, --ignore-errors   Ignore errors from commands.表示忽略错误

原文地址:https://www.cnblogs.com/52php/p/5680802.html