On Tue, Jan 17, 2012 at 1:52 PM, Jesse Berwald <jberw...@gmail.com> wrote: > Interesting. I saw the manuals actions. It is compiling, but I suppose > it'll just be a "monster" if it completes without error. Here's the > issue and why I want to use it compile it: I'd like to apply a patch > that someone wrote for the c_graph library. I originally had a > working, precompiled version of Sage 4.7 on my Lion laptop. But > applying the patch to it did not work. I convinced myself that it was > because I had not compiled from source. So now I'm trying to compile a > version from source, hoping that I can then apply the little patch. I > was at the Joint Math Meetings in Boston, and asked a someone at the > Sage booth about applying patches to precompiled binaries. They didn't > seem to know--I got the impression that they had not tried. Do you > know if this is possible?
Yes, but in this case it might still not work, since the binary was built on a completely different OS. > I could simply work remotely on a linux cluster, but that's stupid. > Sage is great, and it should work on Mac! :) You'll have to do some manual deleting/copying/rebuilding of library files and applying a patch to get Sage to startup after building from source on Lion. I give step-by-step instructions for this at the top of this thread. Even then PARI gets built broken -- it appears that building PARI with export SAGE_DEBUG="yes" fixes the PARI misbuild (though of course results in slower code). Rest assured that full support for OS X 10.7 is a major goal for Sage-5.0, and that Sage-5.0 is coming soon (it's the next release after the basically done sage-4.8, so sage-5.0 should be within 2-3 months, absolute max). -- William > > Thanks again for your help, > Jesse > > On Tue, Jan 17, 2012 at 4:40 PM, William Stein <wst...@gmail.com> wrote: >> On Tue, Jan 17, 2012 at 1:29 PM, Jesse Berwald <jberw...@gmail.com> wrote: >>> Shoot! I just saw the message about exporting SAGE_PORT. I'll see if >>> that gets me past the XCode error. Apologies for any inconvenience. >>> Jesse >> >> You should read the whole thread I pointed to, which explains that you >> have to take some manual actions too. >> >> And the resulting binary will still be seriously broken (see the >> message I'm just posting), so watch out. >> >> william >> >>> >>> On Tue, Jan 17, 2012 at 2:38 PM, William Stein <wst...@gmail.com> wrote: >>>> >>>> On Jan 17, 2012 11:19 AM, "entropy" <jberw...@gmail.com> wrote: >>>>> >>>>> Hi Sagers! >>>>> >>>>> What is the status of XCode on Lion? >>>> >>>> See >>>> http://groups.google.com/group/sage-devel/browse_thread/thread/8f996c9f9d3fb4df# >>>> >>>> Building is easy, but there are test failures in about 150 files, maybe >>>> mostly due to Pari. Basic stuff like mathnf in Pari gives totally wrong >>>> output, etc. >>>> >>>> This is a Sage-5.0 blocker. >>>> >>>>> I have OSX 10.7.2, and it appears >>>>> that XCode 4 is still not supported. Is this right? Is there a >>>>> workaround? I downloaded sage-4.8.rc0, and the compile flopped with >>>>> the following message (same as in sage-4.7.*): >>>>> >>>>> You are using XCode version 4.1 >>>>> WARNING: You are strongly advised to install Apple's latest XCode 3, >>>>> unless you already have it. You can download this from >>>>> http://developer.apple.com/xcode/ >>>>> Sage will NOT work with XCode 4! >>>>> *************************************************** >>>>> *************************************************** >>>>> You are attempting to build Sage using an unsupported XCode version. >>>>> Things may or may not work. >>>>> Please use the latest XCode 3, reinstalling it, if necessary. >>>>> ... >>>>> >>>>> Reading other messages in this group gave me impression that reverting >>>>> to XCode 3 may not be an option any longer on Lion. True? False? >>>>> >>>>> Thanks for your help! >>>>> Jesse >>>>> >>>>> On Sep 11 2011, 3:17 am, William Stein <wst...@gmail.com> wrote: >>>>> > On Sunday, September 11, 2011, William Stein <wst...@gmail.com> wrote: >>>>> > > On Sun, Sep 11, 2011 at 12:39 AM, Maarten Derickx >>>>> > > <m.derickx.stud...@gmail.com> wrote: >>>>> > >> It's good that you are willing to help! Mike Hansen did the most (if >>>>> > >> not >>>>> > >>>>> > all) work of porting. You should ask him to add the changes he made to a >>>>> > trac ticket so you can start where he left off. From the previous posts >>>>> > it >>>>> > seems that this means you have to update the ecl and maxima SPKG to a >>>>> > newer >>>>> > version. >>>>> > >>>>> > >>>>> > >>>>> > > Aside from some "relatively easy" stuff, I think the main thing that >>>>> > > is needed is an updated ecl (which is the lisp interpreter that Maxima >>>>> > > uses). >>>>> > > Knowing Mike, a new spkg is in some obvious place in his home >>>>> > > directory... indeed: >>>>> > >>>>> > > http://wstein.org/home/mhansen/ecl-11.1.1.p2.spkg >>>>> > >>>>> > > I should install Lion on my laptop. >>>>> > >>>>> > I just started the install. Woo hoo! >>>>> > >>>>> > >>>>> > >>>>> > > William >>>>> > >>>>> > >> -- >>>>> > >> To post to this group, send an email to sage-devel@googlegroups.com >>>>> > >> To unsubscribe from this group, send an email to >>>>> > >>>>> > sage-devel+unsubscr...@googlegroups.com>> For more options, visit this >>>>> > group at >>>>> > >>>>> > http://groups.google.com/group/sage-devel >>>>> > >>>>> > >> URL:http://www.sagemath.org >>>>> > >>>>> > > -- >>>>> > > William Stein >>>>> > > Professor of Mathematics >>>>> > > University of Washington >>>>> > >http://wstein.org >>>>> > >>>>> > -- >>>>> > William Stein >>>>> > Professor of Mathematics >>>>> > University of Washingtonhttp://wstein.org >> >> >> >> -- >> William Stein >> Professor of Mathematics >> University of Washington >> http://wstein.org -- William Stein Professor of Mathematics University of Washington http://wstein.org -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org