Ask Your Question

Compiling sage 9.1 takes days

asked 2020-08-05 04:25:02 -0600

gvercley gravatar image

updated 2020-08-05 05:37:08 -0600

slelievre gravatar image

I am trying to compile sage 9.1 and even though I have ecl-20.4.24 installed, sage is unable to find it and decides to compile ecl-16.1.2. This process takes at least several days. (I aborted the process after 2.5 days) During compilation the terminal prints out a humongous amount of vectors:

[ecl-16.1.2.p5] 16933 | ,{247, 103, 212, 0}
[ecl-16.1.2.p5]       |   {               }
[ecl-16.1.2.p5] 16934 | ,{247, 103, 89, 7}
[ecl-16.1.2.p5]       |   {              }
[ecl-16.1.2.p5] 16935 | ,{247, 103, 48, 0}
[ecl-16.1.2.p5]       |   {              }

and I haven't got a clue why it is doing that. I have managed to compile ecl-20.4.24 separately in about 10 seconds.

Does anyone know how to fix this problem? (One way could be to configure the compilation process such that sage does find the installed version of ecl (located in /usr/local/bin) but I have no idea how to do so. None of the options in ./configure --help seems to address this issue. )

System specs:

  • OS: Clear linux OS; build IF: 33570; 64 bit
  • Processor: Intel® Core™ i5-9400H CPU @ 2.50GHz × 8
  • Memory: 31.0 GiB

Thank you very much in advance!

edit retag flag offensive close merge delete


Welcome to Ask Sage! Thank you for your question!

slelievre gravatar imageslelievre ( 2020-08-05 05:56:16 -0600 )edit

1 answer

Sort by » oldest newest most voted

answered 2020-08-05 05:42:03 -0600

slelievre gravatar image

updated 2020-08-05 05:58:47 -0600

Detecting a system installation of ecl is the object of:

and it is not ready yet.

Note that Sage-the-distribution has upgraded to ECL 20.4.24 at

which was merged in Sage 9.2.beta5.

To build the latest development version instead of the latest stable (change DIR as appropriate):

$ DIR=/home/you/SageMath
$ cd $DIR
$ git checkout develop
$ git pull origin develop --tags
$ make configure
$ ./configure
$ make -s V=0

As an alternative, you may want to install Sage via some package manager, such as Conda or Nix.

For more options see

It might make sense to set up a tox environment for building Sage on Clear Linux.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2020-08-05 04:22:16 -0600

Seen: 89 times

Last updated: Aug 05 '20