Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I installed Lubuntu as a guest OS in VirtualBox, and I tried installing the guest additions as I would in Windows, from "Devices->Insert Guest Additions CD Image... (Host+D)", and then running the autorun.sh file.

This failed, however, with these errors:

The make utility was not found. If the following module compilation fails then
this could be the reason and you should try installing it.

The gcc utility was not found. If the following module compilation fails then
this could be the reason and you should try installing it.

Building the main Guest Additions module ...fail!
share|improve this question

2 Answers 2

I found the solution in the end, instead of installing from the VirtualBox CD, I installed from Lubuntu's repos, using this command:

sudo apt-get install virtualbox-guest-dkms

After that everything worked - resizing, shared clipboard (after I enabled it, it's disabled by default).

share|improve this answer

The Virtual Box guest additions need to be compiled on the guest. In a lightweight distribution such as Lubuntu a compiler is not provided with the basic set up.

To be able to compile and install the guest additions provided with and matching our Virtual Box version we need to install the following utilities first:

share|improve this answer
    
I had tried it, but there were other errors - about kernel headers I think. –  sashoalm May 23 at 20:57

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.