On Wed, Oct 23, 2019 at 4:46 AM Andrey Bliznyuk <[email protected]> wrote: > > Thank you very much, Dima for your response. > > I presume I can read it as "Unfortunately the make continuation is not really > possible in this case". Which is a real pity and, IMHO, somewhat not logical.
it is possible, but tricky. Basically you need to do the steps in the script <SAGEROOT>/build/pkgs/maxima/spkg-install (something one can run more or less directly, by doing ./sage -f maxima) which in particular creates JSON files that serve as special targets for the main makefile build/make/Makefile, that let it decide which packages still need to be built. These JSON files also contain info needed for package de-installation. E.g. for maxima it's local/var/lib/sage/installed/maxima-5.42.2 HTH Dima > > I am trying to work around a bug in ld that causes the maxima build to fail. > When the make fails, it is easy to me to repeat the failing command with some > modification to avoid the ld failure, > alas, as it turned out, I can't continue the build after that. > > Patching the maxima makefile is certainly an option, but it requires a bit > more work :-(. > > I am really grateful for the response and this can be closed. > > Best wishes, > > Andre > > > > On Tuesday, 22 October 2019 22:35:35 UTC+11, Dima Pasechnik wrote: >> >> Hi, >> Normally, for a task you describe, >> one would make extra patches to apply to Maxima, >> add them to build/pkgs/maxima/patches/, and build normally. >> >> Perhaps if you explain what exactly you're trying to do, we could >> advice you in more >> detail. >> >> HTH >> Dima >> >> >> On Tue, Oct 22, 2019 at 12:11 PM Andrey Bliznyuk <[email protected]> wrote: >> > >> > Hi, >> > >> > I am trying to build sage 8.9 from source on unix, I want to make some >> > changes to maxima build. I can do this by interrupting the sage build >> > when it starts maxima, then going to >> > sage-8.9/local/var/tmp/sage/build/maxima-5.42.2/src and running make there. >> > >> > Unfortunately, it seems I can't then return to the sage build. When I >> > return to sage-8.9 directory and run make there, the make starts compiling >> > sagelib and then goes to compile maxima from the very beginning, >> > Setting export SAGE_KEEP_BUILT_SPKGS=yes doesn't change the behavior as it >> > looks like all this setting does for maxima is to mv the build/maxima >> > directory to build/old/maxima and unpack maxima again. >> > >> > The question: is it possible to continue the sage build after that >> > interruption in maxima? >> > >> > Best wishes, >> > >> > Andre >> > >> > >> > -- >> > You received this message because you are subscribed to the Google Groups >> > "sage-support" group. >> > To unsubscribe from this group and stop receiving emails from it, send an >> > email to [email protected]. >> > To view this discussion on the web visit >> > https://groups.google.com/d/msgid/sage-support/a3015b6f-5a86-44b7-bcfd-867c9048aa03%40googlegroups.com. > > -- > You received this message because you are subscribed to the Google Groups > "sage-support" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-support/fb78dc0e-88e2-427f-80d0-508510cd4853%40googlegroups.com. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/CAAWYfq2VVK4yQ7W%3DqwmAsKqBd-_iAEDOq0stHYAb1730n3-m4w%40mail.gmail.com.
