1 | initial version |
While I don't know how to fix the compilation error that I asked about, I have discovered a workaround.
My goal is to get a small working relocatable copy of Sage. As compiled without the "Runtime binaries only", the SageMath folder is 5.3 GB, which is bigger than I'd like.
After relocating and the initial run of Sage (when the paths are patched), I ran the following commands from the SageMath directory.
$ LC_ALL=C find local/lib local/bin -type f -print0 | xargs -0 strip 2>&1 | grep -v "File format not recognized\|File truncated"
$ rm -rdf src
$ rm -rdf local/share/doc
The result was a working (as far as I can tell) copy of Sage, but SageMath is now only 1.5GB, which is much smaller. This will suffice for my needs, although I would much prefer doing this by fixing the compilation error.