Page 1 of 1

Install Additions on Oracle Linux 6.8 Guest - Fails looking like missing headers or gcc

Posted: 1. Sep 2016, 20:14
by dmittleider
When I run the autorun from Gnome I get
vboxadd.sh: Building Guest Additions kernel modules.
Failed to set up service vboxadd, please check the log file
/var/log/VBoxGuestAdditions.log for details.

When I check the log it gives me this message:
vboxadd.sh: failed: Please check that you have gcc, make, the header files for your Linux kernel and possibly perl installed..

I've done a yum install for kernel-headers, kernel-devel, gcc, make

The last time I installed this on OEL 6.4 with somewhere around mid-4 version of VB I didn't run into any issues. Any ideas?

Re: Install Additions on Oracle Linux 6.8 Guest - Fails looking like missing headers or gcc

Posted: 1. Sep 2016, 20:17
by dmittleider
If this helps, this is uname -a says my version is 4.1.12-61.1.6.el6uek.x86_64 and the headers says 4.4.19-4.4.y20160823.ol6.x86_64. Maybe a version mismatch, anybody know the command to clean that up?

Re: Install Additions on Oracle Linux 6.8 Guest - Fails looking like missing headers or gcc

Posted: 1. Sep 2016, 20:21
by dmittleider
I think it's working now:

I did yum remove kernel-headers

and then

yum -y install kernel-uek-devel-$(uname -r)

Re: Install Additions on Oracle Linux 6.8 Guest - Fails looking like missing headers or gcc

Posted: 3. Sep 2016, 21:11
by Mskvaer
It worked for me, too. Similar problem, this solution worked.

(Why software from Oracle needs mystical patches to work with software form Oracle ... ah well)