#6743: cygwin metaticket: port Sage to Microsoft Windows (via Cygwin): stage 1 
--
make building Sage automatic
---------------------------+------------------------------------------------
   Reporter:  was          |          Owner:  was       
       Type:  enhancement  |         Status:  new       
   Priority:  major        |      Milestone:  sage-4.7.1
  Component:  cygwin       |       Keywords:            
Work_issues:               |       Upstream:  N/A       
   Reviewer:               |         Author:            
     Merged:               |   Dependencies:            
---------------------------+------------------------------------------------

Old description:

> The goal of this ticket is that a person can:
>
>    1. Install cygwin and certain standard cygwin packages (listed below).
>
>    2. Extract the Sage tarball and type "make"
>
> and have everything build automatically with no errors.   The goal is
> *not* that the resulting build work or sage startup.  That will be for a
> later ticket.
>
> ----
>
> == Current instructions (work on Windows XP with Cygwin 1.7.3 and Windows
> 7 with Cygwin 1.7.9) ==
>
> === Cygwin prereqs ===
>  * Be sure to install file, liblapack, liblapack0, liblapack-devel
>  * Probably also need libiconv and openssl
>  * Since we will go with #11232, install patch
>  * On Windows 7 (or both) install libncurses-devel
>  * Don't forget fortran
>  * Make sure you download all gcc and g++ so the versions match
>  * Also, don't forget to {{{export SAGE_PORT=yes}}}!
>
> === Spkgs ===
>  *
> [http://boxen.math.washington.edu/home/dima/packages/patch-2.5.9.p1.spkg
> patch-2.5.9.p1.spkg], #11232
>  * [http://sage.math.washington.edu/home/kcrisman/ecl-11.1.1.p3.spkg
> ecl-11.1.1.p3.spkg], #11119
>  *
> [http://boxen.math.washington.edu/home/dima/packages/pari-2.4.3.alpha.p6.spkg
> pari-2.4.3.alpha.p6.spkg], #10240
>  * [http://www.stp.dias.ie/~vbraun/Sage/spkg/atlas-3.8.4.spkg
> atlas-3.8.4.spkg], #11494 and #10226
>  * [http://sage.math.washington.edu/home/kcrisman/tachyon-0.98.9.p4.spkg
> tachyon-0.98.8.p4.spkg], #11504
>  * [http://sage.math.washington.edu/home/kcrisman/twisted-9.0.p3.spkg
> twisted-9.0.p3.spkg], #11497
>  * [http://sage.math.washington.edu/home/kcrisman/cliquer-1.2.p10.spkg
> cliquer-1.2.p10.spkg], #11547
>  * [http://sage.math.washington.edu/home/kcrisman/flint-1.5.0.p7.spkg
> flint-1.5.0.p7.spkg], #11547 and #11246
>  * [http://sage.math.washington.edu/home/kcrisman/ntl-5.4.2.p13.spkg
> ntl-5.4.2.p13.spkg], #11547
>  * [http://sage.math.washington.edu/home/kcrisman/cddlib-094f.p9.spkg
> cddlib-094f.p9.spkg], #11245
>  *
> [http://sage.math.washington.edu/home/kcrisman/singular-3-1-1-4.p10.spkg
> singular-3-1-1-4.p10.spkg], #11550
>  * When building the Sage library, you will need to do the patch at
> [http://trac.sagemath.org/sage_trac/raw-
> attachment/ticket/11499/trac_11499.patch Trac 11499], #11499
>
> This should then work 'out of the box', modulo rebasing issues (see
> [wiki:CygwinPort]) and the continuing saga of building Maxima effectively
> (see #11502, #11260, but also some recent probable changes in ECL)
>
> ----
>
> Older instructions:
>

>
> I have put a binary of my cygwin build here:
>
> http://sage.math.washington.edu/home/wstein/tmp/sage-4.1-cygwin-i686-CYGWIN_NT-5.1.tar.gz
>
> Things like "sage -ipython" and many non-sage imports work.  Just
> starting Sage doesn't, maybe because of the Sage<-->pynac binding not
> building.
>
> Related tickets:
>
>    * #6919, #6975 -- flint
>    * #6974 -- make dummy packages for all the GNU crypto stuff
>    * #6976 -- numpy
>    * #6978 -- matplotlib [[invalid -- latest version works]]
>    * #6982 -- atlas and linbox
>    * #6984 -- lapack dummy package
>    * #7005 -- singular -- port to cygwin  (needs_work)
>    * #7015 -- cygwin port -- ratpoints -- don't build
>    * #7282 -- port jinja to install on cygwin
>    * #7308 -- cliquer's spkg-install does not work on cygwin
>    * #7319 -- gdmodule requires libiconv on cygwin
>    * #7321 -- numpy fails to build on cygwin
>    * #7335 -- tachyon fails to build on Cygwin
>    * #7336 -- boehm_gc fails to build on Cygwin
>    * #7337 -- PolyBoRi fails to build on cygwin
>    * #7338 -- Singular fails to build on cygwin
>    * #8257 -- gd-2.0.35.p4 fails to build
>    * #8261 -- cygwin: mpfr fails 1 test in its test suite on windows
>    * #8267 -- ratpoints is broken again
>    * #8269 -- maxima does not build on cygwin, possibly due to ECL bug.
>    * #8278 -- cvxopt doesn't build on cygwin/windows due to missing
> complex.h
>    * #8279 -- cygwin: cliquer names the library incorrectly for cygwin
>    * #8280 -- zn_poly shared library named incorrectly on cygwin
>
> Required cygwin packages beyond the usual:
>
>    * GCC 4.3.2
>    * gfortran
>    * libncurses-devel
>    * lapack
>    * openssl-devel
>    * libiconv -- needed when building R (and it has to be libiconv
>
> We need to add a test for *all* of the above to the prereq script before
> making the cygwin port official.

New description:

 The goal of this ticket is that a person can:

    1. Install Cygwin and certain standard Cygwin packages (listed below).

    2. Extract the Sage tarball and type "`make`"

 and have everything build automatically with no errors.   The goal is
 '''not''' that the resulting build works or Sage starts up.  That will be
 for a later ticket.

 ----

 == Current instructions (work on Windows XP with Cygwin 1.7.3 and Windows
 7 with Cygwin 1.7.9) ==

 === Cygwin prereqs ===
  * Be sure to install `file`, `liblapack`, `liblapack0`, `liblapack-
 devel`.
  * Probably also need `libiconv` and `openssl`.
  * Since we will go with #11232, install `patch`.
  * On Windows 7 (or both) install `libncurses-devel`.
  * Don't forget `fortran`.
  * Make sure you download all `gcc` and `g++` so the versions match.
  * Also, '''don't forget to''' {{{export SAGE_PORT=yes}}}!

 === Spkgs ===
  *
 [http://boxen.math.washington.edu/home/dima/packages/patch-2.5.9.p1.spkg
 patch-2.5.9.p1.spkg], #11232
  * [http://sage.math.washington.edu/home/kcrisman/ecl-11.1.1.p3.spkg
 ecl-11.1.1.p3.spkg], #11119
  *
 [http://boxen.math.washington.edu/home/dima/packages/pari-2.4.3.alpha.p6.spkg
 pari-2.4.3.alpha.p6.spkg], #10240
  * [http://www.stp.dias.ie/~vbraun/Sage/spkg/atlas-3.8.4.spkg
 atlas-3.8.4.spkg], #11494 and #10226
  * [http://sage.math.washington.edu/home/kcrisman/tachyon-0.98.9.p4.spkg
 tachyon-0.98.8.p4.spkg], #11504
  * [http://sage.math.washington.edu/home/kcrisman/twisted-9.0.p3.spkg
 twisted-9.0.p3.spkg], #11497
  * [http://sage.math.washington.edu/home/kcrisman/cliquer-1.2.p10.spkg
 cliquer-1.2.p10.spkg], #11547
  * [http://spkg-upload.googlecode.com/files/flint-1.5.0.p8.spkg
 flint-1.5.0.p8.spkg], #11547 and #11246
  * [http://sage.math.washington.edu/home/kcrisman/ntl-5.4.2.p13.spkg
 ntl-5.4.2.p13.spkg], #11547
  * [http://sage.math.washington.edu/home/kcrisman/cddlib-094f.p9.spkg
 cddlib-094f.p9.spkg], #11245
  *
 [http://sage.math.washington.edu/home/kcrisman/singular-3-1-1-4.p10.spkg
 singular-3-1-1-4.p10.spkg], #11550
  * When building the Sage library, you will need to apply
 [http://trac.sagemath.org/sage_trac/raw-
 attachment/ticket/11499/trac_11499.patch the patch at Trac 11499], #11499

 This should then work 'out of the box', modulo rebasing issues (see
 [wiki:CygwinPort]) and the continuing saga of building Maxima effectively
 (see #11502, #11260, but also some recent probable changes in ECL).

 ----

 Older instructions:



 I have put a binary of my Cygwin build here:

 
http://sage.math.washington.edu/home/wstein/tmp/sage-4.1-cygwin-i686-CYGWIN_NT-5.1.tar.gz

 Things like "`sage -ipython`" and many non-Sage imports work.  Just
 starting Sage doesn't, maybe because of the Sage<-->pynac binding not
 building.

 Related tickets:

    * #6919, #6975 -- FLINT
    * #6974 -- make dummy packages for all the GNU crypto stuff
    * #6976 -- numpy
    * #6978 -- matplotlib [[invalid -- latest version works]]
    * #6982 -- atlas and linbox
    * #6984 -- lapack dummy package
    * #7005 -- singular -- port to Cygwin  (needs_work)
    * #7015 -- Cygwin port -- ratpoints -- don't build
    * #7282 -- port jinja to install on Cygwin
    * #7308 -- cliquer's `spkg-install` does not work on Cygwin
    * #7319 -- gdmodule requires libiconv on Cygwin
    * #7321 -- numpy fails to build on Cygwin
    * #7335 -- tachyon fails to build on Cygwin
    * #7336 -- boehm_gc fails to build on Cygwin
    * #7337 -- !PolyBoRi fails to build on Cygwin
    * #7338 -- Singular fails to build on Cygwin
    * #8257 -- gd-2.0.35.p4 fails to build
    * #8261 -- Cygwin: MPFR fails 1 test in its test suite on Windows
    * #8267 -- ratpoints is broken again
    * #8269 -- Maxima does not build on Cygwin, possibly due to ECL bug.
    * #8278 -- cvxopt doesn't build on Cygwin/Windows due to missing
 `complex.h`
    * #8279 -- Cygwin: cliquer names the library incorrectly for Cygwin
    * #8280 -- zn_poly shared library named incorrectly on Cygwin

 Required Cygwin packages beyond the usual:

    * GCC 4.3.2
    * `gfortran`
    * `libncurses-devel`
    * `lapack`
    * `openssl-devel`
    * `libiconv` -- needed when building R (and it has to be `libiconv`)

 We need to add a test for '''all''' of the above to the prereq script
 before making the Cygwin port official.

--

Comment(by leif):

 FLINT spkg now references the new p8 ([re]based on the latest p7 from
 #11246), located on `spkg-upload`.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6743#comment:38>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to