Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Failed to emerge virtualbox due to compilation stuck
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
larmbr
n00b
n00b


Joined: 06 Jun 2012
Posts: 34

PostPosted: Tue Oct 16, 2012 12:56 pm    Post subject: Failed to emerge virtualbox due to compilation stuck Reply with quote

It always failed during compilation, it stuck at the point :


Code:
C       VBoxREM64 - {C}/src/recompiler/target-i386/translate.c


and my laptop's hard drive light keeps on, the system then became nonreponsive,

so I have to power off by press the power button and reboot it.

Anything wrong?

The virtualbox version : 4.1.22
Here is some my machine info :
Linux 3.2.12-gentoo #12 SMP i686 Intel(R) Core(TM) i5 CPU M 480 @ 2.67GHz GenuineIntel GNU/Linux
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Tue Oct 16, 2012 1:04 pm    Post subject: Reply with quote

It runs out of resources.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Thistled
Guru
Guru


Joined: 06 Jan 2011
Posts: 572
Location: Scotland

PostPosted: Tue Oct 16, 2012 1:20 pm    Post subject: Reply with quote

Jaglover is right.
In order to compile Virtualbox (and 1 or 2 other packages),
I do a fresh reboot, disable GDM, and do not let the DE load up.
I then run the emerge from tty1.
I usually do this overnight.
By doing this, I am freeing up as much RAM as possible and therefore making it available to the compiler.
Virtualbox needs lots of RAM to build.
It's usually done by the morning.
_________________
Whatever you do, do it properly!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum