On 2014-08-26, Volker Braun <vbraun.n...@gmail.com> wrote: > ------=_Part_2182_349848151.1409057890862 > Content-Type: text/plain; charset=UTF-8 > > You have to manually rename the sage-6.3-i386-Darwin.dmg to include the > -app and version details. > > It seems you built 32-bit binaries, which you can verify with "file" e.g. > On the old 10.6 buildbot the output defaulted to 64 bit. No idea why that > is or how to change the defaults for xcode commandline tools.
I presume the old buildbot had better hardware than Core2 Duo (that's what the OP has in a laptop). For the latter one cannot really get OSX10.6 running in 64-bit mode. Apple apparently preferred users upgrading to 10.7, instead of providing 64-bit support for these CPUs. We have seen these issues few years ago, when these machines hit the market. As I have such a laptop (running 64-bit Debian Linux now :-)) myself, I knew this all too well. (But I can't recall details now; all I recall was quite a few complaints that binary releases of Sage didn't work) > > > > On Tuesday, August 26, 2014 12:55:30 PM UTC+1, Daniel Friedan wrote: >> >> Dima's suggestion worked. My OS X 10.6.8 build of Sage 6.3 succeeded, >> produced a .dmg file containing an app version that ran and passed some >> rudimentary tests. >> >> I have a few questions about the resulting build. Modulo these questions, >> I could volunteer to produce OSX 10.6 builds of future Sage versions (both >> app and non-app). I'd probably need some hand-holding when/if things go >> wrong. >> >> The .dmg file that was produced was named >> sage-6.3-i386-Darwin.dmg >> This differs from the name of the Sage 6.2 .dmg that I downloaded and used >> previously: >> sage-6.2-x86_64-Darwin-OSX_10.6_x86_64-app.dmg >> >> Did I leave out some build option to get 64bit? >> How can I determine if my build is 64bit? >> The name of the .dmg file does not contain '-app' or 'OSX_10.6'. Did I >> leave out build options? >> >> Here's what I did for the build. I am using a Core 2 Duo cpu running OS X >> 10.6.8. >> >> git clone git://github.com/sagemath/sage.git >> cd sage >> export MAKE="make -j2" >> $MAKE >> >> git checkout 6.3 >> >> git remote add trac git://trac.sagemath.org/sage.git -t master >> git fetch trac u/iandrus/trac-16796 >> git checkout FETCH_HEAD >> >> export SAGE_APP_DMG=yes >> export SAGE_APP_BUNDLE=yes >> ./sage -bdist >> >> thanks, >> Daniel >> >> On Friday, August 22, 2014 11:08:40 PM UTC, Dima Pasechnik wrote: >>> >>> On 2014-08-22, Daniel Friedan <dfri...@gmail.com> wrote: >>> > ------=_Part_1632_1626995138.1408746138628 >>> > Content-Type: text/plain; charset=UTF-8 >>> > >>> > Again, trying to build Sage 6.3 under OS X 10.6.8 (Intel Core 2 duo >>> cpu). >>> > >>> > This time I did run 'make', but ended with "** BUILD FAILED **" >>> > >>> > $ git clone git://github.com/sagemath/sage.git >>> > $ cd sage >>> > $ export MAKE="make -j2" >>> > $ $MAKE >>> > ...[wait 6 hours]... >>> > $ git checkout 6.3 >>> > $ export SAGE_APP_DMG=yes >>> > $ export SAGE_APP_BUNDLE=yes >>> > $ ./sage -bdist >>> > >>> >>> >>> >>> Actually, >>> $ git checkout 6.3 >>> should obviously have come before $MAKE, as >>> this is the version you want to build and distribute >>> (hopefully this was OK, as >>> $ git clone git://github.com/sagemath/sage.git >>> checks out version 6.3 anyway, IMHO) >>> >>> >>> Anyhow, you seem to hit the bug fixed in http://trac.sagemath.org/16796 >>> (this fix is not in 6.3) >>> >>> You need to apply it, I suppose. >>> Have a look at the Sage developer guide for detailed instructions >>> (this is basically 3 git commands you need, as outlined below) >>> >>> >>> first of all, you need to add trac git server to the list of remotes: >>> >>> $ git remote add trac git://trac.sagemath.org/sage.git -t master >>> >>> then, we get the patch from trac.sagemath.org/16796 >>> >>> $ git fetch trac u/iandrus/trac-16796 >>> >>> finally, we apply it: >>> >>> $ git checkout FETCH_HEAD >>> >>> now >>> ./sage -bdist >>> should succeed >>> (no need to rebuild Sage, as we only changed src/mac-app/AppController.m >>> which is not a part of Sage proper) >>> >>> HTH, >>> Dima >>> >>> > -- 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 http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.