Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how to resume an emerge after a compiler error?
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
dilandau
Guru
Guru


Joined: 24 May 2003
Posts: 485
Location: germany

PostPosted: Mon May 26, 2003 6:16 pm    Post subject: how to resume an emerge after a compiler error? Reply with quote

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
View user's profile Send private message
stustill
Guru
Guru


Joined: 25 Feb 2003
Posts: 333
Location: Aberdeen, Scotland

PostPosted: Mon May 26, 2003 6:30 pm    Post subject: Reply with quote

If you just type emerge kde again, it shouldn't recompile everything you have already compiled.

Stu
Back to top
View user's profile Send private message
krusty_ar
Guru
Guru


Joined: 03 Oct 2002
Posts: 560
Location: Rosario, Argentina

PostPosted: Mon May 26, 2003 6:32 pm    Post subject: Reply with quote

Code:
emerge ccache

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
View user's profile Send private message
dilandau
Guru
Guru


Joined: 24 May 2003
Posts: 485
Location: germany

PostPosted: Mon May 26, 2003 6:44 pm    Post subject: Reply with quote

it shouldnt? or do you mean it DOESN't?
Back to top
View user's profile Send private message
stustill
Guru
Guru


Joined: 25 Feb 2003
Posts: 333
Location: Aberdeen, Scotland

PostPosted: Mon May 26, 2003 6:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
dilandau
Guru
Guru


Joined: 24 May 2003
Posts: 485
Location: germany

PostPosted: Mon May 26, 2003 6:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
stustill
Guru
Guru


Joined: 25 Feb 2003
Posts: 333
Location: Aberdeen, Scotland

PostPosted: Mon May 26, 2003 7:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Mon May 26, 2003 7:05 pm    Post subject: Reply with quote

Moved from Installing Gentoo.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
dilandau
Guru
Guru


Joined: 24 May 2003
Posts: 485
Location: germany

PostPosted: Mon May 26, 2003 7:29 pm    Post subject: Reply with quote

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
View user's profile Send private message
krusty_ar
Guru
Guru


Joined: 03 Oct 2002
Posts: 560
Location: Rosario, Argentina

PostPosted: Tue May 27, 2003 3:16 pm    Post subject: Reply with quote

You need to enable it in the FEATRURES variable in make.conf
_________________
I am Beta, don't expect correct behaviour from me.
Take part of the adopt an unaswered post initiative
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