Foresight Linux Home :: Foresight Wiki :: Issue Tracking System :: Planet Foresight

Login with username, password and session length
 
Home ::Help ::Search ::Calendar ::Login ::Register
Pages: [1] 2
  Print  
Author Topic: Installing guest additions  (Read 10658 times)
Dai
Level 1 Member
*

Karma: 0
Posts: 11


View Profile
« on: June 05, 2008, 03:45:12 PM »

I'm having a bit of bother installing guest additions in virtualbox (foresight running in vbox inside ubuntu).

Error message:
VirtualBox 1.6.0 Guest Additions installation
Please install GNU make.
Please install the GNU compiler.
Problems were found which would prevent the Guest Additions from installing.
Please correct these problems and try again.
[dai@localhost VBOXADDITIONS_1.6.0_30421]$

How do I install the above to get guest additions to work.
Logged
Dai
Level 1 Member
*

Karma: 0
Posts: 11


View Profile
« Reply #1 on: June 06, 2008, 01:29:58 PM »

no one got an answer to this problem?
Logged
pcutler
Global Moderator
Level 3 Member
*

Karma: 18
Posts: 171



View Profile WWW
« Reply #2 on: June 06, 2008, 03:00:53 PM »

Most of us use KVM, as we don't have Virtualbox in the repo yet due to the way it's written, so we don't have a lot of Virtualbox experience.

I know it's been done (running Foresight in Virtualbox), I've done it in Windows, but not on Linux unfortunately.

Hopefully someone will know!
Logged

Paul Cutler
Foresight Community Manager
email:  pcutler@foresightlinux.org
IM:  Jabber / Google Talk: pcutler@foresightlinux.org
jkeyes0
Level 1 Member
*

Karma: 1
Posts: 5


View Profile
« Reply #3 on: June 06, 2008, 05:54:18 PM »

Dai,

From that error message, it looks like VirtualBox additions wants the "make" program and a GNU compiler. I believe you can get these by running the following command in Foresight:
Code:
sudo conary update group-gnome-dist-devel
Logged
Dai
Level 1 Member
*

Karma: 0
Posts: 11


View Profile
« Reply #4 on: June 06, 2008, 07:15:05 PM »

Quote
sudo conary update group-gnome-dist-devel
The above line of code just wants to update everything to the development version which is not what I want. I just want to be able to intall virtualbox guest addtitions.
If this is not possible then your distro which looks nice is not ready for me yet.
Logged
jkeyes0
Level 1 Member
*

Karma: 1
Posts: 5


View Profile
« Reply #5 on: June 06, 2008, 08:19:59 PM »

Quote
sudo conary update group-gnome-dist-devel
The above line of code just wants to update everything to the development version which is not what I want. I just want to be able to intall virtualbox guest addtitions.
If this is not possible then your distro which looks nice is not ready for me yet.

group-gnome-dist-devel installed developer tools, not the development version. It gives you the capability to compile programs and package conary packages for Foresight.
Logged
Dai
Level 1 Member
*

Karma: 0
Posts: 11


View Profile
« Reply #6 on: June 06, 2008, 10:03:41 PM »

I ran that code and it tried to give every development package there was.
This is not what I want. For the moment I just want guest additions for virtualbox to work.
Logged
tombs
Level 1 Member
*

Karma: 0
Posts: 5


View Profile
« Reply #7 on: June 06, 2008, 10:26:36 PM »

Dai
That means that your vbox is already running?(I guess so)
Than you just need to install the guest additions(its a vbox issue, not foresight)
You can check it here ----> http://www.virtualbox.org/download/1.6.2/UserManual.pdf
To be more clear, page 56! ( 4.3.1 Installing the Linux Guest Additions )
Good luck!  Wink

tombs
Logged
nullard51
Level 3 Member
***

Karma: 16
Posts: 185

The worst thing in the world is the indifference


View Profile
« Reply #8 on: June 07, 2008, 10:49:30 AM »

Dai,
              Have you tried to install GNU make and gcc from the repositories? I think you may get them by typing in a shell:
        sudo conary update make and sudo conary update gcc. Try it and let us know if it works Smiley
Logged

