vboxdrv installation failure on fedora 7

Discussions related to using VirtualBox on Linux hosts.
Post Reply
mm132
Posts: 1
Joined: 10. Jul 2007, 03:15

vboxdrv installation failure on fedora 7

Post by mm132 »

this is the first time i try to install virtualbox on fedora
now based on what i read on various places this is what i did:
this is a fresh install of fedora 7
deactivated SElinux
installed all the patches
installed kernel-devel and kernel-headers (for version 2.6.21-1.3228.fc7)
installed virtualbox using the supplied rpm on the website
then i run
sh /etc/init.d/vboxdrv setup
the result is the standard
Stopping VirtualBox kernel module [ OK ]
Recompiling VirtualBox kernel module [FAILED]

so i look at the the log and i get this:

cp: missing destination file operand after `/tmp/vbox.3/Module.symvers'
Try `cp --help' for more information.
make KBUILD_VERBOSE=1 -C /lib/modules/2.6.21-1.3228.fc7/build SUBDIRS=/tmp/vbox.2 SRCROOT=/tmp/vbox.2 modules
/usr/src/kernels/2.6.21-1.3228.fc7-i686/scripts/gcc-version.sh: line 11: gcc: command not found
/usr/src/kernels/2.6.21-1.3228.fc7-i686/scripts/gcc-version.sh: line 12: gcc: command not found
make[1]: gcc: Command not found
make[1]: Entering directory `/usr/src/kernels/2.6.21-1.3228.fc7-i686'
test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/linux/autoconf.h or include/config/auto.conf are missing."; \
echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo; \
/bin/false)
mkdir -p /tmp/vbox.2/.tmp_versions
rm -f /tmp/vbox.2/.tmp_versions/*
make -f scripts/Makefile.build obj=/tmp/vbox.2
gcc -Wp,-MD,/tmp/vbox.2/linux/.SUPDrv-linux.o.d -nostdinc -isystem -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -pipe -msoft-float -mregparm=3 -freg-struct-return -march=i686 -ffreestanding -maccumulate-outgoing-args -Iinclude/asm-i386/mach-generic -Iinclude/asm-i386/mach-default -fomit-frame-pointer -g -I/lib/modules/2.6.21-1.3228.fc7/build/include -I/tmp/vbox.2/ -I/tmp/vbox.2/include -I/tmp/vbox.2/r0drv/linux -D__KERNEL__ -DMODULE -D__LINUX__ -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DCONFIG_VBOXDRV_AS_MISC -D__X86__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(SUPDrv_linux)" -D"KBUILD_MODNAME=KBUILD_STR(vboxdrv)" -c -o /tmp/vbox.2/linux/.tmp_SUPDrv-linux.o /tmp/vbox.2/linux/SUPDrv-linux.c
/bin/sh: gcc: command not found
make[2]: *** [/tmp/vbox.2/linux/SUPDrv-linux.o] Error 127
make[1]: *** [_module_/tmp/vbox.2] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.21-1.3228.fc7-i686'
make: *** [vboxdrv] Error 2

does anybody have any ideas?
jcezanna56
Posts: 14
Joined: 1. Jul 2007, 16:54

install gcc

Post by jcezanna56 »

apparently, gcc isn't installed on your system.
Post Reply