Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
src_compile failed. How can I continue without loosing hours
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
geophagus
n00b
n00b


Joined: 16 Dec 2002
Posts: 36
Location: Tönisvorst/Germany

PostPosted: Fri Dec 20, 2002 7:55 am    Post subject: src_compile failed. How can I continue without loosing hours Reply with quote

The bigger a project, the bigger your chance that emails fails to compile without errors :(

On my computer the compilation of kdelibs and openoffice recently failed. In both cases this was due to very simple reasons (emerge kdelibs searched a library in the wrong place; emerge openoffice tried to kill X11 when X11 was not running). It's easy to do some changes to the system, so that the software can be installed successfully when it's emergerged again. But when I emerge again I'll loose hours of compile time (emerge openoffice failed after having comiled for 6 hrs), because emerge always starts at the very beginnig of the build procedure.

Do I have a chance to continue where the compile stopped? I think I have, because this works in most cases for the classical "./configure; make; make install". What's the gentoo way to proceed in those cases?

Regards
geophagus
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Fri Dec 20, 2002 8:22 am    Post subject: Reply with quote

Perhaps ccache would interest you.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
geophagus
n00b
n00b


Joined: 16 Dec 2002
Posts: 36
Location: Tönisvorst/Germany

PostPosted: Fri Dec 20, 2002 12:09 pm    Post subject: Reply with quote

Yes, ccache seems to be very interesing. It should work if re-emerging does'nt remove the old tarball in /var/tmp/portage.

Thanks
geophagus
Back to top
View user's profile Send private message
smart
Guru
Guru


Joined: 19 Nov 2002
Posts: 455

PostPosted: Fri Dec 20, 2002 2:45 pm    Post subject: Reply with quote

wouldn't manually issuing the "ebuild" command (man ebuild) help ?
try
ebuild /usr/portage/xy/z.ebuild compile
ebuild /usr/portage/xy/z.ebuild install
ebuild /usr/portage/xy/z.ebuild qmerge
Back to top
View user's profile Send private message
iKiddo
Guru
Guru


Joined: 27 Jun 2002
Posts: 341
Location: Europe?

PostPosted: Fri Dec 20, 2002 4:08 pm    Post subject: Reply with quote

smart wrote:
wouldn't manually issuing the "ebuild" command (man ebuild) help ?
try
ebuild /usr/portage/xy/z.ebuild compile
ebuild /usr/portage/xy/z.ebuild install
ebuild /usr/portage/xy/z.ebuild qmerge


No, it won't. It does exactly the same as emerge, except that it only performs up to the step you used.
Back to top
View user's profile Send private message
mario
Guru
Guru


Joined: 20 Apr 2002
Posts: 400
Location: Mountain View, CA

PostPosted: Fri Dec 20, 2002 4:38 pm    Post subject: actually it would Reply with quote

ebuild merge will make depend and will detect what is compiled already, so try that
Back to top
View user's profile Send private message
geophagus
n00b
n00b


Joined: 16 Dec 2002
Posts: 36
Location: Tönisvorst/Germany

PostPosted: Fri Dec 20, 2002 6:34 pm    Post subject: Reply with quote

Reading the ebuild man page I see that hopefully (compile/install/qmerge) or (emerge) will do the job. I'll give them a try next time.

Thanks to all
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