Ubuntu – Error while installing VirtualBox-guest-additions

12.04servervirtualbox

Windows 7 as host machine and Ubuntu 12.04 server as guest (Virtual Box)

Got this error while installing VirtualBox-guest-additions

The gcc utility was not found.If the following module compilation fails then this could
be the reason & you should try installing it. Building the main guest additions module..fail !!
(Look at /var/log/vboxadd-install.log to find what went wrong)
could not find the X.org or XFree86 Window System, skipping !!

I read the /var/log/vboxadd-install.log file & found this which is again i can't understood

/opt/VBoxGuestAdditions-4.3.20/src/vboxguest-4.3.20/build_in_tmp: 62: /opt/VBox$t/VBox
GuestAdditions-4.3.20/src/vboxguest-4.3.20/build_in_tmp: make: not found

Creating user for the guest additions.`Creating udev rule for the guest additions kernel module.`

What's this all means ? Please help me out guys .Thanks

Best Answer

Unless you really need features only available with 4.3.20, I would suggest to use the guest additions from the Ubuntu repositories:

sudo apt-get install virtualbox-guest-dkms virtualbox-guest-utils

Restart your VM to apply the changes.