View previous topic :: View next topic |
Author |
Message |
Stu L Tissimus Veteran
Joined: 08 Jun 2003 Posts: 1339 Location: NJ, 5 minutes from NYC
|
Posted: Tue Sep 09, 2003 10:44 pm Post subject: A question or two about emerge --resume |
|
|
Okay, I've been running my laptop for about 3 days straight, going from the gentoo install to my new installation and i've been emerging all sorts of stuff on it. Anyway, I have to reboot to get XFree86 working (and I also want to check if my splash screen works). But I've got OpenOffice emerging, and I don't want to lose my 2 days worth of compiling. Now, does emerge --resume work pretty well? Does it let me start again from where I stopped? And does it work after a reboot? _________________ old outdated sig |
|
Back to top |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9530 Location: beyond the rim
|
Posted: Wed Sep 10, 2003 12:15 am Post subject: |
|
|
emerge --resume will restart the last package it did not finish on the last run, so it won't work if you stopped your openoffice compile after a few hours. For that you would use Code: | ebuild /usr/portage/app-office/openoffice/openoffice-<version-you-want>.ebuild merge |
|
|
Back to top |
|
|
Stu L Tissimus Veteran
Joined: 08 Jun 2003 Posts: 1339 Location: NJ, 5 minutes from NYC
|
Posted: Wed Sep 10, 2003 2:26 am Post subject: |
|
|
Wait, so I am allowed to cancel it and then reboot and continue? (I just want to be sure... losing 2 days of compiling an a P3 500 MHz is not fun) _________________ old outdated sig |
|
Back to top |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9530 Location: beyond the rim
|
Posted: Wed Sep 10, 2003 2:30 am Post subject: |
|
|
Well, it should work but I wouldn't recommend it and I haven't tested this much. Also I've never compiled openoffice myself, so I can't really say how stable the build process is. |
|
Back to top |
|
|
Roguelazer Veteran
Joined: 10 Feb 2003 Posts: 1233 Location: San Francisco, CA
|
Posted: Wed Sep 10, 2003 10:35 am Post subject: |
|
|
Try CCACHE _________________ Registered Linux User #263260 |
|
Back to top |
|
|
tecknojunky Veteran
Joined: 19 Oct 2002 Posts: 1937 Location: Montréal
|
Posted: Mon Sep 15, 2003 1:21 pm Post subject: |
|
|
Roguelazer wrote: | Try CCACHE | CCache will never beat the speed of make when the object file's timestamp match and skip. Also, CCache is limited (if you kept the Gentoo default) to only 2 GB which might flush a lot of the cache's content when building megabig compiles like OpenOffice (altough I don't know what's the cache algorithme... LFU? LRU? ...?). _________________ (7 of 9) Installing star-trek/species-8.4.7.2::talax. |
|
Back to top |
|
|
andrew_j_w Guru
Joined: 28 Jun 2003 Posts: 534 Location: York, UK
|
Posted: Mon Sep 15, 2003 3:10 pm Post subject: |
|
|
You could try CTRL+ALT Cing the emerge, then when you've rebooted going to the portage work directory....
# cd /var/tmp/portage/<package>/work/<some-other-stuff>
# make
Then when that's finished run
# ebuild <path to ebuild file> install
# ebuild <path to ebuild file> qmerge
I think you might be able to replace the cd'ing and make with a call to ebuild compile, but as I'm not on my home gentoo box I can't test it.
Regards,
Andrew |
|
Back to top |
|
|
|