ASKSAGE: Sage Q&A Forum - Latest question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Wed, 28 Nov 2018 09:00:12 -0600How to pack sage-8.4 armv7l built as compressed re-distributable binaries?http://ask.sagemath.org/question/44489/how-to-pack-sage-84-armv7l-built-as-compressed-re-distributable-binaries/So I have compiled sage-8.4 for Raspbian Stretch on armv7l/RPI3B and it took size of about 12 GB and now if I want to re-distribute it as compressed re-distributable binaries, which files and folders I can trim down to reduce its size keeping the working condition?
sage-8.4 $ ls -la
total 748
drwxr-xr-x 15 pi pi 4096 Nov 27 15:26 .
drwxr-xr-x 40 pi pi 4096 Nov 28 17:37 ..
-rw-r--r-- 1 pi pi 44178 Nov 27 13:17 aclocal.m4
drwxr-xr-x 2 pi pi 4096 Nov 27 15:17 autom4te.cache
-rwxr-xr-x 1 pi pi 4060 Oct 18 05:13 bootstrap
drwxr-xr-x 7 pi pi 4096 Oct 18 05:13 build
-rw-r--r-- 1 pi pi 11 Nov 28 13:26 .BUILDSTART
drwxr-xr-x 2 pi pi 4096 Oct 18 05:13 .ci
drwxr-xr-x 2 pi pi 4096 Oct 18 05:13 .circleci
drwxr-xr-x 2 pi pi 4096 Nov 27 15:17 config
-rw-r--r-- 1 pi pi 90637 Nov 27 15:18 config.log
-rwxr-xr-x 1 pi pi 81382 Nov 27 15:18 config.status
-rwxr-xr-x 1 pi pi 295272 Nov 27 15:17 configure
-rw-r--r-- 1 pi pi 26587 Oct 18 05:13 configure.ac
-rw-r--r-- 1 pi pi 9684 Nov 27 15:18 configure.log
-rw-r--r-- 1 pi pi 66986 Oct 18 05:13 COPYING.txt
-rw-r--r-- 1 pi pi 252 Oct 18 05:13 .dir-locals.el
drwxr-xr-x 3 pi pi 4096 Oct 18 05:13 docker
lrwxrwxrwx 1 pi pi 10 Nov 28 17:37 .dockerignore -> .gitignore
drwxr-xr-x 8 pi pi 4096 Oct 18 05:16 .git
drwxr-xr-x 2 pi pi 4096 Oct 18 05:13 .github
-rw-r--r-- 1 pi pi 1058 Oct 18 05:13 .gitignore
-rw-r--r-- 1 pi pi 6753 Oct 18 05:13 .gitlab-ci.yml
drwxr-xr-x 10 pi pi 4096 Nov 28 14:21 local
drwxr-xr-x 3 pi pi 4096 Nov 28 14:21 logs
drwxr-xr-x 2 pi pi 4096 Oct 18 05:13 m4
-rw-r--r-- 1 pi pi 7284 Oct 18 05:13 Makefile
-rw-r--r-- 1 pi pi 17604 Oct 18 05:13 README.md
-rwxr-xr-x 1 pi pi 4756 Oct 18 05:13 sage
drwxr-xr-x 9 pi pi 4096 Nov 28 00:48 src
drwxr-xr-x 2 pi pi 12288 Oct 18 05:17 upstream
-rw-r--r-- 1 pi pi 47 Oct 18 05:13 VERSION.txtpavelsayekatWed, 28 Nov 2018 09:00:12 -0600http://ask.sagemath.org/question/44489/problem installing sage on ubuntu18.04http://ask.sagemath.org/question/44110/problem-installing-sage-on-ubuntu1804/As written on the download page, I wanted to get the linux binaries. I can't find them.
I've obtained the source tarball for ubuntu18.4 (64bits).
I've unarchived the directory `Sagemath` and cd'ed there. I type `make` as explained.
This is the message I obtain:
> RecursionError: maximum recursion
> depth exceeded during compilation
> Makefile:31: recipe for target
> 'base-toolchain' failed make: ***
> [base-toolchain] Error 1
I've tried to install sage via apt with `sudo apt install sagemath-common`
all goes well, no error message. Then try to run sage and obtain the following message:
> │ SageMath version 8.1, Release Date:
> 2017-12-07 │ │
> Type "notebook()" for the
> browser-based notebook interface.
> │ │ Type "help()" for help.
> │ Traceback (most recent call last):
> File "/usr/share/sagemath/bin/sage-ipython", line 7, in <module>
> from sage.repl.interpreter import SageTerminalApp
> ImportError: No module named 'sage'
I had a working sage (7.?) on the same machine under ubuntu16.04 which stopped working under ubuntu18.04.
I've deleted the Sage and also the .sage directories before trying all the above.
I am at my wit's end and would greatly appreciate any help.
Le TeXnicien de surfaceMon, 29 Oct 2018 06:33:36 -0500http://ask.sagemath.org/question/44110/Starting Sage from precompiled binaryhttp://ask.sagemath.org/question/42441/starting-sage-from-precompiled-binary/Hello ! My operating system is Xubuntu 16.04.1 x86_64. I've downloaded sage-8.2-Ubuntu_16.04-x86_64.tar.bz2 precompiled binary archive and checked md5 sum. Beforehand I also checked sage prerequisites and installed them all, including openssl. However, after package untar and attempt to launch ./sage, the error message appears: It seems that you are attempting to run Sage from an unpacked source
tarball, but you have not compiled it yet (or maybe the build has not finished). You should run `make` in the Sage root directory first. If you did not intend to build Sage from source, you should download a binary tarball instead. Read README.txt for more information.
Maybe someone have already encountered this problem? There might be some bug in sage installation check?
My intention is to install sagemath kernel to the existing jupyter installation. I tried to install kernelspec for the existing jupyter installation without running ./sage, and installation completes, but kernel can't start.IvanYSat, 26 May 2018 02:47:15 -0500http://ask.sagemath.org/question/42441/error in creating relocatable "runtime binaries only"http://ask.sagemath.org/question/37690/error-in-creating-relocatable-runtime-binaries-only/If I clone github.com/sagemath/binary-pkg.git, change branch from develop to master in sage.yaml, and run
$ export PACKAGE="Runtime binaries only"
$ make bdist-sage-linux
I get error messages in stage-sage saying
ERROR:root:At b'.../local/share/doc/sage/html/en/reference/calculus/sage/calculus/ode.htmlX\x1e'
ERROR:root:path terminator b'\x1e' not allowed in .../local/share/doc/sage/doctrees/ca/intro/environment.pickle
What am I doing wrong? Or should I file a bug report?
Or where can I find documentation on what commands I can run to remove unnecessary files? (E.g. I'd expect that some directories could be deleted, and that some binaries could be stripped.)
Thanks!millermjWed, 24 May 2017 20:51:55 -0500http://ask.sagemath.org/question/37690/