#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.2
  Component:  cygwin       |       Keywords:  sd31 sd32 
Work_issues:               |       Upstream:  N/A       
   Reviewer:               |         Author:            
     Merged:               |   Dependencies:            
---------------------------+------------------------------------------------
Description changed by kcrisman:

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 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) ==
>
>  * As below with 4.7.2.alpha2
>
> === Cygwin prereqs ===
>  * Be sure to install `file`, `liblapack`, `liblapack0`, `liblapack-
> devel`.
>  * Also need `libiconv` and `openssl` and `openssl-devel`.
>  * Might as well install `libgc-devel` - although it's not needed to
> build, it probably is to start.
>  * 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 (in
> this case, gcc4 is the type we want).
>  * Also, '''don't forget to''' {{{export SAGE_PORT=yes}}}!
>
> === Spkgs ===
>  * [http://sage.math.washington.edu/home/kcrisman/ecl-11.1.1.p3.spkg
> ecl-11.1.1.p3.spkg], #11119
>  * [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/flint-1.5.0.p9.spkg
> flint-1.5.0.p9.spkg], #11727
>  * [http://sage.math.washington.edu/home/kcrisman/cddlib-094f.p9.spkg
> cddlib-094f.p9.spkg], #11245
>  * When building the Sage library, you will also need to apply the
> following [http://trac.sagemath.org/sage_trac/raw-
> attachment/ticket/11499/trac_11744.patch patch at Trac 11744], #11744
>

> 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).
>
> Apparently the change in the following is no longer necessary, since
> 4.7.1.alpha3 - but see #11635 where this is being tracked now.
>  * [http://sage.math.washington.edu/home/kcrisman/ntl-5.4.2.p13.spkg
> ntl-5.4.2.p13.spkg]
>
> In previous alphas or releases, see [wiki:CygwinPort the wiki] for more
> details.  For instance, when building the Sage library, you would have
> needed to apply
>  * [http://trac.sagemath.org/sage_trac/raw-
> attachment/ticket/11499/trac_11499.patch the patch at Trac 11499], #11499
>
> ----
>
> 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) ==

  * As below with 4.7.2.alpha3

 === Cygwin prereqs ===
  * Be sure to install `file`, `liblapack`, `liblapack0`, `liblapack-
 devel`.
  * Also need `libiconv` and `openssl` and `openssl-devel`.
  * Might as well install `libgc-devel` - although it's not needed to
 build, it probably is to start.
  * 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 (in
 this case, gcc4 is the type we want).
  * Also, '''don't forget to''' {{{export SAGE_PORT=yes}}}!

 === Spkgs ===
  * [http://sage.math.washington.edu/home/kcrisman/ecl-11.1.1.p3.spkg
 ecl-11.1.1.p3.spkg], #11119
  * [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/cddlib-094f.p9.spkg
 cddlib-094f.p9.spkg], #11245


 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).

 Apparently the change in the following is no longer necessary, since
 4.7.1.alpha3 - but see #11635 where this is being tracked now.
  * [http://sage.math.washington.edu/home/kcrisman/ntl-5.4.2.p13.spkg
 ntl-5.4.2.p13.spkg]

 See [wiki:CygwinPort the wiki] for other details.

 ----

 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.

--

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6743#comment:49>
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