Ask Your Question
1

linux binary seems to be source

asked 2018-06-26 15:23:11 +0100

never_too_late gravatar image

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.
************************************************************************
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-06-26 18:45:11 +0100

What does python --versionreturn? If it's version 3, maybe that's causing this. Or do you have anaconda installed? See https://ask.sagemath.org/question/351... or https://stackoverflow.com/questions/3....

edit flag offensive delete link more

Comments

yes 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!

never_too_late gravatar imagenever_too_late ( 2018-06-26 19:49:11 +0100 )edit

oh 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 1
never_too_late gravatar imagenever_too_late ( 2018-06-26 20:13:18 +0100 )edit

With 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/425....

John Palmieri gravatar imageJohn Palmieri ( 2018-06-26 21:03:03 +0100 )edit

ah yes that did the trick. Temporarily commenting out the Anaconda line in .bashrc, and uncommenting it again after Sage did its thing. Thanks!!!!!

never_too_late gravatar imagenever_too_late ( 2018-06-26 22:21:02 +0100 )edit

I just opened a ticket in case someone wants to work on a better error message: https://trac.sagemath.org/ticket/25668

John Palmieri gravatar imageJohn Palmieri ( 2018-06-26 23:11:32 +0100 )edit

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

Stats

Asked: 2018-06-26 15:23:11 +0100

Seen: 789 times

Last updated: Jun 26 '18