Help with GuestAdditions....
Help with GuestAdditions....
Hello,
I'm trying to get GuestAddtions running withing CentOS. I'm running Windows7 host and CentOS 6.5 guest. When I issue the mount command, I see:
/dev/sr0 on /media/VBOXADDTIONS_4.3.12_93733 ......etc.
I then run the following command:
sudo sh VBoxLinuxAdditions.run
Everything goes smooth, except I keep getting this error message:
Building the main Guest Additions module [FAILED]
Any help would be appreciated. I'm going through an Intro to Linux course through edX and need to get this going so I can cut and paste between Win and CentOS.
Thanks,
ANdy
I'm trying to get GuestAddtions running withing CentOS. I'm running Windows7 host and CentOS 6.5 guest. When I issue the mount command, I see:
/dev/sr0 on /media/VBOXADDTIONS_4.3.12_93733 ......etc.
I then run the following command:
sudo sh VBoxLinuxAdditions.run
Everything goes smooth, except I keep getting this error message:
Building the main Guest Additions module [FAILED]
Any help would be appreciated. I'm going through an Intro to Linux course through edX and need to get this going so I can cut and paste between Win and CentOS.
Thanks,
ANdy
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Help with GuestAdditions....
We need the rest of the error message. The part that says what went wrong or if it told you to look at a specific log then we need to see that log.
Re: Help with GuestAdditions....
I went back and looked at the error messages and noticed it said the "gcc utility could not be found". I installed gcc and tried to install GAs again, but got another error message. See the attached screenshot (sorry for the screenshot, but I currently can't cut and paste between my host and guest. I'm guessing that will be fixed once I get GAs fixed).
Thanks,
Andy
Thanks,
Andy
- Attachments
-
- GA errors.JPG (92.96 KiB) Viewed 1569 times
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Help with GuestAdditions....
It tells you what to do to fix this in the error message.
Re: Help with GuestAdditions....
I checked out the log and it repeats this message about 5 times.
***Error: unable to find the sources of your current Linux kernal. Specify KERN_DIR=<directory> and run Make again. Stop.
Creating user for the Guest Additions.
Creating udev rule for the Guest Additions kernel module.
I have no idea how to "run Make". What is it telling me to do exactly?
Thanks,
Andy
***Error: unable to find the sources of your current Linux kernal. Specify KERN_DIR=<directory> and run Make again. Stop.
Creating user for the Guest Additions.
Creating udev rule for the Guest Additions kernel module.
I have no idea how to "run Make". What is it telling me to do exactly?
Thanks,
Andy
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Help with GuestAdditions....
Read the image you posted earlier. It tells you to install a missing package and even gives you the command that is needed.
Re: Help with GuestAdditions....
Correct, and I did that (I noted that I installed gcc). But I'm still getting that error message. That's why I re-posted. I'm not sure what step to take next.
Thanks,
Andy
Thanks,
Andy
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Help with GuestAdditions....
I have no idea what you are reading but the message says that you need to install kernel-devel for your running kernel. It even tells you what to type.
I will quote it for you.
"The missing package can be probably installed with
yum install kernel-devel-2.6.32-431.el6.x86_64"
I will quote it for you.
"The missing package can be probably installed with
yum install kernel-devel-2.6.32-431.el6.x86_64"
Re: Help with GuestAdditions....
Can't see the forest for the trees. Don't know how I missed that. I ran that, installed Guest Additions again, and it completed with no
errors this time. Thanks for your help (and patience!).
errors this time. Thanks for your help (and patience!).