Did you read this ... if it can help you ?

https://groups.google.com/forum/#!topic/sage-devel/zQsZsivts0I


Le 13/07/2017 à 02:54, Christopher Phoenix a écrit :
My attempt to build Sage 7.6 resulted in an error. Before beginning, I checked that I had all the required dependencies and suggested programs. Then I got the code through git, set MAKE='make -j5 -j4' since I have four physical cpu cores, and ran make. Make ran for about 45 min. and then returned this error:

|
Errorbuilding Sage.

Thefollowing package(s)may have failed to build (notnecessarily
during thisrun of 'make all'):

*package:openblas-0.2.19.p0
log file:/home/christopher/sagemath/sage/logs/pkgs/openblas-0.2.19.p0.log build directory:/home/christopher/sagemath/sage/local/var/tmp/sage/build/openblas-0.2.19.p0

Thebuild directory may contain configuration files andother potentially
helpful information.WARNING:ifyou now run 'make'again,the build
directory will,bydefault,be deleted.Setthe environment variable
SAGE_KEEP_BUILT_SPKGS to 'yes'to prevent this.

Makefile:16:recipe fortarget 'all'failed
make:***[all]Error1
|

I checked the log file, and it said that detecting the CPU failed:

|
make[3]:***[getarch_2nd]Error1
Makefile:123:***OpenBLAS:DetectingCPU failed.PleasesetTARGET explicitly,
e.g.make TARGET=your_cpu_target.Pleaseread README forthe detail..Stop.
make[3]:Leavingdirectory '/home/christopher/sagemath/sage/local/var/tmp/sage/build/openblas-0.2.19.p0/src'
Errorbuilding OpenBLAS
|

Above this, I saw a bunch of errors involving getarch_2nd.c, which seems consistent with this. My cput is an Intel Celeron N2940 with four cores and a base clock of 1.83 ghz, this is what inxi reports on it:

|
me@thinkpad11e:~$ inxi -C
CPU:Quadcore IntelCeleronN2940 (-MCP-)cache:1024KB
           clock speeds:max:2249MHz1:1140MHz2:1569MHz3:2245MHz4:2247MHz
|

This is my first time building a program from source. It looks like I have to set the TARGET env variable to indicate my CPU manually, but I'm not sure how to do that. Should I do this, or just trying running make again? (If I double-posted, I'm sorry, the first time I tried to post it looked like it had failed to come through)
--
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 sage-support+unsubscr...@googlegroups.com <mailto:sage-support+unsubscr...@googlegroups.com>. To post to this group, send email to sage-support@googlegroups.com <mailto:sage-support@googlegroups.com>.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

--
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 sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to