Page 1 of 1

CentOS 6 OpenGL guest additions failed to install

PostPosted: 16. Aug 2012, 08:28
by pau
Greetings
I installed CentOS 6 as a guest on windows host:

Code: Select all   Expand viewCollapse view
uname -r
2.6.32-279.5.1.el6.i686


Then I performed:
Code: Select all   Expand viewCollapse view
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   Expand viewCollapse view
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   Expand viewCollapse view
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.

Re: CentOS 6 OpenGL guest additions failed to install

PostPosted: 16. Aug 2012, 14:36
by Perryg
What you posted is not the error, but echo response code. Post the complete /var/log/vboxadd-install.log (as an attachment).

Re: CentOS 6 OpenGL guest additions failed to install

PostPosted: 18. Aug 2012, 11:03
by pau
In the attachment you can find /var/log/vboxadd-install.log file zipped.

Re: CentOS 6 OpenGL guest additions failed to install

PostPosted: 18. Aug 2012, 11:58
by pau
The problem is solved:
Code: Select all   Expand viewCollapse view
[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 ... :-/

Re: CentOS 6 OpenGL guest additions failed to install

PostPosted: 11. Nov 2015, 21:33
by zerosteve
pau wrote:The problem is solved:
Code: Select all   Expand viewCollapse view
[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.