Error when trying to install Guest Additions on RHEL 7
Error when trying to install Virtualbox Guest Additions on Red Hat EL 7.4 64bits:
grep: /lib/modules/3.10.0-693.2.1.el7.x86_64/build/include/linux/version.h: No such file or directory
make KBUILD_VERBOSE=1 CONFIG_MODULE_SIG= -C /lib/modules/3.10.0-693.2.1.el7.x86_64/build SUBDIRS=/tmp/vbox.1 SRCROOT=/tmp/vbox.1 -j2 modules
make[1]: warning: -jN forced in submake: disabling jobserver mode.
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo >&2; \
echo >&2 " ERROR: Kernel configuration is invalid."; \
echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo >&2 ; \
/bin/false)
Using VBox 5.1.26
Somebody knows how to overcome this issue?
Regards
Carlos
Responses
VirtualBox (currently at 5.1.26) is not fully compatible with RHEL 7.4. See their forum post for details.
"The fix is included in the 5.1 Guest Additions as well as in the most recent 'Development snapshot' Guest Additions. And it will be part of the next Beta as well."
Same problem reappears with RHEL 7.5 and VBox 5.2.8/5.2.10...
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
