Ask Your Question

Problem in installing SAGE

asked 2016-06-03 06:42:17 -0500

Sager gravatar image

updated 2016-06-05 17:57:21 -0500

Hello, I get the following reply on make on Ubuntu 64 bits:

<command-line>:0:0: note: this is the location of the previous definition
In file included from /home/sem/Downloads/SageMath/local/include/fplll/nr.h:26:0,
                 from /home/sem/Downloads/SageMath/src/build/cythonized/sage/libs/fplll/fplll.cpp:346:
/home/sem/Downloads/SageMath/local/include/fplll/nr_FP_dd.inl:9:24: fatal error: qd/dd_real.h: No such file or directory

What is wrong?


edit retag flag offensive close merge delete



Could you please give us some informations so that someone can try to reproduce your problem:

  • which version of Sage did you use ?
  • did you install Sage from the binaries, and which ones ?
  • did you compile Sage yourself ?
  • which command did you type precisely to get the error ?
  • which error message did you get (could you provide more of the log) ?
  • ... ?
tmonteil gravatar imagetmonteil ( 2016-06-03 12:52:27 -0500 )edit

2 answers

Sort by ยป oldest newest most voted

answered 2016-07-26 01:52:03 -0500

updated 2016-07-27 02:38:45 -0500

If you downloaded a binary distribution, it is already compiled, you don't need to run make. Just run the sage executable that comes in it.

If you want to compile Sage, get the source distribution and run make.

In any event, after downloading Sage you get a directory where you find a file called, which is also online at

and has the following information:

Getting Started

This README.txt contains build instructions for Sage. If you downloaded a binary, you do not need to do anything; just execute:


from the command line. If you downloaded the sources, please read below on how to build Sage and work around common issues.

edit flag offensive delete link more

answered 2016-07-25 21:17:14 -0500

updated 2016-07-25 21:18:05 -0500

I had exactly the same problem on OpenSuse Leap 42.1. I downloaded the binary distribution sage-7.2-Fedora_23-x86_64.tar.bz2 from (since there is no OpenSuse binary). I extracted it and then ran 'make' (in spite of the fact that this was a binary distribution). Make ran for 20 minutes before giving this error. But the problem went away when I actually downloaded the source distribution instead from Is 'make' supposed to work with the binary distribution?

edit flag offensive delete link more


make works for me with the binary distribution Sage 7.2 for Ubuntu 14.04 (sage-7.2-Ubuntu_14.04-x86_64.tar.bz2). Note: before running make, I ran Sage a first time, which updated many paths.

eric_g gravatar imageeric_g ( 2016-07-26 08:43:00 -0500 )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


Asked: 2016-06-03 06:42:17 -0500

Seen: 551 times

Last updated: Jul 27 '16