-
-
Notifications
You must be signed in to change notification settings - Fork 491
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[with spkg's] port Sage to OS X 10.6 #6849
Comments
This comment has been minimized.
This comment has been minimized.
comment:2
After readline, the next problem is that R fails to build (at least in 64-bit mode):
|
comment:3
Next failure is the Boehm GC:
|
This comment has been minimized.
This comment has been minimized.
comment:5
I checked your readline-6.0.spkg on Solaris 10 update 7. It builds fine with both Sun and GNU compilers. But the spkg still suffers from the issue of greping on the Suse file. I've created a new spkg http://sage.math.washington.edu/home/kirkby/Solaris-fixes/readline-6.0/readline-6.0.spkg which addresses this, but also does some other things that are not necessarily necessary for readline, but which can be helpful in general, to make a more robust spkg.
You might notice that gcc gives a lot of compiler warnings now I've added -Wall. It's a wonder the package works at all. Dave |
This comment has been minimized.
This comment has been minimized.
comment:8
I've made another improved version of the readline package - see http://sage.math.washington.edu/home/kirkby/Solaris-fixes/readline-6.0-2nd-try/readline-6.0.spkg I've made the upgrade of readline a new ticket (Update readline to version 6.0 #6945). Dave |
comment:9
I've made |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
comment:15
It seems that the patch from #6883 is needed here to avoid a doctest failure in On 10.6, after building using the spkgs mentioned in the ticket, I have the following other doctest failures:
For instance, functions/other.py crashes Sage here:
Setting SAGE64 to "yes" resulting in a build with the same doctest failures. I don't know if setting SAGE64 to "yes" has any actual effect, but it does have cosmetic effects: first, when building a package like readline, without SAGE64, I get the message "Building a 32-bit version of Readline", but the resulting library is 64-bit. Also, when SAGE64 is set, then compiler flags (for example when building bzip2) include "-m64". I don't know if these are just cosmetic, or if they have a more serious effect. On 10.5, using these spkgs, I get some failures with the 32-bit build, but these are known: see this thread. On 10.5, 64-bit build, all tests pass! |
Attachment: testlong-4.1.2.alpha2-updated-spkg-bsd.math.log doctest log for bsd.math OS X 10.6 |
doctest log for cicero on SkyNet 32-bit Fedora 9 |
comment:16
Attachment: testlong-4.1.2.alpha2-updated-spkg-cicero-skynet.log Here is John Palmieri's report from sage-devel:
Here is my report. I compiled Sage 4.1.2.alpha2 from scratch with the following packages:
The building machines are:
which have been reported before to sage-devel.
Positive review from me. Any doctest failures are to be fixed in upcoming rc release(s). At the moment, there are so many packages with porting work to Cygwin and OS X 10.6. I'm happy that those packages build OK on Cygwin and OS X 10.6. |
Author: William Stein |
Reviewer: John Palmieri, Minh Van Nguyen |
This comment has been minimized.
This comment has been minimized.
comment:21
I'm closing this metaticket. There is one remaining issue, but that is now at #6849. |
comment:23
Replying to @williamstein:
This is #6849. Surely you meant another ticket? |
Attach to this ticket some of the fixes for getting Sage to build on OS X 10.6 (the new release of OS X).
Note that a Sage build on OS X 10.5 does seem to work fine on 10.6, but Sage does not "just build" on 10.6.
We upgrade readline to 6.0, since 5.2 doesn't build on OS X 10.6:
http://sage.math.washington.edu/home/wstein/tmp/readline-6.0.spkg
or
http://sage.math.washington.edu/home/kirkby/Solaris-fixes/readline-6.0/readline-6.0.spkg
This new spkg needs to be reviewed and build tested on Linux and OS X 10.4. (I tested it on 10.5.)
Boehm GC -- fixed at trac port boehm gc to os x 10.6 #6969
ECL fails to build (for same reasons to Boehm GC) -- fixed at trac port ECL spkg to os x 10.6 #6971
R -- see trac [with patch and spkg] update the r spkg in sage to 2.9.2 #6972
MPIR -- see trac os x 10.6 port -- update mpir to autodetect ABI on OS X since ABI=32 is *no* longer necessarily the default on 10.6 #7006 -- this is needed if one tries to build without specifying 64-bit explicitly on a 64-bit platform.
Fortran -- see trac include 64-bit OS X gfortran in standard SAge #6981, in particular .p8, which is critically needed to build if one does not specify SAGE64="yes".
Matplotlib font cache issue -- see trac os x -- 10.6 -- generated the matplotlib font cache crashes sage #7022
CC: @craigcitro @sagetrac-drkirkby
Component: porting
Author: William Stein
Reviewer: John Palmieri, Minh Van Nguyen
Issue created by migration from https://trac.sagemath.org/ticket/6849
The text was updated successfully, but these errors were encountered: