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.Tue, 26 Jun 2018 23:11:32 +0200linux binary seems to be sourcehttps://ask.sagemath.org/question/42736/linux-binary-seems-to-be-source/ I followed the link "Linux binaries" from the Download page, which leads to a page titles "Binaries for Linux" for which I do not have enough karma to post the exact url, but it is sagemath dot org slash download minus linux dot html. As recommended I downloaded the torrent version of sage-8.2-Ubuntu_16.04-x86_64.tar.bz2
But ./sage gives this result:
~/Documents/SageMath $ ./sage
RecursionError: maximum recursion depth exceeded during compilation
************************************************************************
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.
************************************************************************
Tue, 26 Jun 2018 15:23:11 +0200https://ask.sagemath.org/question/42736/linux-binary-seems-to-be-source/Answer by John Palmieri for <p>I followed the link "Linux binaries" from the Download page, which leads to a page titles "Binaries for Linux" for which I do not have enough karma to post the exact url, but it is sagemath dot org slash download minus linux dot html. As recommended I downloaded the torrent version of sage-8.2-Ubuntu_16.04-x86_64.tar.bz2
But ./sage gives this result:</p>
<pre><code>~/Documents/SageMath $ ./sage
RecursionError: maximum recursion depth exceeded during compilation
************************************************************************
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.
************************************************************************
</code></pre>
https://ask.sagemath.org/question/42736/linux-binary-seems-to-be-source/?answer=42737#post-id-42737What does `python --version` return? If it's version 3, maybe that's causing this. Or do you have anaconda installed? See https://ask.sagemath.org/question/35132/how-do-i-solve-this-installation-problem/ or https://stackoverflow.com/questions/38175159/sagemath-installation-fails-on-ubuntu-16.Tue, 26 Jun 2018 18:45:11 +0200https://ask.sagemath.org/question/42736/linux-binary-seems-to-be-source/?answer=42737#post-id-42737Comment by John Palmieri for <p>What does <code>python --version</code>return? If it's version 3, maybe that's causing this. Or do you have anaconda installed? See <a href="https://ask.sagemath.org/question/35132/how-do-i-solve-this-installation-problem/">https://ask.sagemath.org/question/351...</a> or <a href="https://stackoverflow.com/questions/38175159/sagemath-installation-fails-on-ubuntu-16">https://stackoverflow.com/questions/3...</a>.</p>
https://ask.sagemath.org/question/42736/linux-binary-seems-to-be-source/?comment=42745#post-id-42745I just opened a ticket in case someone wants to work on a better error message: https://trac.sagemath.org/ticket/25668Tue, 26 Jun 2018 23:11:32 +0200https://ask.sagemath.org/question/42736/linux-binary-seems-to-be-source/?comment=42745#post-id-42745Comment by never_too_late for <p>What does <code>python --version</code>return? If it's version 3, maybe that's causing this. Or do you have anaconda installed? See <a href="https://ask.sagemath.org/question/35132/how-do-i-solve-this-installation-problem/">https://ask.sagemath.org/question/351...</a> or <a href="https://stackoverflow.com/questions/38175159/sagemath-installation-fails-on-ubuntu-16">https://stackoverflow.com/questions/3...</a>.</p>
https://ask.sagemath.org/question/42736/linux-binary-seems-to-be-source/?comment=42739#post-id-42739yes I have conda. python --version returns: Python 3.6.4 :: Anaconda custom (64-bit)
If that is the cause, the error message is less than helpful...
Now I am compiling from source from the source files. I see it compiles its own python... what does it matter which python I have one could say. Or at least, maybe it is a good idea to put in the readme's that I not only need OpenSSL, but also Python 2.
We'll see what the compiling brings. thanks for your answer!Tue, 26 Jun 2018 19:49:11 +0200https://ask.sagemath.org/question/42736/linux-binary-seems-to-be-source/?comment=42739#post-id-42739Comment by never_too_late for <p>What does <code>python --version</code>return? If it's version 3, maybe that's causing this. Or do you have anaconda installed? See <a href="https://ask.sagemath.org/question/35132/how-do-i-solve-this-installation-problem/">https://ask.sagemath.org/question/351...</a> or <a href="https://stackoverflow.com/questions/38175159/sagemath-installation-fails-on-ubuntu-16">https://stackoverflow.com/questions/3...</a>.</p>
https://ask.sagemath.org/question/42736/linux-binary-seems-to-be-source/?comment=42740#post-id-42740oh after an hour the build failed :(
pfff it is getting too hard. I was hoping for a osx-like self-contained complete package :) still getting used to linux and a slightly more complex way of doing things. Ok I postpone all this for another day.
If you or anyone has any ideas how to install Sage on Linux Mint, I am all ears!
***************************************************************
Error building Sage.
The following package(s) may have failed to build (not necessarily
during this run of 'make all'):
* documentation: dochtml
log file: /home/hoi/Documents/sage-8.2/logs/pkgs/../dochtml.log
(... cut ...)
Makefile:20: recipe for target 'all' failed
make: *** [all] Error 1Tue, 26 Jun 2018 20:13:18 +0200https://ask.sagemath.org/question/42736/linux-binary-seems-to-be-source/?comment=42740#post-id-42740Comment by John Palmieri for <p>What does <code>python --version</code>return? If it's version 3, maybe that's causing this. Or do you have anaconda installed? See <a href="https://ask.sagemath.org/question/35132/how-do-i-solve-this-installation-problem/">https://ask.sagemath.org/question/351...</a> or <a href="https://stackoverflow.com/questions/38175159/sagemath-installation-fails-on-ubuntu-16">https://stackoverflow.com/questions/3...</a>.</p>
https://ask.sagemath.org/question/42736/linux-binary-seems-to-be-source/?comment=42741#post-id-42741With anaconda installed, you should be able to also install a binary version of Sage: see j.c.'s answer to the question https://ask.sagemath.org/question/42562/recursionerror-when-installing-sagemath-82/?answer=42611#post-id-42611.Tue, 26 Jun 2018 21:03:03 +0200https://ask.sagemath.org/question/42736/linux-binary-seems-to-be-source/?comment=42741#post-id-42741Comment by never_too_late for <p>What does <code>python --version</code>return? If it's version 3, maybe that's causing this. Or do you have anaconda installed? See <a href="https://ask.sagemath.org/question/35132/how-do-i-solve-this-installation-problem/">https://ask.sagemath.org/question/351...</a> or <a href="https://stackoverflow.com/questions/38175159/sagemath-installation-fails-on-ubuntu-16">https://stackoverflow.com/questions/3...</a>.</p>
https://ask.sagemath.org/question/42736/linux-binary-seems-to-be-source/?comment=42743#post-id-42743ah yes that did the trick. Temporarily commenting out the Anaconda line in .bashrc, and uncommenting it again after Sage did its thing. Thanks!!!!!Tue, 26 Jun 2018 22:21:02 +0200https://ask.sagemath.org/question/42736/linux-binary-seems-to-be-source/?comment=42743#post-id-42743