Page 1 of 1

Unable to install VBox Guest Additions

Posted: 14. Jun 2016, 11:26
by JosV
I am running VirtualBox 5.0.20 and am trying to install VBox Guest Additions in my openSUSE 13.1 VM. I try to run the following command:

Code: Select all

sh ./VBoxLinuxAdditions.run
as super user. It fails and the log file gives the following error:
/tmp/vbox.0/Makefile.include.header:97: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again.

Can someone help me? What do I need to do to get the Guest Additions to install correctly?

Thanks!

Jos

Re: Unable to install VBox Guest Additions

Posted: 14. Jun 2016, 12:35
by towo2099
Install the matching kernel-headers for your running kernel.

Re: Unable to install VBox Guest Additions

Posted: 14. Jun 2016, 12:43
by mpack
I can't see what possible relevance this question has to "Windows Hosts". Moving it to "Linux Guests".

Re: Unable to install VBox Guest Additions

Posted: 20. Jun 2016, 14:50
by JosV
I executed the proposed zypper command, but it says something like it's already installed. Anyway, I reverted back to 4.3.38 and was able to install the Guest Additions in a breeze. I'll stick to that one for now. Thanks for your contributions!