View previous topic :: View next topic |
Author |
Message |
geophagus n00b
Joined: 16 Dec 2002 Posts: 36 Location: Tönisvorst/Germany
|
Posted: Fri Dec 20, 2002 7:55 am Post subject: src_compile failed. How can I continue without loosing hours |
|
|
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 |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Fri Dec 20, 2002 8:22 am Post subject: |
|
|
Perhaps ccache would interest you. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
geophagus n00b
Joined: 16 Dec 2002 Posts: 36 Location: Tönisvorst/Germany
|
Posted: Fri Dec 20, 2002 12:09 pm Post subject: |
|
|
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 |
|
|
smart Guru
Joined: 19 Nov 2002 Posts: 455
|
Posted: Fri Dec 20, 2002 2:45 pm Post subject: |
|
|
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 |
|
|
iKiddo Guru
Joined: 27 Jun 2002 Posts: 341 Location: Europe?
|
Posted: Fri Dec 20, 2002 4:08 pm Post subject: |
|
|
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 |
|
|
mario Guru
Joined: 20 Apr 2002 Posts: 400 Location: Mountain View, CA
|
Posted: Fri Dec 20, 2002 4:38 pm Post subject: actually it would |
|
|
ebuild merge will make depend and will detect what is compiled already, so try that |
|
Back to top |
|
|
geophagus n00b
Joined: 16 Dec 2002 Posts: 36 Location: Tönisvorst/Germany
|
Posted: Fri Dec 20, 2002 6:34 pm Post subject: |
|
|
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 |
|
|
|