Page 1 of 1

VERR_VM_DRIVER_NOT_INSTALLED Fedora 10

Posted: 3. Feb 2009, 21:07
by kirk202
I'm fairly new to Linux and I got this error msg using VBox. I've installed the DKMS and kernel-devel as suggest. I think my problem is with a gcc command but I don't have a clue what this is.

Please help...Thanks, Kirk Ziegler

This error says to /etc/init.d/vboxdrv setup
which fails and says to see the vbox-install log:

** Compiling vboxdrv
Attempting to install using DKMS
Creating symlink /var/lib/dkms/vboxdrv/2.1.2/source ->
/usr/src/vboxdrv-2.1.2
DKMS: add Completed.
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area....
make KERNELRELEASE=2.6.27.12-170.2.5.fc10.i686 -C /lib/modules/2.6.27.12-170.2.5.fc10.i686/build M=/var/lib/dkms/vboxdrv/2.1.2/build....(bad exit status: 2)
Error! Bad return status for module build on kernel: 2.6.27.12-170.2.5.fc10.i686 (i686)
Consult the make.log in the build directory
/var/lib/dkms/vboxdrv/2.1.2/build/ for more information.

Which says:

DKMS make.log for vboxdrv-2.1.2 for kernel 2.6.27.12-170.2.5.fc10.i686 (i686)
Tue Feb 3 11:43:46 MST 2009
/usr/src/kernels/2.6.27.12-170.2.5.fc10.i686/scripts/gcc-version.sh: line 25: gcc: command not found
/usr/src/kernels/2.6.27.12-170.2.5.fc10.i686/scripts/gcc-version.sh: line 26: gcc:
command not found
make: gcc: Command not found
make: Entering directory `/usr/src/kernels/2.6.27.12-170.2.5.fc10.i686'
LD /var/lib/dkms/vboxdrv/2.1.2/build/built-in.o
CC [M] /var/lib/dkms/vboxdrv/2.1.2/build/linux/SUPDrv-linux.o
/bin/sh: gcc: command not found
make[1]: *** [/var/lib/dkms/vboxdrv/2.1.2/build/linux/SUPDrv-linux.o] Error 127
make: *** [_module_/var/lib/dkms/vboxdrv/2.1.2/build] Error 2
make: Leaving directory `/usr/src/kernels/2.6.27.12-170.2.5.fc10.i686'

Posted: 4. Feb 2009, 01:29
by Sasquatch
The bold part of the log should say enough. You need gcc to compile the kernel modules. For Fedora, you issue the following command as root:

Code: Select all

yum install gcc

Posted: 4. Feb 2009, 01:59
by kirk202
Sasquatch wrote:The bold part of the log should say enough. You need gcc to compile the kernel modules. For Fedora, you issue the following command as root:

Code: Select all

yum install gcc
Thanks Sasquatch, worked like a charm...much appreciated.

Kirk