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 <[email protected] <javascript:>> 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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to