Newsgroup: it.comp.os.linux.iniziare
Titolo: Impossibile installare VB Tools in Ubuntu MATE 16.04

Macchina principale Linux con VB oracle alla versione 5.0.20
Impossibile installare VB guest addition in Ubuntu MATE 16.04 in
macchina virtuale. Soluzioni / suggerimenti?
 
Ecco il log:
 
grep: /lib/modules/4.4.0-21-generic/build/include/linux/version.h: File
o directory non esistente
make KBUILD_VERBOSE=1 CONFIG_MODULE_SIG= -C
/lib/modules/4.4.0-21-generic/build SUBDIRS=/tmp/vbox.0
SRCROOT=/tmp/vbox.0 modules
arch/x86/Makefile:133: stack-protector enabled but compiler support broken
arch/x86/Makefile:148: CONFIG_X86_X32 enabled but no binutils support
Makefile:670: Cannot use CONFIG_CC_STACKPROTECTOR_STRONG:
-fstack-protector-strong not supported by compiler
make[1]: gcc: comando non trovato
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)
mkdir -p /tmp/vbox.0/.tmp_versions ; rm -f /tmp/vbox.0/.tmp_versions/*
make -f ./scripts/Makefile.build obj=/tmp/vbox.0
  gcc -Wp,-MD,/tmp/vbox.0/.VBoxGuest-linux.o.d  -nostdinc -isystem  
-I./arch/x86/include -Iarch/x86/include/generated/uapi
-Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi
-Iarch/x86/include/generated/uapi -I./include/uapi
-Iinclude/generated/uapi -include ./include/linux/kconfig.h
-Iubuntu/include  -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes
-Wno-trigraphs -fno-strict-aliasing -fno-common
-Werror-implicit-function-declaration -Wno-format-security -std=gnu89
-mno-sse -mno-mmx -mno-sse2 -mno-3dnow -m64 -falign-jumps=1
-falign-loops=1 -mno-red-zone -mcmodel=kernel -pipe -Wno-sign-compare
-fno-asynchronous-unwind-tables -O2 -fstack-protector-strong
-fno-omit-frame-pointer -fno-optimize-sibling-calls -pg
-Wno-declaration-after-statement -include
/tmp/vbox.0/include/VBox/VBoxGuestMangling.h
-I/lib/modules/4.4.0-21-generic/build/include -I/tmp/vbox.0/
-I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -I/tmp/vbox.0/vboxguest/
-I/tmp/vbox.0/vboxguest/include -I/tmp/vbox.0/vboxguest/r0drv/linux
-D__KERNEL__ -DMODULE -DVBOX -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0
-DIN_GUEST -DIN_GUEST_R0 -DIN_MODULE -DRT_WITH_VBOX -DVBGL_VBOXGUEST
-DVBOX_WITH_HGCM -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS  -DMODULE 
-D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(VBoxGuest_linux)" 
-D"KBUILD_MODNAME=KBUILD_STR(vboxguest)" -c -o
/tmp/vbox.0/.tmp_VBoxGuest-linux.o /tmp/vbox.0/VBoxGuest-linux.c
/bin/sh: 1: gcc: not found
scripts/Makefile.build:258: set di istruzioni per l'obiettivo
"/tmp/vbox.0/VBoxGuest-linux.o" non riuscito
make[2]: *** [/tmp/vbox.0/VBoxGuest-linux.o] Errore 127
Makefile:1396: set di istruzioni per l'obiettivo "_module_/tmp/vbox.0"
non riuscito
make[1]: *** [_module_/tmp/vbox.0] Errore 2
/tmp/vbox.0/Makefile.include.footer:79: set di istruzioni per
l'obiettivo "vboxguest" non riuscito
make: *** [vboxguest] Errore 2
Creating user for the Guest Additions.
Creating udev rule for the Guest Additions kernel module.
 


  gcc: comando non trovato
 
installa gcc
 

 
Questo risolto. Grazie.