On Tuesday, October 11, 2016 at 11:35:18 AM UTC-7, Anne Schilling wrote: > > Hi Volker, > > Thanks for the suggestion. I upgraded to OSX 10.12 and installed the > latest version command line xcode. Now I get the following > error (even when compiling the latest stable release of sage): >
Volker actually suggested upgrading to OS X 10.11. Sage does not build out of the box on OS X 10.12 yet, but there is a branch at https://trac.sagemath.org/ticket/21567 which works for me. You may need to do "sage -f python2" to force it to reinstall Python, since on OS X 10.12, Sage fails to build Python correctly (although it thinks it has). So: (1) get the branch from #21567, (2) do "sage -f python2", and then "make", or (2') do "make distclean" followed by "make". And keep your fingers crossed. John > > ... > [maxima-5.35.1.p2] /usr/bin/install -c -m 644 > ./z_transform/rtest_z_transform.mac > /Applications/sage/local/share/maxima/5.35.1/share/z_transform/rtest_z_transform.mac > [maxima-5.35.1.p2] /usr/bin/install -c -m 644 > ./z_transform/z_transform.mac > /Applications/sage/local/share/maxima/5.35.1/share/z_transform/z_transform.mac > [maxima-5.35.1.p2] Making install in demo > [maxima-5.35.1.p2] make[5]: Nothing to be done for `install-exec-am'. > [maxima-5.35.1.p2] /bin/sh > /Applications/sage/local/var/tmp/sage/build/maxima-5.35.1.p2/src/install-sh > -d > [maxima-5.35.1.p2] test -z > "/Applications/sage/local/share/maxima/5.35.1/demo" || .././install-sh -c > -d "/Applications/sage/local/share/maxima/5.35.1/demo" > [maxima-5.35.1.p2] /usr/bin/install -c -m 644 cf.dem demo.dem eaton1.dem > eaton2.dem ezgcd.dem hypgeo.dem macex.dem macro.dem newfac.dem romberg.dem > sumcon.dem trgsmp.dem manual.demo plots.mac > '/Applications/sage/local/share/maxima/5.35.1/demo' > [maxima-5.35.1.p2] Making install in plotting > [maxima-5.35.1.p2] test -z > "/Applications/sage/local/libexec/maxima/5.35.1" || .././install-sh -c -d > "/Applications/sage/local/libexec/maxima/5.35.1" > [maxima-5.35.1.p2] /bin/sh > /Applications/sage/local/var/tmp/sage/build/maxima-5.35.1.p2/src/install-sh > -d > [maxima-5.35.1.p2] /usr/bin/install -c mgnuplot > '/Applications/sage/local/libexec/maxima/5.35.1' > [maxima-5.35.1.p2] make[5]: Nothing to be done for `install-exec-am'. > [maxima-5.35.1.p2] /bin/sh > /Applications/sage/local/var/tmp/sage/build/maxima-5.35.1.p2/src/install-sh > -d > [maxima-5.35.1.p2] > [maxima-5.35.1.p2] Now installing the Maxima library as > '/Applications/sage/local/lib/ecl//maxima.fas'... > [maxima-5.35.1.p2] > [maxima-5.35.1.p2] real 5m29.945s > [maxima-5.35.1.p2] user 4m48.551s > [maxima-5.35.1.p2] sys 0m36.527s > [maxima-5.35.1.p2] Successfully installed maxima-5.35.1.p2 > [maxima-5.35.1.p2] Deleting temporary build directory > [maxima-5.35.1.p2] > /Applications/sage/local/var/tmp/sage/build/maxima-5.35.1.p2 > [maxima-5.35.1.p2] Finished installing maxima-5.35.1.p2.spkg > make[1]: *** [all] Error 2 > > real 49m54.858s > user 145m38.154s > sys 18m47.495s > *************************************************************** > Error building Sage. > > The following package(s) may have failed to build (not necessarily > during this run of 'make all'): > > 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: *** [all] Error 1 > > > Any further suggestions? > > Anne > > On Saturday, October 1, 2016 at 1:16:02 AM UTC-7, Volker Braun wrote: >> >> My suggestion would be to upgrade to xcode 10.11, and then to the newer >> xcode that is available on osx 10.11 only. That linker should then properly >> support AVX instructions. Thats also the only OS/compiler version that we >> have a buildbot for (or receives updates from Apple for that matter). >> >> >> >> On Saturday, October 1, 2016 at 5:20:43 AM UTC+2, Anne Schilling wrote: >>> >>> I am not sure. I just compiled sage-7.3 released 2016-8-04 and it went >>> fine, so I think it must be related >>> to some new patches in the new development branch ... >>> >>> Anne >>> >>> On Friday, September 30, 2016 at 7:08:35 PM UTC-7, François wrote: >>>> >>>> Does the ntl failure look like anything reported at >>>> https://trac.sagemath.org/ticket/20779 ? >>>> >>>> François >>>> >>>> > On 1/10/2016, at 14:52, Travis Scrimshaw <[email protected]> wrote: >>>> > >>>> > Perhaps this is from the same error as stack overflow post? I >>>> remember we had to have something with '-march=native' (on OSX?) in the >>>> past. >>>> > >>>> > Best, >>>> > Travis >>>> > >>>> > >>>> > -- >>>> > You received this message because you are subscribed to the Google >>>> Groups "sage-devel" 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-devel. >>>> > For more options, visit https://groups.google.com/d/optout. >>>> >>>> -- You received this message because you are subscribed to the Google Groups "sage-devel" 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-devel. For more options, visit https://groups.google.com/d/optout.
