Posted on June 22, 2014, 10:01 pm
I got this error on windows 7, 64bits. To get rid of this error, do the following.
Building the main Guest Additions module [FAILDE] - VirtualBox 4.3.12 |
Building the main Guest Additions module [FAILDE] - VirtualBox 4.3.12
yum update kernel*
rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
yum install gcc kernel-devel kernel-headers dkms make bzip2 perl
ls /usr/src/kernels
and note the name of that folder ex(2.6.32-431.20.3.el6.i686) and your KERN_DIR variable should be like this
KERN_DIR=/usr/src/kernels/2.6.32-431.20.3.el6.i686
now open the "bashrc" file with any text editor(i use nano)
nano ~/.bashrc
nano ~/.bashrc |
and add the parameter above.
to make sure that the change is take into account, you will need to reload the "bashrc", to do that use the command below
source ~/.bashrc
than use this command to verify the value of that parameter
echo $KERN_DIR
Success Install Guest Addition |