CentOS 6 OpenGL guest additions failed to install

Discussions about using Linux guests in VirtualBox.
Post Reply
pau
Posts: 12
Joined: 16. Aug 2012, 08:07

CentOS 6 OpenGL guest additions failed to install

Post by pau »

Greetings
I installed CentOS 6 as a guest on windows host:

Code: Select all

uname -r
2.6.32-279.5.1.el6.i686
Then I performed:

Code: Select all

yum update -y
...
yum install dkms binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-devel -y
...
But when i started VB guest additions installation, I got this:

Code: Select all

Uncompressing VisrtualBox 4.1.18 Guest Additions for Linux ...
...
Building the OpenGL support module		[FAILED]
(Look at /var/log/vboxadd-install.log to find out what went wrong)
Looking into log:

Code: Select all

make KBUILD_VERBOSE=1 CONFIG_MODULE_SIG= -C /lib/modules/2.6.32-279.5.1.el6.i686
/build SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 modules
test -e include/linux/autoconf.h -a -e include/config/auto.conf || (		

        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.";
        echo;	
...
What am I supposed to do?
Thak you very much in advance.
Last edited by pau on 18. Aug 2012, 11:08, edited 1 time in total.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: CentOS 6 OpenGL guest additions failed to install

Post by Perryg »

What you posted is not the error, but echo response code. Post the complete /var/log/vboxadd-install.log (as an attachment).
pau
Posts: 12
Joined: 16. Aug 2012, 08:07

Re: CentOS 6 OpenGL guest additions failed to install

Post by pau »

In the attachment you can find /var/log/vboxadd-install.log file zipped.
Attachments
vboxadd-install.zip
(5.69 KiB) Downloaded 175 times
pau
Posts: 12
Joined: 16. Aug 2012, 08:07

Re: CentOS 6 OpenGL guest additions failed to install

Post by pau »

The problem is solved:

Code: Select all

[myusername@localhost~]$ su -
Password:
[root@localhost~]# cd /media/VBOXADDITIONS_4.1.12_77245/
[root@localhost VBOXADDITIONS_4.1.12_77245]# export MAKE='/usr/bin/gmake -i'
[root@localhost VBOXADDITIONS_4.1.12_77245]# ./VBoxLinuxAdditions.run
...
Building the OpenGL support module   [OK]
...
Then I restarted the guest system (CentOS 6.3) and everything is working: mouse integration, dynamic screen resolution, etc ... :-/
zerosteve
Posts: 1
Joined: 11. Nov 2015, 21:30

Re: CentOS 6 OpenGL guest additions failed to install

Post by zerosteve »

pau wrote:The problem is solved:

Code: Select all

[myusername@localhost~]$ su -
Password:
[root@localhost~]# cd /media/VBOXADDITIONS_4.1.12_77245/
[root@localhost VBOXADDITIONS_4.1.12_77245]# export MAKE='/usr/bin/gmake -i'
[root@localhost VBOXADDITIONS_4.1.12_77245]# ./VBoxLinuxAdditions.run
...
Building the OpenGL support module   [OK]
...
Then I restarted the guest system (CentOS 6.3) and everything is working: mouse integration, dynamic screen resolution, etc ... :-/
I had the same problem, this is a solid fix for guest additions 5.0.10 on 2.6.32-573.8.1, thank you sir.
Post Reply