VirtualBox

Opened 8 years ago

Closed 8 years ago

#16575 closed defect (worksforme)

Installing Guest Additions Fails

Reported by: hgc Owned by:
Component: guest additions Version: VirtualBox 5.1.18
Keywords: Cc:
Guest type: Linux Host type: Windows

Description (last modified by Frank Mehnert)

I have VBox 5.1.18 installed. I run up to 12 different distros of Linux virtually. The following list details the installation success/failure of guest additions.

  1. Apricity Birch - no issues
  1. Bohhi 4.1.0 - no issues
  1. CentOS 7 - failure vboxadd-install.log below
    /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.  Stop.
    Creating user for the Guest Additions.
    Creating udev rule for the Guest Additions kernel module.
    
  2. Debian 8.7.1 - failure vboxadd-install.log below
    /opt/VBoxGuestAdditions-5.1.16/src/vboxguest-5.1.16/build_in_tmp: 
    67: /opt/VBoxGuestAdditions-5.1.16/src/vboxguest-5.1.16/build_in_tmp: make: not found
    
  3. Elementary OS 0.4 - no issues
  1. Fedora 25 - failure vboxadd-install.log below
    /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.  Stop.
    
  2. Linux Lite 3.2 - no issues
  1. LXLE 16.04.01 - no issues
  1. Manjaro 16.10.03 - failure vboxadd-install.log below
    /tmp/vbox.0/Makefile.include.header:115: 
    *** Error: unable to find the include directory for your current Linux kernel. Specify KERN_INCL=<directory> and run Make again.  Stop.
    Creating user for the Guest Additions.
    Creating udev rule for the Guest Additions kernel module.
    
  2. Mint 18.0 - failure vboxadd-install.log below
    *** Unable to get log file
    
  1. PCLinuxOS2017.03 - no issues

All of the distros are up to date with latest updates.

It seems the if I can install the Guest Additions using the distro Add Software feature with in the distro itself the installation issue goes away.

Any help would be appreciated.

Change History (3)

comment:1 by Socratis, 8 years ago

It's usually better and faster, if problems like this one (configuration, question) get first addressed in the forums (https://forums.virtualbox.org/). More than 95% of the issues are resolved over there, which keeps the developers focusing on the bug fixes and enhancements, and there is no need for another ticket to keep track of.

For example, yours is not a bug and someone from the developers has to deal with it and close it as "Invalid". The instructions on how to do the proper installation are outlined in the User Manual. In all of your cases, you're either missing the kernel headers or the development tools.

If you still have questions, please open a new thread in the Linux Guests section of the forums. Be sure to say that you came from the bugtracker and include the ticket #.

PS. It seems that "bold" was left on in the OP, and I can't seem to turn it off...

comment:2 by Frank Mehnert, 8 years ago

Description: modified (diff)

comment:3 by Frank Mehnert, 8 years ago

Resolution: worksforme
Status: newclosed

The VirtualBox Guest Additions come as universal package which will usually works on regular Linux distributions. The installation script tries to compile the VirtualBox guest kernel modules using the provided tools. For instance, your Debian 8 guest has no 'make' package installed. The other Linux distributions seem to lack the proper kernel headers for the currently running kernel. How to install these modules is described in the user manual section 4.2.2.

Any I completely agree with socratis, this ticket system is not for seeking help, in particular not for problems which you can resolve by reading the documentation.

Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy