Page 1 of 1

[RESOLVED] Problem installing Guest Additions

Posted: 2012/01/04 07:07:12
by HenrykD
I have still problem installing Guest Additions on CentOS 6.2 as a Guest OS in VirtualBox 4.1.8_75467:
Building the OpenGL support module [FAILED]
(Look at /var/log/vboxadd-install.log to find out what went wrong):
[root@centos log]# cat vboxadd-install.log |grep echo
echo " ERROR: Kernel configuration is invalid."; \
echo " include/linux/autoconf.h or include/config/auto.conf are missing."; \
echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \

Files autoconf.h and auto.conf are present.

Kernel is newest:
[root@centos log]# rpm -qa |grep kernel
kernel-headers-2.6.32-220.2.1.el6.x86_64
abrt-addon-kerneloops-2.0.4-14.el6.centos.x86_64
dracut-kernel-004-256.el6.noarch
kernel-2.6.32-220.2.1.el6.x86_64
libreport-plugin-kerneloops-2.0.5-20.el6.x86_64
kernel-firmware-2.6.32-220.2.1.el6.noarch
kernel-devel-2.6.32-220.2.1.el6.x86_64

I added patch for Centos 6.2 and I have the same problem.

On the installed and updated Ubuntu 11.10 Guest Additions installed without any problems.

[RESOLVED] Problem installing Guest Additions

Posted: 2012/01/04 21:41:39
by pschaff
Did you follow the patch procedure in the Wiki article [url=http://wiki.centos.org/HowTos/Virtualization/VirtualBox/CentOSguest]CentOS as a Guest OS in VirtualBox[/url]?

Re: Problem installing Guest Additions

Posted: 2012/01/05 06:38:34
by HenrykD
Yes, I added patch for Centos 6.2 and I have the same problem.

VirtualBox 4.1.8_75467 program is installed on Windows XP SP3 32-bit system.
Perhaps the problem is like in this article: [url=https://www.virtualbox.org/ticket/10071]Ticket #10071 (new defect)[/url].

[RESOLVED] Problem installing Guest Additions

Posted: 2012/01/10 17:59:42
by HenrykD
Finally it worked:

[code]
Building the OpenGL support module [ [color=009900]OK[/color] ][/code]

Thank you very much.

Re: [RESOLVED] Problem installing Guest Additions

Posted: 2012/01/10 18:38:10
by pschaff
You are welcome. Thanks for reporting back. Marking this thread [RESOLVED] for posterity.