Differences between revisions 28 and 32 (spanning 4 versions)
Revision 28 as of 2010-08-17 00:09:23
Size: 17601
Editor: BillHart
Comment: moved some pure python packages
Revision 32 as of 2010-08-17 01:26:50
Size: 18313
Editor: BillHart
Comment: More factoring out into categories and added a few comments and python prereqs
Deletions are marked like this. Additions are marked like this.
Line 11: Line 11:
 || [[http://www.bzip.org/ | bzip2]] || Y || P || P || 1.0.4 || port exists: http://gnuwin32.sourceforge.net/packages/bzip2.htm. Since that port uses MinGW we need to either use MinGW 64 bit or do an MSVC port ourselves. [[a sage without bzip2 would be possible...; saved objects under unix/osx wouldn't load though.]] ||
 || [[http://www.boost.org/ | boost]] || Y || P || P || XXXX || ||
 || cephes || N || N || N || || Last updated circa 1994, small library, but uses long doubles ||
 || [[http://www.bzip.org/ | bzip2]] || Y || P || P || 1.0.4 || works fine with MSVC (32 bits at least) - required by python ||
Line 15: Line 13:
 || [[http://docutils.sourceforge.net/ | docutils]] || || || || XXXX || ||
 || dir || || || || 0.1 || requires POSIX shell ||
Line 19: Line 15:
 || [[http://www.netlib.org/f2c/ | f2c]] || || || || 20070816.p0 || part of scikits, should work with MSVC ||
Line 22: Line 17:
 || [[http://www.freetype.org/ | freetype]] || || || || 2.3.5 || unclear if it is even required on Windows. ||
 || [[http://www.g95.org/ | g95]] || || || || 20071120.p3 || Use Intel's Fortran compiler. An alternative for 32 bit is g77. ||
 || [[http://www.hpl.hp.com/personal/Hans_Boehm/gc/ | gc]] || || || || XXXX || ||
 || [[http://www.g95.org/ | g95]] || || || || 20071120.p3 || Part of MinGW 32 and 64 - does not need to be ported to MSVC ||
Line 28: Line 21:
 || [[http://www.gnu.org/software/gnutls/ | 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 30: Line 22:
 || [[http://jmol.sourceforge.net/ | jmol]] || || || || 11.5.2.p1 || pure java, no portability issues, large community of users on Windows ||
 || [[http://www.math.union.edu/~dpvc/jsMath/ | jsmath]] || || || || XXXX || ||
Line 34: Line 24:
 || [[http://www.libpng.org/pub/png/libpng.html | libpng]] || || || || 1.2.22.p5 || port exists: http://gnuwin32.sourceforge.net/packages/libpng.htm. Since that port uses MinGW we need to either use MinGW 64 bit or do an MSVC port ourselves. In this case it seems likely that somebody else has done a proper Windows port. We might also be able to uses the system's library, but there might be issues with featurs, i.e. IE's libpng is supposed to be fairly bad. [[yep, something builtin to windows might be useful.]] ||
 || [[http://www.linalg.org/ | linbox]] || || || || 20070915.p5 || this will be some heavy lifting, mostly due to some heavy templated code. Upstream is willing to merge and help out. ||
 || [[http://perso.ens-lyon.fr/nathalie.revol/software.html | mpfi]] || || || || 1.3.4-cvs20071125.p5 || depends on mpfr and gmp, pure C library. Port is simple and will probably be merged upstream ||
 || [[http://mpir.org/ | mpir]] || || || || XXXX || ||
 || [[http://www.shoup.net/ntl/ | ntl]] || || || || 5.4.1.p11 || works fine with MSVC. Some functions like the time functions use old and crappy Win95+ interfaces. That can be easily fixed. It is very difficult to get fixes merged upstream, but the potential diff is rather small. The build requires Perl for a tuned build [[upstream merging probably isn't as hard as you think. The NTL author is a number theorist that many of "us", e.g,. John Cremona, know well.]] ||
 || openssl || || || || || required by Python - builds fine with MSVC (32 bits at least) ||
 || [[http://pari.math.u-bordeaux.fr/ | pari]] || || || || 2.3.3 || Some build support exists in tree, but it is currently broken. Support from the maintainers exists and they are willing to integrate fixes upstream. The main issue is to get the build system play nice for MinGW+MSVC. ||
 || [[http://polybori.sourceforge.net/ | polybori]] || || || || 0.1-r7 || no Windows port, could be tricky, but upstream is willing to cooperate. [[worry??]] ||
 || [[http://pynac.sagemath.org/ | pynac]] || || || || XXXX || ||
 || [[http://www.python.org/ | python]] || || || || 2.5.1.p13 || excellent support for MSVC, 32 & 64 bit mode. [[yep, very very good support on windows]] ||
 || [[http://www.mathe2.uni-bayreuth.de/stoll/programs/index.html | ratpoints]] || || || || XXXX || ||
 || [[http://tiswww.case.edu/php/chet/readline/rltop.html | readline]] || || || || 5.2.p0 || port exists: http://gnuwin32.sourceforge.net/packages/readline.htm. Since that port uses MinGW we need to either use MinGW 64 bit or do an MSVC port ourselves. ||
 || [[http://www.singular.uni-kl.de/ | singular]] || || || || 3-0-4-1-20071209.p4 || Cygwin only, but needs even work there to run properly (libSingular) Needs to be ported to MSVC, upstream very willing to help out, but lacks expertise. Various issues like memory managment (omalloc) need to be sovled (malloc fallback), but build system issues and stuff like signals make this a bigger job. I would assume this is one of the two heavy jobs together with pexpect. [[This is probably quite hard. And interesting. At least singular builds under cygwin, which is a good sign, I guess.]] ||
 || [[http://www.sqlite.org/ | sqlite]] || || || || 3.5.3.p1 || pure Windows port exists (see http://www.sqlite.org/download.html), required by Python - builds fine with MSVC (32 bits at least) ||
 || [[http://www.algorithm.uni-bayreuth.de/en/research/SYMMETRICA/ | symmetrica]] || || || || 2.0.p1 || no Windows port yet, but macro heavy. [[worrisome.]] ||
 || tcl || || || || || Required by Python's IDLE - builds fine with MSVC (32 bits at least) ||
 || tk || || || || || Required by Python's IDLE - builds fine with MSVC (32 bits at least) ||
 || [[http://cims.nyu.edu/~harvey/code/zn_poly/ | znpoly]] || || || || XXXX || ||

== Unknown dependencies of Sage (not listed on sage-on-gentoo list) ==

 || Website || Win32 || Win64 || MSVC || Version || Comments ||
 || [[http://www.boost.org/ | boost]] || Y || P || P || XXXX || ||
 || cephes || N || N || N || || Last updated circa 1994, small library, but uses long doubles - only used in the Cygwin port so far (and FreeBSD in future) ||
 || [[http://docutils.sourceforge.net/ | docutils]] || || || || XXXX || ||
 || [[http://www.netlib.org/f2c/ | f2c]] || || || || 20070816.p0 || part of scikits, should work with MSVC ||
 || [[http://www.freetype.org/ | freetype]] || || || || 2.3.5 || unclear if it is even required on Windows. ||
 || [[http://www.hpl.hp.com/personal/Hans_Boehm/gc/ | gc]] || || || || XXXX || ||
 || [[http://www.gnu.org/software/gnutls/ | 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 36: Line 55:
 || [[http://www.libpng.org/pub/png/libpng.html | libpng]] || || || || 1.2.22.p5 || port exists: http://gnuwin32.sourceforge.net/packages/libpng.htm. Since that port uses MinGW we need to either use MinGW 64 bit or do an MSVC port ourselves. In this case it seems likely that somebody else has done a proper Windows port. We might also be able to uses the system's library, but there might be issues with featurs, i.e. IE's libpng is supposed to be fairly bad. [[yep, something builtin to windows might be useful.]] ||
 || [[http://www.linalg.org/ | linbox]] || || || || 20070915.p5 || this will be some heavy lifting, mostly due to some heavy templated code. Upstream is willing to merge and help out. ||
Line 39: Line 56:
 || [[http://perso.ens-lyon.fr/nathalie.revol/software.html | mpfi]] || || || || 1.3.4-cvs20071125.p5 || depends on mpfr and gmp, pure C library. Port is simple and will probably be merged upstream ||
 || [[http://mpir.org/ | mpir]] || || || || XXXX || ||
 || [[http://www.warwick.ac.uk/staff/J.E.Cremona/mwrank/index.html | mwrank]] || || || || XXXX || ||
 || [[http://www.shoup.net/ntl/ | ntl]] || || || || 5.4.1.p11 || works fine with MSVC. Some functions like the time functions use old and crappy Win95+ interfaces. That can be easily fixed. It is very difficult to get fixes merged upstream, but the potential diff is rather small. The build requires Perl for a tuned build [[upstream merging probably isn't as hard as you think. The NTL author is a number theorist that many of "us", e.g,. John Cremona, know well.]] ||
Line 44: Line 57:
 || [[http://www.openopt.org/Welcome | openopt]] || || || || XXXX || ||
 || [[http://pari.math.u-bordeaux.fr/ | pari]] || || || || 2.3.3 || Some build support exists in tree, but it is currently broken. Support from the maintainers exists and they are willing to integrate fixes upstream. The main issue is to get the build system play nice for MinGW+MSVC. ||
Line 47: Line 58:
 || [[http://polybori.sourceforge.net/ | polybori]] || || || || 0.1-r7 || no Windows port, could be tricky, but upstream is willing to cooperate. [[worry??]] ||
 || prereq || || || || 0.3 || requires POSIX shell - small build system issues ||
 || [[http://www.python.org/ | python]] || || || || 2.5.1.p13 || excellent support for MSVC, 32 & 64 bit mode. [[yep, very very good support on windows]] ||
 || [[http://pynac.sagemath.org/ | pynac]] || || || || XXXX || ||
 || [[http://www.mathe2.uni-bayreuth.de/stoll/programs/index.html | ratpoints]] || || || || XXXX || ||
 || [[http://tiswww.case.edu/php/chet/readline/rltop.html | readline]] || || || || 5.2.p0 || port exists: http://gnuwin32.sourceforge.net/packages/readline.htm. Since that port uses MinGW we need to either use MinGW 64 bit or do an MSVC port ourselves. ||
Line 55: Line 60:
 || [[http://www.singular.uni-kl.de/ | singular]] || || || || 3-0-4-1-20071209.p4 || Cygwin only, but needs even work there to run properly (libSingular) Needs to be ported to MSVC, upstream very willing to help out, but lacks expertise. Various issues like memory managment (omalloc) need to be sovled (malloc fallback), but build system issues and stuff like signals make this a bigger job. I would assume this is one of the two heavy jobs together with pexpect. [[This is probably quite hard. And interesting. At least singular builds under cygwin, which is a good sign, I guess.]] ||
Line 57: Line 61:
 || [[http://www.sqlite.org/ | sqlite]] || || || || 3.5.3.p1 || pure Windows port exists (see http://www.sqlite.org/download.html), but we need ??? ||
 || [[http://www.algorithm.uni-bayreuth.de/en/research/SYMMETRICA/ | symmetrica]] || || || || 2.0.p1 || no Windows port yet, but macro heavy. [[worrisome.]] ||
Line 60: Line 62:
 || [[http://cims.nyu.edu/~harvey/code/zn_poly/ | znpoly]] || || || || XXXX || ||
 
Line 64: Line 65:
 || Website || Win32 || Win64 || MSVC || Version || Comments ||
Line 67: Line 69:
 || [[http://abel.ee.ucla.edu/cvxopt/ | cvxopt]] || Y || N || N || 0.9.p5 || Has Windows build support, provides binary packages ||
Line 68: Line 71:
 || [[http://abel.ee.ucla.edu/cvxopt/ | cvxopt]] || Y || N || N || 0.9.p5 || Has Windows build support, provides binary packages ||
 || flintqs || || || || 20070817.p2 || is obsolete, but should build fine once FLINT works, C99 mode required ||
Line 72: Line 73:
 || flintqs || || || || 20070817.p2 || is obsolete, but should build fine once FLINT works, C99 mode required ||
Line 79: Line 81:
 || [[http://jmol.sourceforge.net/ | jmol]] || || || || 11.5.2.p1 || pure java, no portability issues, large community of users on Windows ||
 || [[http://www.math.union.edu/~dpvc/jsMath/ | jsmath]] || || || || XXXX || ||
Line 94: Line 98:

== Do not correspond to Sage spkgs (elsewhere or no longer used in Sage?) ==

 || Website || Win32 || Win64 || MSVC || Version || Comments ||
 || [[http://www.warwick.ac.uk/staff/J.E.Cremona/mwrank/index.html | mwrank]] || || || || XXXX || Is this now eclib in Sage?? ||

== No longer listed on sagemath.org and not included as spkgs ==

 || Website || Win32 || Win64 || MSVC || Version || Comments ||
 || dir || || || || 0.1 || requires POSIX shell ||
 || [[http://www.openopt.org/Welcome | openopt]] || || || || XXXX || ||
 || prereq || || || || 0.3 || requires POSIX shell - small build system issues ||

This page is part of the 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.

Build dependencies of Sage (port these first for a minimal Sage on Windows)

Unknown dependencies of Sage (not listed on sage-on-gentoo list)

Runtime dependencies of Sage (these are probably only needed at runtime for specific functionality)

  • Website

    Win32

    Win64

    MSVC

    Version

    Comments

    cddlib

    N

    N

    N

    094b.p1

    unclear how hard the port will be, but shouldn't be too hard.

    cu2

    cubex

    cvxopt

    Y

    N

    N

    0.9.p5

    Has Windows build support, provides binary packages

    dikcube

    examples

    2.10.2.alpha0

    no compiled code, i.e. no problem

    extcode

    XXX

    various code in interpreted languages, i.e. javascript, java, Magma, pari, singular, no porting issues

    flintqs

    20070817.p2

    is obsolete, but should build fine once FLINT works, C99 mode required

    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.

    gap-guava

    gdmodule

    0.56.p4

    should be pretty easy to do for MSVC Boothby told me this swig-generated "crap" will be removed from sage soon, he hopes.

    genus2reduction

    0.3.p1

    unclear, don't really see any problem easy, probably; it's just math

    gfan

    0.2.2.p2

    unclear how hard the port will be, but shouldn't be too hard. we should upgrade to 0.2.3 first. Some more remarks: gfan requires argv[0] to switch to the right computation. I.e. during installation the following is executed: "ln -s gfan gfan_weightvector". This should be portable, but symlinks can be problematic on Windows.

    ipython

    0.8.1.p1

    should work fine with MSVC definitely will work fine.

    jinja

    XXXX

    jmol

    11.5.2.p1

    pure java, no portability issues, large community of users on Windows

    jsmath

    XXXX

    matplotlib

    0.91.1.p3

    should work with MSVC, more investigation is needed I'm sure this will work -- it is also part of what the enthought people distribute for windows.

    maxima

    5.13.0.p2

    Should build fine with Clisp, Windows binary package exists.

    mcube

    sage-notebook

    optimalrubik

    20070912.p1

    no Windows port, but simple C/C++ code without any POSIX dependencies. Console applications easy?

    palp

    1.1.p1

    unclear how hard the port will be, but shouldn't be too hard.

    pexpect

    2.0.p1

    Difficult. 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. Instead of porting pexpect, it might be possible to do something different that accomplishes the same thing. pexpect was the way to go with Python and Unix. It's possibly OK if this means rewriting SAGE_ROOT/devel/sage/sage/interfaces/ for this new approach. 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...

    pycrypto

    2.0.1.p1

    unclear how hard the port will be, but shouldn't be too hard. maybe trivial??

    python_gnutls

    1.1.4.p2

    Should work, uses dlopen based mechanism. Is essential to the notebook, but can be dropped in favour of system's OpenSSL compatible library

    r

    2.6.1.p14

    Existing MinGW port, not too difficult to build. Port to MSVC desired. They don't already have a native MSVC port? Wow. That's amazing.

    sage-doc

    sage-latex

    http://rpy.sourceforge.net/ rpy

    1.0.1.p1

    Support for MSVC in 32 bit mode with MSVC. No Cygwin support, but patch by Abshoff exists

    sphinx

    XXXX

    sympow

    1.018.1.p4

    tricky code that needs the right FPU flags set. Otherwise no big hurdles to overcome

Do not correspond to Sage spkgs (elsewhere or no longer used in Sage?)

  • Website

    Win32

    Win64

    MSVC

    Version

    Comments

    mwrank

    XXXX

    Is this now eclib in Sage??

No longer listed on sagemath.org and not included as spkgs

  • Website

    Win32

    Win64

    MSVC

    Version

    Comments

    dir

    0.1

    requires POSIX shell

    openopt

    XXXX

    prereq

    0.3

    requires POSIX shell - small build system issues

Packages with upstream MSVC support

  • Website

    Win32

    Win64

    MSVC

    Version

    Comments

    atlas

    3.8.p11

    Works find fine, Intel C for better performance preferred

    ecm

    6.1.3

    no Windows port, but C, potentially issues with threading. Upstream ecm-6.2 has MSVC project by Brian Gladman - upgrading evm to the 6.2 release is #3237

    gsl

    1.10.p0

    port exists: http://gnuwin32.sourceforge.net/packages/gsl.htm. Brian Gladman also maintains a native MSVC port, 32 & 64 bit.

    m4ri

    20071224.p1

    MSVC and SunForte port done by Martin Albrecht and in upstream. Upgrade ticket is #3204

    mpfr

    2.3.1

    pure C, Windows make file support welcome upstream, depends on gmp. MSVC project by Brian Gladman exists and is recommended by upstream

    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

    zlib

    1.2.3.p3

    port exists: http://gnuwin32.sourceforge.net/packages/zlib.htm Microsoft ships a copy under some name, so we might be able to "just" use the system one.

    zodb

    3.7.0.p0

    mostly python, unknown difficulty to port probably easy

Pure Python Packages

Packages without code

  • Website

    Win32

    Win64

    MSVC

    Version

    Comments

    conway_polynomials

    N/A

    N/A

    N/A

    0.2

    platform independent, i.e. no known Windows specific issues trivial -- just a pickle

    doc

    2.10.2.alpha0

    no compiled code, so no portability issues.

    elliptic_curves

    0.1

    elliptic curve database, so no porting issues

    graphs

    20070722

    graph database, so no porting issues

    polytopes