Problems Compiling 9.0

35 views
Skip to first unread message

finotti

unread,
Jan 3, 2020, 2:54:04 PM1/3/20
to sage-support
I'm trying to build version 9.0 from source under Linux (Debian Unstable/Sid).  The machine has Intel Core i7-8700 CPU and 48GB of RAM.

Below is the end of the compilation:

[snip]

[twisted-16.3.0.p0] Finished installing twisted-16.3.0.p0.spkg

make
[3]: Leaving directory '/home/finotti/src/sage-9.0/build/make'

make
[2]: *** [Makefile:1830: all-start] Error 2

make
[2]: Leaving directory '/home/finotti/src/sage-9.0/build/make'



real    
21m22.729s

user    
92m46.651s

sys    
9m10.370s

***************************************************************

Error building Sage.



The following package(s) may have failed to build (not necessarily

during
this run of 'make all-start'):



* package: openblas-0.3.6.p0

  log file
: /home/finotti/src/sage-9.0/logs/pkgs/openblas-0.3.6.p0.log

  build directory
: /home/finotti/src/sage-9.0/local/var/tmp/sage/build/openblas-0.3.6.p0



The build directory may contain configuration files and other potentially

helpful information
. WARNING: if you now run 'make' again, the build

directory will
, by default, be deleted. Set the environment variable

SAGE_KEEP_BUILT_SPKGS to
'yes' to prevent this.



make
[1]: *** [Makefile:33: all-start] Error 1

make
[1]: Leaving directory '/home/finotti/src/sage-9.0'

make
: *** [Makefile:13: all] Error 2

The openblas-0.3.6.p0 directory did not seem to have any useful log file.

Any ideas or suggestions?

John H Palmieri

unread,
Jan 3, 2020, 4:31:40 PM1/3/20
to sage-support
What about the log file listed:

log file: /home/finotti/src/sage-9.0/logs/pkgs/openblas-0.3.6.p0.log

?

finotti

unread,
Jan 3, 2020, 4:58:09 PM1/3/20
to sage-support
OK, I found the problem!  When trying to compile 8.9 I got a more explicit error message (which I since then "lost" by compiling again) when it also failed due to openblas.

The problem was using
export MAKE="make -j4 -l5.5"

as suggested in the README.md file.  The `-l5.5` parameter was the problem.  Removing it, I could compile 9.0 and now am compiling 8.9.
Reply all
Reply to author
Forward
0 new messages