Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11th March 2012, 10:02 PM
ibrahim52 Offline
Registered User
 
Join Date: Jan 2008
Posts: 92
linuxfirefox
Annoying issues with Virtualbox

I reinstalled my fedora and after installing Virtualbox , DKMS & dependencies the issue still comes for /etc/init.d/vboxdrv setup , i am even doing that but below are the logs if somebody can help me solving it. Thanks.


Make.log
Code:
DKMS make.log for vboxhost-4.1.8 for kernel 3.2.9-1.fc16.x86_64 (x86_64)
Mon Mar 12 00:56:55 GST 2012
make: Entering directory `/usr/src/kernels/3.2.9-1.fc16.x86_64'
/usr/src/kernels/3.2.9-1.fc16.x86_64/arch/x86/Makefile:81: stack protector enabled but no compiler support
make: gcc: Command not found
  LD      /var/lib/dkms/vboxhost/4.1.8/build/built-in.o
/bin/sh: ar: command not found
make[1]: *** [/var/lib/dkms/vboxhost/4.1.8/build/built-in.o] Error 127
make: *** [_module_/var/lib/dkms/vboxhost/4.1.8/build] Error 2
make: Leaving directory `/usr/src/kernels/3.2.9-1.fc16.x86_64'


vbox-install.log
Code:
Uninstalling modules from DKMS
  removing old DKMS module vboxhost version  4.1.8

------------------------------
Deleting module version: 4.1.8
completely from the DKMS tree.
------------------------------
Done.
Attempting to install using DKMS

Creating symlink /var/lib/dkms/vboxhost/4.1.8/source ->
                 /usr/src/vboxhost-4.1.8

