Differences between revisions 1 and 69 (spanning 68 versions)
Revision 1 as of 2007-11-22 05:02:41
Size: 1587
Editor: was
Comment:
Revision 69 as of 2009-02-05 06:40:23
Size: 1617
Comment: add Sage 3.3 page, mark the 3.2.3 notes as outdated
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
 * export CFLAGS="-arch x86_64" This page is about the seemingly endless port of Sage to 64 bit OSX. Here is a list of build notes for various releases:
Line 5: Line 5:
 * building python {{{
For some pointers on how to get python to build in 64 bit mode see
 * [[/sage-3.3|Sage 3.3 notes]]
 * [[/sage-3.2.3|Sage 3.2.3 notes]] - this is outdated
 * [[/sage-3.0.2|Sage 3.0.2 notes]] - this is outdated
Line 8: Line 9:
http://mail.python.org/pipermail/pythonmac-sig/2007-June/019045.html Note that it is possible to get Sage working to some extend, but it would be nice to get this port done once and for all. The main problem is for Sage to pass all of its doctests.
Line 10: Line 11:
To quote (which is actually about 64 bit on *Tiger*): == spkg status ==
Line 12: Line 13:
<quote>
The build is universal, but for me only one of the two archictures
actually worked: I did my build on an Intel system and the 64-bit
build worked on that machine, but didn't work on a G5 mac. That's
probably something shallow, but as that machine doesn't have the
Xcode installed and is on the other side of a slow network connection
I haven't tried to debug this yet.
All of the fixes below are in Sage 3.3.alpha3 or later.
Line 20: Line 15:
1) Edit the configure script, look for "-arch i386" and "-arch ppc"
and change that those to "-arch ppc64" and "-arch x86_64". You'll
have to make multiple changes to the configure file.
=== spkgs with solution ===
Line 24: Line 17:
2) Build using:  * f2c: #3185
 * tachyon: #3227
 * flintqs: #3229
 * zn_poly: #3199
Line 26: Line 22:
       $ mkdir build
       $ cd build
       $ CFLAGS="-arch ppc64 -arch x86_64" ../configure \
           --enable-universalsdk \
           --disable-toolbox-glue --prefix=/opt/python25-64bit
       $ make
       $ make install
=== Done (incomplete list) ===
Line 34: Line 24:
3) Optionally: run "make testall" to run the unittests and check
pyconfig.h to check the various SIZEOF definitions.
A list of spkgs with trac ticker numbers in case the fix was recorded.
Line 37: Line 26:
You now have a 64-bit build of python in /opt/python25-64bit.
}}}


 * Cython {{{ 20:58 < mabshoff> There is also a bug in the way Cython builds its extensions.
20:58 < mabshoff> It needs to use the flags python was build with, not some random stuff people thing
20:58 < mabshoff> think is good.
20:58 < mabshoff> I told Robert about it.
}}}
 * eclib: #3173
 * flint-1.06: #3174
 * zlib: #3175
 * gd: #1621
 * gdmodule: #3180
 * singular: #3194
 * polybori: #3195
 * gsl-1.10
 * libfplll
 * mpfr-2.3.0.p0
 * ntl-5.4.2
 * symmetrica-2.0.p2
 * pari-2.3.3
 * libgpg_error
 * libgcrypt
 * opencdk
 * gnutls-1.6.3
 * mpfi
 * prereq: #3172
 * termcap: #3171
 * readline: #3170
 * sqlite: #3176
 * python: #3177
 * libpng: #3179
 * freetype: #3178
 * iml: #3181
 * givaro: #3182 [additional LDFLAGS work]
 * linbox: #3183
 * numpy: #3186
 * matplotlib: #3187
 * mpfi: #3188
 * pycrypto: #3189
 * zodb: #3190
 * quaddouble: #3191
 * python_gnutls: #3192
 * libm4fri: #3197
 * ecm: #3198
 * lcalc: #3224:
 * cddlib: #3225
 * gfan: #3226
 * r: #3196
 * twisted: #3193 [the problem previously mentioned are fixed in an updated python.spkg at #3318]

OSX 64-bit

This page is about the seemingly endless port of Sage to 64 bit OSX. Here is a list of build notes for various releases:

Note that it is possible to get Sage working to some extend, but it would be nice to get this port done once and for all. The main problem is for Sage to pass all of its doctests.

spkg status

All of the fixes below are in Sage 3.3.alpha3 or later.

spkgs with solution

  • f2c: #3185
  • tachyon: #3227
  • flintqs: #3229
  • zn_poly: #3199

Done (incomplete list)

A list of spkgs with trac ticker numbers in case the fix was recorded.

  • eclib: #3173
  • flint-1.06: #3174
  • zlib: #3175
  • gd: #1621
  • gdmodule: #3180
  • singular: #3194
  • polybori: #3195
  • gsl-1.10
  • libfplll
  • mpfr-2.3.0.p0
  • ntl-5.4.2
  • symmetrica-2.0.p2
  • pari-2.3.3
  • libgpg_error
  • libgcrypt
  • opencdk
  • gnutls-1.6.3
  • mpfi
  • prereq: #3172
  • termcap: #3171
  • readline: #3170
  • sqlite: #3176
  • python: #3177
  • libpng: #3179
  • freetype: #3178
  • iml: #3181
  • givaro: #3182 [additional LDFLAGS work]
  • linbox: #3183
  • numpy: #3186
  • matplotlib: #3187
  • mpfi: #3188
  • pycrypto: #3189
  • zodb: #3190
  • quaddouble: #3191
  • python_gnutls: #3192
  • libm4fri: #3197
  • ecm: #3198
  • lcalc: #3224:
  • cddlib: #3225
  • gfan: #3226
  • r: #3196
  • twisted: #3193 [the problem previously mentioned are fixed in an updated python.spkg at #3318]