Ask Your Question

downloaded binary, but got a msg that I still need to compile

asked 2018-07-11 07:07:08 +0200

paul1963 gravatar image

~/SageMath/sage shows as an executable, as do many other files in the various directories, so it doesn't seem that I need to compile.. nonetheless the Makefile and related are present in~/SageMath.. tried running make, but that failed with Makefile:20: recipe for target 'all' failed.. what next?

edit retag flag offensive close merge delete


which OS ? which version of this OS ? which version of sage ? more details are required..

FrédéricC gravatar imageFrédéricC ( 2018-07-11 09:22:01 +0200 )edit

This might be related to

Note: that page can be found searching the web for [ "Makefile:20: recipe for target 'all' failed" sagemath ].

slelievre gravatar imageslelievre ( 2018-07-11 12:00:05 +0200 )edit

tnx Sagehelp, esp slelievre.. and whoever figured this out because I never would have in a million hours.. I needed to comment out a line that anaconda put in my .bashrc... now it works.. wow..

paul1963 gravatar imagepaul1963 ( 2018-07-15 02:20:05 +0200 )edit

1 Answer

Sort by » oldest newest most voted

answered 2018-07-15 02:27:47 +0200

paul1963 gravatar image

It is necessary to comment out a path modification that Anaconda adds to one's .bashrc This with SageMath version 8.2 on a 64 bit HP running Ubuntu 17, Linux 4.13 tnx all

edit flag offensive delete link more


You can accept your own answer.

slelievre gravatar imageslelievre ( 2018-07-15 11:24:53 +0200 )edit

Depending on your system, Anaconda might add such a line in ~/.bashrc or ~/.bash_profile.

slelievre gravatar imageslelievre ( 2018-07-15 11:25:46 +0200 )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


Asked: 2018-07-11 07:07:08 +0200

Seen: 176 times

Last updated: Jul 15 '18