Error building main Guest Additions Module while installing VirtualBox guest additions
Posted
by
Praveen Sripati
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Praveen Sripati
Published on 2012-10-21T13:05:47Z
Indexed on
2012/10/30
17:20 UTC
Read the original article
Hit count: 460
virtualbox
|guest-additions
I have installed Ubuntu 12.10 Guest on Ubuntu 12.04 Host using VirtualBox. Everything is from repository and no direct install. When I install the guest additions, the below error is shown in the console. Before running the command I mapped the VBoxGuestAdditions.iso in the Guest.
The closest I could get is this article which says to install the latest version of VirtualBox (not the one from the repository). Is there any alternate solution?
sudo ./VBoxLinuxAdditions.run
Verifying archive integrity... All good.
Uncompressing VirtualBox 4.1.12 Guest Additions for Linux.........
VirtualBox Guest Additions installer
Removing installed version 4.1.12 of VirtualBox Guest Additions...
Removing existing VirtualBox DKMS kernel modules ...done.
Removing existing VirtualBox non-DKMS kernel modules ...done.
Building the VirtualBox Guest Additions kernel modules
The headers for the current running kernel were not found. If the following
module compilation fails then this could be the reason.
Building the main Guest Additions module ...fail!
(Look at /var/log/vboxadd-install.log to find out what went wrong)
Doing non-kernel setup of the Guest Additions ...done.
Installing the Window System drivers
Warning: unknown version of the X Window System installed. Not installing
X Window System drivers.
Installing modules ...done.
Installing graphics libraries and desktop services components ...done.
© Ask Ubuntu or respective owner