Hi all,
My build of Sage 7.2 on Ubuntu 16.04 failed in atlas-3.10.2, with an error 
that I don't understand and don't know how to fix.
What should I be doing to obtain a successful build of Sage 7.2 from source?
All the best, Paul

DETAILS:

I downloaded sage-7.2.tar.gz to my home Linux box:

leopardi@catawba:~/sync/src-downloaded/sage/sage-7.2$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04 LTS
Release:        16.04
Codename:       xenial

leopardi@catawba:~/sync/src-downloaded/sage/sage-7.2$ uname -a
Linux catawba 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016 
x86_64 x86_64 x86_64 GNU/Linux

leopardi@catawba:~/sync/src-downloaded/sage/sage-7.2$ gcc --version
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.1) 5.4.0 20160609
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

I then followed the instructions at 
http://doc.sagemath.org/html/en/installation/source.html to install from 
source.

$ tar xvfz sage-7.2.tar.gz
$ cd sage-7.2
$ make

This failed with the following error message:

"Error: The spkg-install script is written in Python, but the Python
package is not yet installed in Sage.  You should add $(PYTHON)
as dependency in build/pkgs/atlas/dependencies"

I have attached the make output surrounding the error message, as the file 
make.out.
One point to note in the attachment is that the python2-2.7.10.p1 build 
within Sage 7.2 reported
"Finished installing python2-2.7.10.p1.spkg"
before the error message in the atlas-3.10.2.p2 build.

Also the files build/pkgs/atlas, build/pkgs/atlas/dependencies and 
logs/pkgs/atlas-3.10.2.p2.log contain:

leopardi@catawba:~/sync/src-downloaded/sage/sage-7.2$ ls build/pkgs/atlas
checksums.ini  configuration.py  dependencies  enums.py  
package-version.txt  patches  spkg-check  spkg-install  spkg-src  SPKG.txt  
type

leopardi@catawba:~/sync/src-downloaded/sage/sage-7.2$ cat 
build/pkgs/atlas/dependencies
| $(PYTHON)

----------
All lines of this file are ignored except the first.
It is copied by SAGE_ROOT/build/make/install into 
SAGE_ROOT/build/make/Makefile.

leopardi@catawba:~/sync/src-downloaded/sage/sage-7.2$ more 
/home/leopardi/sync/src-downloaded/sage/sage-7.2/logs/pkgs/atlas-3.10.2.p2.log
Found local metadata for atlas-3.10.2.p2
Using cached file 
/home/leopardi/sync/src-downloaded/sage/sage-7.2/upstream/atlas-3.10.2.tar.bz2
atlas-3.10.2.p2
====================================================
Setting up build directory for atlas-3.10.2.p2
Finished set up
Error: The spkg-install script is written in Python, but the Python
package is not yet installed in Sage.  You should add $(PYTHON)
as dependency in build/pkgs/atlas/dependencies

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Attachment: make.out
Description: Binary data

Reply via email to