View previous topic :: View next topic |
Author |
Message |
dilandau Guru
Joined: 24 May 2003 Posts: 485 Location: germany
|
Posted: Mon May 26, 2003 6:16 pm Post subject: how to resume an emerge after a compiler error? |
|
|
when emerging kde, at the file eog_skels.c i ve got a lot of parse errors and "symbol 'fakevevfp' (or similar) allready defined".
kde is so big. how can i continue emerging from the point until everything has been ok? how to avoid not recompiling all the 100+ packages until this one? |
|
Back to top |
|
|
stustill Guru
Joined: 25 Feb 2003 Posts: 333 Location: Aberdeen, Scotland
|
Posted: Mon May 26, 2003 6:30 pm Post subject: |
|
|
If you just type emerge kde again, it shouldn't recompile everything you have already compiled.
Stu |
|
Back to top |
|
|
krusty_ar Guru
Joined: 03 Oct 2002 Posts: 560 Location: Rosario, Argentina
|
Posted: Mon May 26, 2003 6:32 pm Post subject: |
|
|
this app saves you time when compiling the same thing over and over. Also good when you have to power off in the middle of an emerge
Hope that helps _________________ I am Beta, don't expect correct behaviour from me.
Take part of the adopt an unaswered post initiative |
|
Back to top |
|
|
dilandau Guru
Joined: 24 May 2003 Posts: 485 Location: germany
|
Posted: Mon May 26, 2003 6:44 pm Post subject: |
|
|
it shouldnt? or do you mean it DOESN't? |
|
Back to top |
|
|
stustill Guru
Joined: 25 Feb 2003 Posts: 333 Location: Aberdeen, Scotland
|
Posted: Mon May 26, 2003 6:51 pm Post subject: |
|
|
If I have typed emerge kde, and it fails after compiling 100 packages, and then I type emerge kde again, it will continue from where it fails, because the stuff that is already compiled is a dependancy of kde, so once it is compiled, it does NOT need to be recompiled, so it won't compile that dependancy, because it is already satisfied. That explanation is bad, sorry.
Anyway, the only way that you might need to recompile some already installed packages, is if you emerge sync before you emerge kde the second time, and it might have some updated ebuilds for some of the already emerged packages.
So, basically, emerge kde won't reinstall the already installed stuff.
Stu |
|
Back to top |
|
|
dilandau Guru
Joined: 24 May 2003 Posts: 485 Location: germany
|
Posted: Mon May 26, 2003 6:57 pm Post subject: |
|
|
so what is the real benefit of ccache? i have emerged it and set the limit to 1g but maybe i dont need ccache at all? |
|
Back to top |
|
|
stustill Guru
Joined: 25 Feb 2003 Posts: 333 Location: Aberdeen, Scotland
|
Posted: Mon May 26, 2003 7:04 pm Post subject: |
|
|
ccache is used to continue an emerge that is started.
By this I mean, say you emerge kde, and it is going to install 100 packages. It gets through 49 of those successfully, and while it is on the 50th, you need to power down your machine to go to sleep (or some other lame reason for switching off your box). ccache lets you start package 50 from the middle of the emerge. Ie you don't need to restart package 50 from the start, you can start it from where ever it got to. I think!
Stu |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Mon May 26, 2003 7:05 pm Post subject: |
|
|
Moved from Installing Gentoo. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
dilandau Guru
Joined: 24 May 2003 Posts: 485 Location: germany
|
Posted: Mon May 26, 2003 7:29 pm Post subject: |
|
|
does anyone here KNOW from experience that i dont need ccache or similar add on to let emerge restart from where the compiler brougth an error and ended all? soem say emerge does not redo everythign anyway but my experience shows it DOES. (well, unfortunately). and what about the --noreplace parameter? it doesn seem to have an effect on my situation. |
|
Back to top |
|
|
krusty_ar Guru
Joined: 03 Oct 2002 Posts: 560 Location: Rosario, Argentina
|
|
Back to top |
|
|
|