Guest Addon Installation issues on RHEL 7.3

Discussions about using Linux guests in VirtualBox.
Post Reply
DWF
Posts: 10
Joined: 9. Mar 2016, 22:33

Guest Addon Installation issues on RHEL 7.3

Post by DWF »

Hi,

My environment:
VBox 5.1.14 on Windows 7 (64-bit)
Guest OS: RHEL 7.3 (freshly installed from ISO)

I am trying to install the Guest Addition, but keeps getting the following error:

Code: Select all

[root@cd VBOXADDITIONS_5.1.14_112924]# sh ./VBoxLinuxAdditions.run
Verifying archive integrity... All good.
Uncompressing VirtualBox 5.1.14 Guest Additions for Linux...........
VirtualBox Guest Additions installer
Removing installed version 5.1.14 of VirtualBox Guest Additions...
Copying additional installer modules ...
Installing additional modules ...
vboxadd.sh: Building Guest Additions kernel modules.
Failed to set up service vboxadd, please check the log file
/var/log/VBoxGuestAdditions.log for details.
Looking at the /var/log/VBoxGuestAdditions.log file, it says:

Code: Select all

[root@cd log]# cat VBoxGuestAdditions.log
vboxadd.sh: failed: Look at /var/log/vboxadd-install.log to find out what went wrong.
vboxadd.sh: failed: Please check that you have gcc, make, the header files for your Linux kernel and possibly perl installed..
So, I did these on my VM:

Code: Select all

[root@cd log]# gcc
gcc: fatal error: no input files
compilation terminated.
[root@cd log]# make
make: *** No targets specified and no makefile found.  Stop.
[root@cd log]# yum list | grep kernel-headers
kernel-headers.x86_64             3.10.0-514.el7          @rhel-7-server-rpms  
kernel-headers.x86_64             3.10.0-514.6.1.el7      rhel-7-server-rpms   
[root@cd log]# uname -r
3.10.0-514.el7.x86_64
It looks like I have gcc, make and the header files. BTW, I also have perl installed. So, what am I missing?

Thanks,
David
frank
Oracle Corporation
Posts: 3362
Joined: 7. Jun 2007, 09:11
Primary OS: Debian Sid
VBox Version: PUEL
Guest OSses: Linux, Windows
Location: Dresden, Germany
Contact:

Re: Guest Addon Installation issues on RHEL 7.3

Post by frank »

Could you also attach '/var/log/vboxadd-install.log'?
DWF
Posts: 10
Joined: 9. Mar 2016, 22:33

Re: Guest Addon Installation issues on RHEL 7.3

Post by DWF »

Frank,

It was already included in my original post. I'll post it here again:

Code: Select all

[root@cd log]# cat VBoxGuestAdditions.log
vboxadd.sh: failed: Look at /var/log/vboxadd-install.log to find out what went wrong.
vboxadd.sh: failed: Please check that you have gcc, make, the header files for your Linux kernel and possibly perl installed..
David
frank
Oracle Corporation
Posts: 3362
Joined: 7. Jun 2007, 09:11
Primary OS: Debian Sid
VBox Version: PUEL
Guest OSses: Linux, Windows
Location: Dresden, Germany
Contact:

Re: Guest Addon Installation issues on RHEL 7.3

Post by frank »

Hi Dave,
DWF wrote:It was already included in my original post. I'll post it here again:

Code: Select all

[root@cd log]# cat VBoxGuestAdditions.log
vboxadd.sh: failed: Look at /var/log/vboxadd-install.log to find out what went wrong.
vboxadd.sh: failed: Please check that you have gcc, make, the header files for your Linux kernel and possibly perl installed..
David
I don't see the actual file, only the message which mentions the presence of /var/log/vboxadd-install.log. Could you attach the content of that file?
Post Reply