View previous topic :: View next topic |
Author |
Message |
larmbr n00b
Joined: 06 Jun 2012 Posts: 34
|
Posted: Tue Oct 16, 2012 12:56 pm Post subject: Failed to emerge virtualbox due to compilation stuck |
|
|
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 |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
Thistled Guru
Joined: 06 Jan 2011 Posts: 572 Location: Scotland
|
Posted: Tue Oct 16, 2012 1:20 pm Post subject: |
|
|
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 |
|
|
|