CentOS 6 OpenGL guest additions failed to install

Discussions about using Linux guests in VirtualBox.

CentOS 6 OpenGL guest additions failed to install

Postby pau » 16. Aug 2012, 08:28

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.
Last edited by pau on 18. Aug 2012, 11:08, edited 1 time in total.
pau
 
Posts: 12
Joined: 16. Aug 2012, 08:07

Re: CentOS 6 OpenGL guest additions failed to install

Postby Perryg » 16. Aug 2012, 14:36

What you posted is not the error, but echo response code. Post the complete /var/log/vboxadd-install.log (as an attachment).
Perryg
Site Moderator
 
Posts: 33643
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

Postby pau » 18. Aug 2012, 11:03

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

Re: CentOS 6 OpenGL guest additions failed to install

Postby pau » 18. Aug 2012, 11:58

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 ... :-/
pau
 
Posts: 12
Joined: 16. Aug 2012, 08:07

Re: CentOS 6 OpenGL guest additions failed to install

Postby zerosteve » 11. Nov 2015, 21:33

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.
zerosteve
 
Posts: 1
Joined: 11. Nov 2015, 21:30


Return to Linux Guests

Who is online

Users browsing this forum: No registered users and 12 guests