Differences between revisions 4 and 7 (spanning 3 versions)
Revision 4 as of 2008-05-16 15:29:26
Size: 12293
Comment: cleaned up formatting
Revision 7 as of 2008-05-21 01:03:33
Size: 12445
Comment: reord packages into sections "existing msvc support", "pure python", "no compiled code"
Deletions are marked like this. Additions are marked like this.
Line 26: Line 26:
 * libgpg_error-1.6.p0, libgcrypt-1.4.0.p0, opencdk-0.6.6, gnutls-2.2.1.p1: Shortly the spkgs for libgpg_error, libgcrypt and opencdk will disappear since gnutls now includes copies of them. gnutls has build support for 32 bit MSVC, the feasability of the 64 bit build needs to be investigated. Problems might crop up with inline assembly.
[[maybe there is a native windows library that provides similar functionality. This is only needed so Twisted works with Python, and I'm *sure* that is already very well supported.]]
 * libgpg_error-1.6.p0, libgcrypt-1.4.0.p0, opencdk-0.6.6, gnutls-2.2.1.p1: Shortly the spkgs for libgpg_error, libgcrypt and opencdk will disappear since gnutls now includes copies of them. gnutls has build support for 32 bit MSVC, the feasability of the 64 bit build needs to be investigated. Problems might crop up with inline assembly. [[maybe there is a native windows library that provides similar functionality. This is only needed so Twisted works with Python, and I'm *sure* that is already very well supported.]]
Line 39: Line 38:
 * givaro-3.2.6.p6: no port exists, C++ code uses templates and it migt. be a little tricky to get right. Upstream welcomes patches
[[could be hard.]]
 * givaro-3.2.6.p6: no port exists, C++ code uses templates and it migt. be a little tricky to get right. Upstream welcomes patches [[could be hard.]]
Line 43: Line 41:
 * numpy-20080104-1.0.4.p2: support by enthought, builds out of the box with MSVC + ATLAS
Line 47: Line 44:
 * pexpect-2.0.p1: This is the big, difficult one. pexpect uses pseudo ttys and a whole bunch of POSIX infrastructure. It is essential and central to Sage and no one has ported pexpect to Windows. While the API is very different it is still possible to map all functionality to native Windows API calls. But it will probably take a lot of energy to get it stable and clean. The ultimate goal would be to get this merged upstream since it would be quite a lot of work to go at this alone
[[yes, this is the biggie. note that pexpect *does* sort of work under cygwin, which might be relevant. Also, instead of porting pexpect, it might be possible to simply do something completely different than accomplishes much the same thing. pexpect was the way to go with Python and Unix -- in windows perhaps there is a totally different approach to interprocess communication that would work better? It's possibly OK if this means rewriting SAGE_ROOT/devel/sage/sage/interfaces/* for this new approach. This definitely needs to be investigated. Some of the programs Sage interfaces with have native "client server" archicture, and that could perhaps be used instead. E.g., Maple and Mathematica do. Maxima almost certainly doesn't...]]
 * pexpect-2.0.p1: This is the big, difficult one. pexpect uses pseudo ttys and a whole bunch of POSIX infrastructure. It is essential and central to Sage and no one has ported pexpect to Windows. While the API is very different it is still possible to map all functionality to native Windows API calls. But it will probably take a lot of energy to get it stable and clean. The ultimate goal would be to get this merged upstream since it would be quite a lot of work to go at this alone [[yes, this is the biggie. note that pexpect *does* sort of work under cygwin, which might be relevant. Also, instead of porting pexpect, it might be possible to simply do something completely different than accomplishes much the same thing. pexpect was the way to go with Python and Unix -- in windows perhaps there is a totally different approach to interprocess communication that would work better? It's possibly OK if this means rewriting SAGE_ROOT/devel/sage/sage/interfaces/* for this new approach. This definitely needs to be investigated. Some of the programs Sage interfaces with have native "client server" archicture, and that could perhaps be used instead. E.g., Maple and Mathematica do. Maxima almost certainly doesn't...]]
Line 52: Line 48:
 * sympy-0.5.7: pure python, no portability issues.
Line 54: Line 49:
 * networkx-0.36.p1: pure python, no portability issues
Line 60: Line 54:
 * scons-0.97: works fine on Windows, python based.
Line 67: Line 60:
 * libm4ri-20071224.p1: no Windows port, maintainer will accept Windows port  * libm4ri-20071224.p1: no Windows port, maintainer will accept Windows port  [windows port done by Martin Albrecht - w00t]
Line 77: Line 70:
 * weave-0.4.9: now part of scikits, works fine with MSVC
Line 82: Line 74:
 * cvxopt-0.9.p5: Has Windows build support, provides binary packages
 * jmol-11.5.2.p1: pure java, no portability issues, large community of users on Windows
 * linbox-20070915.p5: this will be some heavy lifting, mostly due to some heavy templated code. Upstream is willing to merge and help out.
 * gap-4.4.10.p2: Depends on sbrk(), currently builds only via Cygwin. [[a cygwin build could be fine for us, since there is no binary linking between sage and gap, and almost certainly there never will be any.]]

== Packages with upstream MSVC support ==

 * numpy-20080104-1.0.4.p2: support by enthought, builds out of the box with MSVC + ATLAS
Line 84: Line 84:
 * cvxopt-0.9.p5: Has Windows build support, provides binary packages
 * jmol-11.5.2.p1: pure java, no portability issues, large community of users on Windows
 * scons-0.97: works fine on Windows, python based.
Line 87: Line 86:
 * linbox-20070915.p5: this will be some heavy lifting, mostly due to some heavy templated code. Upstream is willing to merge and help out.
 * gap-4.4.10.p2: Depends on sbrk(), currently builds only via Cygwin. [[a cygwin build could be fine for us, since there is no binary linking between sage and gap, and almost certainly there never will be any.]]
 * weave-0.4.9: now part of scikits, works fine with MSVC

== Pure Python Packages ==

== Packages without code ==
Line 90: Line 92:
 * sympy-0.5.7: pure python, no portability issues.
 * networkx-0.36.p1: pure python, no portability issues

This page is part the [:windows:Sage on Windows port].

Package Analysis

Below you will find a list of packages in Sage as well as remarks on issues that will potentially come up during the Windows port. As we progress we will add detailed problem reports and how we resolved those issues at individual pages.

NOTE: [http://www.apcocoa.org/wiki/ApCoCoALib:CompilationInstructions Some other useful information]

Packages with upstream MSVC support

  • numpy-20080104-1.0.4.p2: support by enthought, builds out of the box with MSVC + ATLAS
  • scipy-20071020-0.6.p3: support by enthought, builds out of the box with MSVC + ATLAS
  • scipy_sandbox-20071020.p2: support by enthought, builds out of the box with MSVC + ATLAS
  • scons-0.97: works fine on Windows, python based.
  • tachyon-0.98beta.p4: Windows port exists, unsure about MSVC + threading.
  • weave-0.4.9: now part of scikits, works fine with MSVC

Pure Python Packages

Packages without code

  • doc-2.10.2.alpha0: no compiled code, so no portability issues.
  • sympy-0.5.7: pure python, no portability issues.
  • networkx-0.36.p1: pure python, no portability issues