Re: [sage-devel] Need to build sage as root for Slackware package

2023-12-23 Thread Dima Pasechnik
You may also try https://github.com/sagemath/binary-pkg to rewrite paths etc. We used to build binary packages using this tool, packages you can install into any prefix. No ./configure options would help you here. It's actually less remapping hassle to use as many system packages as possible.

Re: [sage-devel] Need to build sage as root for Slackware package

2023-12-23 Thread Matthias Koeppe
The Sage distribution does not support relocation after build and also not DESTDIR-style staged installation. See https://github.com/sagemath/sage/issues/36860#issuecomment-1854730246 for the suggested method for downstream packaging of Sage. On Saturday, December 23, 2023 at 10:13:49 AM UTC-8

Re: [sage-devel] Need to build sage as root for Slackware package

2023-12-23 Thread Christopher Duston
Ugh sorry my mistake, that's the error when running /opt/sage. The error when running from SAGE_LOCAL/bin/sage is $ pwd /tmp/SBo/package-sage/INSTALL/bin $ ./sage ./sage: ././sage-config: /tmp/SBo/package-sage/INSTALL/bin/python3: bad interpreter: No such file or directory ./sage: ././sage-config:

[sage-devel] Need to build sage as root for Slackware package

2023-12-23 Thread cdu...@gmail.com
Hello, I am the maintainer for the Slackware package of SageMath. They've recently instituted a policy that all packages must be built in /tmp, which makes things tricky with Sage, as the build directory might get removed at a later point, and Sage needs that. Previously I had just built