Installing SageMath 10.2.beta* in Ubuntu 22.04

260 views
Skip to first unread message

Ian Benson

unread,
Sep 12, 2023, 10:48:21 PM9/12/23
to sage-support
Can you help to get the attached install to complete.

At present it fails with the messages

Error building Sage.

The following package(s) may have failed to build (not necessarily
during this run of 'make all-start'):

* package:         fplll-5.4.4
  last build time: Sep 12 22:52
  log file:        /home/ibenson/sagemath/stagedevelop/sage/logs/pkgs/fplll-5.4.4.log
  build directory: /home/ibenson/sagemath/stagedevelop/sage/local/var/tmp/sage/build/fplll-5.4.4

* package:         fflas_ffpack-2.4.3.p0
  last build time: Sep 12 22:55
  log file:        /home/ibenson/sagemath/stagedevelop/sage/logs/pkgs/fflas_ffpack-2.4.3.p0.log
  build directory: /home/ibenson/sagemath/stagedevelop/sage/local/var/tmp/sage/build/fflas_ffpack-2.4.3.p0

* package:         giac-1.9.0.15p0
  last build time: Sep 12 22:59
  log file:        /home/ibenson/sagemath/stagedevelop/sage/logs/pkgs/giac-1.9.0.15p0.log
  build directory: /home/ibenson/sagemath/stagedevelop/sage/local/var/tmp/sage/build/giac-1.9.0.15p0

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.2 LTS
Release:        22.04

I attach the logs as requested.

Many thanks for all your hard work.

~i
config.log
giac-1.9.0.15p0.log
fplll-5.4.4.log
fflas_ffpack-2.4.3.p0.log

Eric Gourgoulhon

unread,
Sep 13, 2023, 4:34:28 AM9/13/23
to sage-support
Hi,

From the log files, all these failures have the same origin:
g++: fatal error: Killed signal terminated program cc1plus
It seems that the SageMath build has been interrupted by some external process.

Eric.

Dima Pasechnik

unread,
Sep 13, 2023, 4:47:35 AM9/13/23
to sage-s...@googlegroups.com
On Wed, Sep 13, 2023 at 9:34 AM Eric Gourgoulhon <egourg...@gmail.com> wrote:
Hi,

From the log files, all these failures have the same origin:
g++: fatal error: Killed signal terminated program cc1plus

This looks like insufficient amount of RAM available.  2Gb of RAM are a minimum for these Sage packages, 
possibly more. This kind of error pops up when one tries to build on a resource-constrained VM.



--
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 sage-support...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/49fc7b49-67fb-4f0a-af4d-4de090d959b1n%40googlegroups.com.

Ian Benson

unread,
Sep 13, 2023, 2:33:24 PM9/13/23
to sage-support
Thanks for that advice. I am running in a VM under Windows 11 WSL. I replaced MAKE="make -j8" make by MAKE="make -j2" make
and the installation worked ok.

Reply all
Reply to author
Forward
0 new messages