DKMS: add completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area....
make KERNELRELEASE=3.2.9-1.fc16.x86_64 -C /lib/modules/3.2.9-1.fc16.x86_64/build M=/var/lib/dkms/vboxhost/4.1.8/build....(bad exit status: 2)
Failed to install using DKMS, attempting to install without
make KBUILD_VERBOSE=1 SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 CONFIG_MODULE_SIG= -C /lib/modules/3.2.9-1.fc16.x86_64/build modules
/usr/src/kernels/3.2.9-1.fc16.x86_64/arch/x86/Makefile:81: stack protector enabled but no compiler support
make[1]: gcc: Command not found
test -e include/generated/autoconf.h -a -e include/config/auto.conf || (		\
echo;								\
echo "  ERROR: Kernel configuration is invalid.";		\
echo "         include/generated/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.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/linux/.SUPDrv-linux.o.d  -nostdinc -isystem  -I/usr/src/kernels/3.2.9-1.fc16.x86_64/arch/x86/include -Iarch/x86/include/generated -Iinclude  -include /usr/src/kernels/3.2.9-1.fc16.x86_64/include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m64 -mno-red-zone -mcmodel=kernel -maccumulate-outgoing-args -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -pg -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -I/lib/modules/3.2.9-1.fc16.x86_64/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -I/tmp/vbox.0/vboxdrv/ -I/tmp/vbox.0/vboxdrv/include -I/tmp/vbox.0/vboxdrv/r0drv/linux -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -DVBOX_WITH_HARDENING -DCONFIG_VBOXDRV_AS_MISC -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(SUPDrv_linux)"  -D"KBUILD_MODNAME=KBUILD_STR(vboxdrv)" -c -o /tmp/vbox.0/linux/SUPDrv-linux.o /tmp/vbox.0/linux/SUPDrv-linux.c
/bin/sh: gcc: command not found
make[2]: *** [/tmp/vbox.0/linux/SUPDrv-linux.o] Error 127
make[1]: *** [_module_/tmp/vbox.0] Error 2
make: *** [vboxdrv] Error 2
Reply With Quote
  #2  
Old 11th March 2012, 10:06 PM
glennzo's Avatar
glennzo Online
Un-Retired Administrator
 
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,930
linuxfirefox
Re: Annoying issues with Virtualbox

Based on the error log you need to install gcc.
PHP Code:
su
yum install gcc
/etc/init.d/vboxdrv setup 
__________________
Glenn
The Bassinator © ®


Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
Reply With Quote
  #3  
Old 12th March 2012, 01:35 AM
marko's Avatar
marko Offline
Registered User
 
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 5,449
linuxfirefox
Re: Annoying issues with Virtualbox

Quote:
LD /var/lib/dkms/vboxhost/4.1.8/build/built-in.o
/bin/sh: ar: command not found
ibrahim52:

The ar warning/error seems to imply you've got a problem with your binutils package (binutils is the package that has 'ar' in it). Either that or the path
in the Virtualbox build didn't include /usr/bin

Can you do this to confirm you have binutils and that ar is in the right place?
Quote:

ls -l /usr/bin/ar ---> should show a valid file

rpm -q binutils ---> should show package is in the rpm db and installed
Reply With Quote
  #4  
Old 12th March 2012, 06:37 AM
ibrahim52 Offline
Registered User
 
Join Date: Jan 2008
Posts: 92
linuxfirefox
Re: Annoying issues with Virtualbox

Results for
ls -l /usr/bin/ar --->-rwxr-xr-x. 1 root root 56272 Dec 14 15:23 /usr/bin/ar


rpm -q binutils ---> binutils-2.21.53.0.1-6.fc16.x86_64
Reply With Quote
  #5  
Old 12th March 2012, 12:54 PM
StephenH's Avatar
StephenH Offline
Registered User
 
Join Date: Jul 2004
Location: Wake Forest, NC
Age: 59
Posts: 1,180
linuxfirefox
Re: Annoying issues with Virtualbox

Check this site: http://forums.virtualbox.org/viewtopic.php?t=15679

Fedora users need the following packages:

dkms
binutils
gcc
make
patch
libgomp
glibc-headers
glibc-devel
kernel-headers
kernel-devel OR kernel-pae-devel

yum install dkms binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-devel

Or alternatively:

yum install dkms binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-pae-devel
__________________
StephenH

"We must understand the reality that just because our culture claims certain things are true it does not mean they are!" --M. Liederbach

http://pilgrim-wanderings.blogspot.com
Reply With Quote
  #6  
Old 12th March 2012, 06:04 PM
ibrahim52 Offline
Registered User
 
Join Date: Jan 2008
Posts: 92
linuxfirefox
Re: Annoying issues with Virtualbox

StephenH you are the direct gift from GOD Thanks a load, it did solve the whole thing and thanks to Marko and other experts as well who keep this FEDORA USERS problems free.
Reply With Quote
  #7  
Old 12th March 2012, 09:37 PM
StephenH's Avatar
StephenH Offline
Registered User
 
Join Date: Jul 2004
Location: Wake Forest, NC
Age: 59
Posts: 1,180
linuxfirefox
Re: Annoying issues with Virtualbox

Quote:
Originally Posted by ibrahim52 View Post
StephenH you are the direct gift from GOD Thanks a load, it did solve the whole thing and thanks to Marko and other experts as well who keep this FEDORA USERS problems free.
You're welcome. I would not call myself an expert, just an experienced user who has encountered this situation previously. I've been where you were. Like you, I have benefited greatly from the expertise of others in this forum. "If I have seen further it is by standing on the shoulders of giants" (Isaac Newton).
__________________
StephenH

"We must understand the reality that just because our culture claims certain things are true it does not mean they are!" --M. Liederbach

http://pilgrim-wanderings.blogspot.com
Reply With Quote
  #8  
Old 12th March 2012, 10:13 PM
ibrahim52 Offline
Registered User
 
Join Date: Jan 2008
Posts: 92
linuxfirefox
Re: Annoying issues with Virtualbox

Thanks stephen once again, i am changing the topic title to SOLVED. But seriously, i never thought that after formatting my laptop and facing such issues i would be able to restore my Vbox again ever. Thanks to you.
Reply With Quote
  #9  
Old 30th April 2012, 03:52 PM
maydayjay1970 Offline
Registered User
 
Join Date: Apr 2012
Location: D.C.
Posts: 5
windows_xp_2003firefox
Re: Fedora 16 not installing into VirtualBox

I am having issues also loading Fedora 16 into Virtualbox, the Live CD part works fine and Fedora comes up with in VirtualBox, however once i go to settings and load to hard disk the system starts the processes get almost all the way through the copying Live Image to Hard Drive and at the end of the copying processes the following error message comes up: "Error: There was an error installing the live image to your hard drive. This could be due to bad media. Please verify your installation media. " Then there is a warning about exiting the installer and that your system can be left in a inconsistent state. It does not matter which media I download from Fedora.org I keep getting the same error message and it does not matter if I burn the .ISO image to DVD or leave it on the hard drive and have VirtualBox point to it as the Live CD. Any help? A few things: I have Ubuntu running fine in one of the virtualbox machines with no issues. I have allocated 2 gigs ram for Fedora as I have a 6 gig laptop and I increased the video to 128 and checked off the 3d acceleration even though I know GNOME3 will crash on the Live CD, but I wanted to install to hard drive to start fixing that issue per other posts. I have burned several copies of the different .ISO images with NERO and Windows media burner same situation with the error message. Would this be related to this POST and VirtualBox?
Reply With Quote
Reply

Tags
annoying, issues, virtualbox

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Issues with VirtualBox choucete Using Fedora 6 4th December 2010 06:20 PM
Annoying Minefield issues jimpm Alpha - Beta (Fedora 9 Only) 4 20th April 2008 07:15 PM
REALLY annoying apache issues. lynxus Servers & Networking 2 11th April 2008 12:50 AM
Just a few *very annoying* configuration issues left with FC5. Any help, please? chrisjr EOL (End Of Life) Versions 17 7th July 2006 10:41 AM
Sound issues are annoying leaded Using Fedora 4 23rd January 2005 01:12 AM


Current GMT-time: 08:27 (Wednesday, 22-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat