Ask Your Question
1

Problem in installing SAGE

asked 2016-06-03 13:42:17 +0100

Sager gravatar image

updated 2016-06-06 00:57:21 +0100

slelievre gravatar image

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?

Thanks

edit retag flag offensive close merge delete

Comments

1

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 19:52:27 +0100 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2016-07-26 04:17:14 +0100

updated 2016-07-26 04:18:05 +0100

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 http://mirrors.mit.edu/sage/linux/64b... (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 http://www.sagemath.org/download-sour.... Is 'make' supposed to work with the binary distribution?

edit flag offensive delete link more

Comments

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 15:43:00 +0100 )edit
0

answered 2016-07-26 08:52:03 +0100

slelievre gravatar image

updated 2016-07-27 09:38:45 +0100

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 README.md, which is also online at

https://github.com/sagemath/sage/blob/master/README.md

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:

./sage

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2016-06-03 13:42:17 +0100

Seen: 1,658 times

Last updated: Jul 27 '16