ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Wed, 05 Aug 2020 12:56:16 +0200Compiling sage 9.1 takes dayshttps://ask.sagemath.org/question/52868/compiling-sage-91-takes-days/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!Wed, 05 Aug 2020 11:22:16 +0200https://ask.sagemath.org/question/52868/compiling-sage-91-takes-days/Comment by slelievre for <p>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:</p>
<pre><code>[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] | { }
</code></pre>
<p>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.</p>
<p>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. )</p>
<p>System specs: </p>
<ul>
<li>OS: Clear linux OS; build IF: 33570; 64 bit</li>
<li>Processor: Intel® Core™ i5-9400H CPU @ 2.50GHz × 8 </li>
<li>Memory: 31.0 GiB</li>
</ul>
<p>Thank you very much in advance!</p>
https://ask.sagemath.org/question/52868/compiling-sage-91-takes-days/?comment=52871#post-id-52871Welcome to Ask Sage! Thank you for your question!Wed, 05 Aug 2020 12:56:16 +0200https://ask.sagemath.org/question/52868/compiling-sage-91-takes-days/?comment=52871#post-id-52871Answer by slelievre for <p>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:</p>
<pre><code>[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] | { }
</code></pre>
<p>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.</p>
<p>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. )</p>
<p>System specs: </p>
<ul>
<li>OS: Clear linux OS; build IF: 33570; 64 bit</li>
<li>Processor: Intel® Core™ i5-9400H CPU @ 2.50GHz × 8 </li>
<li>Memory: 31.0 GiB</li>
</ul>
<p>Thank you very much in advance!</p>
https://ask.sagemath.org/question/52868/compiling-sage-91-takes-days/?answer=52870#post-id-52870Detecting a system installation of ecl is the object of:
- [Sage Trac ticket 29617: spkg-configure.m4 for ecl and maxima](https://trac.sagemath.org/ticket/29617)
and it is not ready yet.
Note that Sage-the-distribution has upgraded to ECL 20.4.24 at
- [Sage Trac ticket 22191: update ECL to 20.4.24](https://trac.sagemath.org/ticket/22191)
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.
- [Sage documentation: installing Sage via Conda](https://doc.sagemath.org/html/en/installation/conda.html)
- [Sage package for Nix](https://github.com/NixOS/nixpkgs/tree/master/pkgs/applications/science/math/sage)
For more options see
- ["Distribution" page on the Sage wiki](https://wiki.sagemath.org/Distribution)
It might make sense to set up a `tox` environment for building Sage on [Clear Linux](https://clearlinux.org).Wed, 05 Aug 2020 12:42:03 +0200https://ask.sagemath.org/question/52868/compiling-sage-91-takes-days/?answer=52870#post-id-52870