nullard51
Dai
Level 1 Member
*

Karma: 0
Posts: 11


View Profile
« Reply #9 on: June 07, 2008, 11:07:25 AM »

sudo conary update make and sudo conary update gcc. Try it and let us know if it works Smiley

Quote
got this this in return:
[dai@localhost ~]$ sudo conary update gcc
no new troves were found     
[dai@localhost ~]$

make is installed just need to get the compiler installed and it should work ok.
Any ideas on how to do this.
Logged
nullard51
Level 3 Member
***

Karma: 16
Posts: 185

The worst thing in the world is the indifference


View Profile
« Reply #10 on: June 07, 2008, 11:36:27 AM »

Dai,
           The message means that gcc is already installed. You can verify it is by typing in a shell : conary q gcc. It will display the version installed Grin
Logged

nullard51
Dai
Level 1 Member
*

Karma: 0
Posts: 11


View Profile
« Reply #11 on: June 07, 2008, 12:13:14 PM »

Quote
[dai@localhost VBOXADDITIONS_1.6.0_30421]$ sudo sh ./VBoxLinuxAdditions.run all
Verifying archive integrity... All good.
Uncompressing VirtualBox 1.6.0 Guest Additions for Linux installation...
VirtualBox 1.6.0 Guest Additions installation
Please install the GNU compiler.
Problems were found which would prevent the Guest Additions from installing.
Please correct these problems and try again.
[dai@localhost VBOXADDITIONS_1.6.0_30421]$

this is my error message which means that th eGNU compiler is missing or needs updating.
Logged
paulfxh
Level 2 Member
**

Karma: 6
Posts: 95


View Profile WWW
« Reply #12 on: June 07, 2008, 03:27:39 PM »

I have never used virtualbox but I do use VMware Server in Foresight.
When I installed VMware Server, which also needs to be compiled, I got a message saying that my host OS (Foresight) was compiled using GCC 4.1.1 and that only GCC 4.1.2 was available to compile VMware Server. A stern warning was issued that this is not a good idea and it was recommended that I use the same compiler for Vmware Server as was used for the host OS (i.e GCC 4.1.1).
It did, however, give me the option of ignoring this warning and compiling with GCC 4.1.2.
I did ignore the warning and have not had any problems.
I'm just wondering is this why virtualbox keeps asking you to install the compiler when you already have GCC 4.1.2 installed.
Is it looking for GCC 4.1.1 and is not prepared to compromise?
If this is the case, I'm not too sure what you can do.

Edit: Maybe you could enquire about this point on the virtual box forum. Smiley
« Last Edit: June 08, 2008, 06:51:06 AM by paulfxh » Logged

My Linux errors and discoveries: http://paulscomputernotes.blogspot.com
nullard51
Level 3 Member
***

Karma: 16
Posts: 185

The worst thing in the world is the indifference


View Profile
« Reply #13 on: June 08, 2008, 06:49:26 AM »

Dai,
           You can pass environmental option on the command line. In your case, the message seems to tell that the compiler is not found. So try to pass the location of the gcc utility by an environmental option like this.

$CC=/usr/bin/gcc sudo sh ./VBoxLinuxAdditions.run all

Not sure at all that it will work but if you don't try anything you don't get anything... Grin

PS: Don't forget the $ sign before CC, it is for the variable CC.
« Last Edit: June 08, 2008, 09:36:29 AM by nullard51 » Logged

nullard51
Dai
Level 1 Member
*

Karma: 0
Posts: 11


View Profile
« Reply #14 on: June 08, 2008, 11:19:55 AM »

Quote
[dai@localhost ~]$ $CC=/usr/bin/gcc sudo sh ./VBoxLinuxAdditions.run all
bash: =/usr/bin/gcc: No such file or directory
[dai@localhost ~]$

Quote
[dai@localhost ~]$ conary q gcc
gcc=4.1.2-11-0.1[~!gcc.core]
[dai@localhost ~]$


I've just been and had a look in usr/bin and can't see gcc in there only gccmakedep
so some advice on this might be useful.
« Last Edit: June 08, 2008, 11:27:06 AM by Dai » Logged
Pages: [1] 2
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!