Ask Your Question
1

Problem in installing SAGE

asked 8 years ago

Sager gravatar image

updated 8 years ago

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

Preview: (hide)

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 ( 8 years ago )

2 Answers

Sort by » oldest newest most voted
0

answered 8 years ago

updated 8 years ago

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?

Preview: (hide)
link

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 ( 8 years ago )
0

answered 8 years ago

slelievre gravatar image

updated 8 years ago

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.

Preview: (hide)
link

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: 8 years ago

Seen: 1,862 times

Last updated: Jul 27 '16