惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - 【当耐特】
Stack Overflow Blog
Stack Overflow Blog
V
Visual Studio Blog
小众软件
小众软件
The Cloudflare Blog
T
Tailwind CSS Blog
Apple Machine Learning Research
Apple Machine Learning Research
爱范儿
爱范儿
美团技术团队
WordPress大学
WordPress大学
罗磊的独立博客
Microsoft Azure Blog
Microsoft Azure Blog
A
About on SuperTechFans
Last Week in AI
Last Week in AI
月光博客
月光博客
博客园 - Franky
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
G
Google Developers Blog
GbyAI
GbyAI
B
Blog
大猫的无限游戏
大猫的无限游戏
博客园 - 聂微东
Hugging Face - Blog
Hugging Face - Blog
博客园 - 叶小钗

博客园 - bigboo

win32/mfc 异常处理与总结 [转]Windows 7 版本知多少(Win 7 N/K/KN/E) [转]XP 下面标准的dxva 接口不支持h.264 硬件解码的原因 当Windows无法打开新窗口 - bigboo - 博客园 [求助]在Windows Server 2003 SP2上安装SQL SERVER 2008 Express版本时,会遇到“调用的目标发生了异常”的错误,MSDN上提供的修复包需要解压密码 [备案]Windows10月23日 紧急安全更新(KB958644)危害程度"冲击波"类似 - bigboo - 博客园 [原创]关于“ASP.NET MVC Preview 5使用中,只有MVC Project模板,没有MVC Item 模板(MVC Item Template)的问题”解决 ASP.NET MVC Preview 5 发布了,发布日期是2008.08.28,关注一下 [转]密码学基础 (个人认为这篇文章可以作为基础教程,忘记的时候可以翻出来瞧瞧) [转]Oracle与SQL Server选型时注意的三个差异 今天注册了个联想的号称5G网络盘,试用了一下,感觉还行(尽管......),上几个图吧,呵呵 "Enterprise Library 4.0 - May 2008" 支持.net Framework 3.5的版本五月份就发布了,刚看到..... [原创]SQL Server 2008 安装过程中遇到“性能计数器注册表配置单元一致性”检查失败 问题的解决方法 IEDevToolBar - 一个分析网页的有用的工具 [z]在VM虚拟机器redhat9下安裝vmware-tool的方法 [原创]查杀中搜在线的searchnet.exe病毒、流氓“划词搜索”病毒和TSPY.AGENT.ASV病毒 关于Nero其Enterprise.Edition对于Ultra.Edition的不同之处!! Enterprise Library For .NetFramework 芮儿的来历
在VirtualBox虚拟机CentOS6.3安装VBoxAdditions时报错:“buil...
bigboo · 2013-05-26 · via 博客园 - bigboo

 [ How to solve “building the main Guest Additions module Failed” ]

 

How to solve “building the main Guest Additions module Failed”

Question:

I tried to install the VirtualBox Guest Additions module in a VM guest running  CentOS but I get this error message when everything else was okay:

building the main Guest Additions module Failed

Answer:

You lack the make command. Make is a utility that is often used to build programs from source; it runs the compiler on every source file in the right order. You need to install the make package, and possibly others: the C compiler, and the kernel headers (files generated during the compilation of the Linux kernel, that are necessary to compile third-party modules).

I hardly ever use CentOS, but I think the right command is:

yum install gcc make kernel-devel

or (will install more than you need)

yum groupinstall "Development Tools"

You may need to install other packages as well.

You need to run this command as root; depending on whether you use su or sudo:

su -c 'yum install …'
sudo yum install …

如何在VirtualBox 4.2.12下安装 CentOS 的 增强包,可以参考:

[ 教你在VirtualBox中的CentOS 6.3下安装VirtualBox增强包(GuestAddition) ]