sagemath / sage

Main repository of SageMath
https://www.sagemath.org
Other
1.45k stars 480 forks source link

cygwin metaticket: port Sage to Microsoft Windows (via Cygwin): stage 1 -- make building Sage automatic #6743

Closed williamstein closed 11 years ago

williamstein commented 15 years ago

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 (this is #13841), but if that happens as well, this will be great. Adding checks for all these prereqs, if necessary, will also be part of a future ticket.


More info

Most recent trials and a lot more archived status detail is at http://trac.sagemath.org/sage_trac/wiki/CygwinPort

Current instructions (work on Windows XP and Windows 7 with latest Cygwin)

As below with Sage 5.9.beta0

Cygwin prereqs

Here is what to install from Cygwin - use the usual stable binaries.

Other instructions:

Spkgs

Install the following spkgs ahead of time, e.g. in SAGE_ROOT/spkg/standard/ before compiling

Patches

You may have to add patches during the build of the Sage library. Once it fails, do (assuming you are in SAGE_ROOT)

./sage -sh
cd devel/sage
<import the patches - you may need to make ~/.hgrc>
cd ../..
./sage -b
<assuming all goes well here>
touch spkg/installed/sage-5.6.rc0 # or whatever the version number is
exit

which will bring you back to your normal shell.

Patches currently needed for:

This should then work 'out of the box', modulo rebasing issues (see CygwinPort). See the wiki for other details as well.


There is (or was) a very old binary of Cygwin available here:

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

Depends on #14031 Depends on #14465

CC: @dimpase @mwhansen @jpflori @kcrisman @simon-king-jena

Component: porting: Cygwin

Keywords: sd31 sd32

Reviewer: Jean-Pierre Flori, Dmitrii Pasechnik, Karl-Dieter Crisman, Mike Hansen, William Stein, Luis Felipe Tabera Alonso

Issue created by migration from https://trac.sagemath.org/ticket/6743

williamstein commented 15 years ago
comment:1

The goal of this ticket is to port the standard Sage release to at least build and startup under Cygwin with GCC>=4.3.2.

This ticket could be closed by any significant advanced in this direction that can be merged in.

williamstein commented 15 years ago

Attachment: buildnotes.txt

williamstein commented 15 years ago

Description changed:

--- 
+++ 
@@ -1 +1,5 @@
+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. 
williamstein commented 15 years ago
comment:2

Attachment: trac-6743.patch.gz

williamstein commented 15 years ago

Description changed:

--- 
+++ 
@@ -3,3 +3,7 @@
 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:
+
+* #6974 -- make dummy packages for all the GNU crypto stuff
williamstein commented 15 years ago

Description changed:

--- 
+++ 
@@ -7,3 +7,7 @@
 Related tickets:

 * #6974 -- make dummy packages for all the GNU crypto stuff
+* #6975 -- flint
+* #6976 -- numpy
+* #6978 -- matplotlib
+* #6982 -- atlas and linbox
williamstein commented 15 years ago

Description changed:

--- 
+++ 
@@ -11,3 +11,4 @@
 * #6976 -- numpy
 * #6978 -- matplotlib
 * #6982 -- atlas and linbox
+* #6984 -- lapack dummy package
williamstein commented 15 years ago

Description changed:

--- 
+++ 
@@ -9,6 +9,6 @@
 * #6974 -- make dummy packages for all the GNU crypto stuff
 * #6975 -- flint
 * #6976 -- numpy
-* #6978 -- matplotlib
+* #6978 -- matplotlib [[invalid -- it turns out the latest version works with no patches needed]]
 * #6982 -- atlas and linbox
 * #6984 -- lapack dummy package
williamstein commented 15 years ago

Description changed:

--- 
+++ 
@@ -12,3 +12,12 @@
 * #6978 -- matplotlib [[invalid -- it turns out the latest version works with no patches needed]]
 * #6982 -- atlas and linbox
 * #6984 -- lapack dummy package
+* #7005 -- singular port
+
+Required cygwin packages beyond the usual:
+
+* GCC 4.3.2
+* gfortran
+* libncurses-devel
+* lapack
+* openssl-devel
williamstein commented 15 years ago

Description changed:

--- 
+++ 
@@ -21,3 +21,6 @@
 * 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.
williamstein commented 15 years ago

Description changed:

--- 
+++ 
@@ -13,6 +13,7 @@
 * #6982 -- atlas and linbox
 * #6984 -- lapack dummy package
 * #7005 -- singular port
+* #7015 -- ratpoints

 Required cygwin packages beyond the usual:
williamstein commented 15 years ago
comment:10

Attachment: trac_6743-SCRIPTS-part1.patch.gz

williamstein commented 15 years ago

Description changed:

--- 
+++ 
@@ -7,7 +7,7 @@
 Related tickets:

 * #6974 -- make dummy packages for all the GNU crypto stuff
-* #6975 -- flint
+* #6975 and #6919 -- flint
 * #6976 -- numpy
 * #6978 -- matplotlib [[invalid -- it turns out the latest version works with no patches needed]]
 * #6982 -- atlas and linbox
williamstein commented 15 years ago

Description changed:

--- 
+++ 
@@ -1,3 +1,13 @@
+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. 
+ 
+
+
 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
williamstein commented 15 years ago
comment:12

Important remark. I got passed a lot of issues toward startup by copying csage.so to be /bin/csage.dll. Also, this program is very helpful: http://www.dependencywalker.com/

williamstein commented 15 years ago
comment:13

After using the dependency thing above, and only importing half the sage library, I finally got to test out libsingular... and it works fine!

sage: R.<x,y,z> = QQ[]
sage: f = (x+y+z+1)^2; f
x^2 + 2*x*y + y^2 + 2*x*z + 2*y*z + z^2 + 2*x + 2*y + 2*z + 1
sage: type(f)
<type 'sage.rings.polynomial.multi_polynomial_libsingular.MPolynomial_libsingular'>

Another key point is one should increase the RAM available to cygwin by editing the registry, as explained in the Cygwin user's manual. The default 384MB limit with all cygwin installs is way way too small for sage. Make it a gig.

My working sage install is /home/wstein/sage-4.1 on the winxp3 virtual machine.

williamstein commented 14 years ago

Description changed:

--- 
+++ 
@@ -16,15 +16,23 @@

 Related tickets:

+* #6919, #6975 -- flint
 * #6974 -- make dummy packages for all the GNU crypto stuff
-* #6975 and #6919 -- flint
 * #6976 -- numpy
-* #6978 -- matplotlib [[invalid -- it turns out the latest version works with no patches needed]]
+* #6978 -- matplotlib [[invalid -- latest version works]]
 * #6982 -- atlas and linbox
 * #6984 -- lapack dummy package
-* #7005 -- singular port
-* #7015 -- ratpoints
-
+* #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
+   
 Required cygwin packages beyond the usual:

 * GCC 4.3.2
williamstein commented 14 years ago

Description changed:

--- 
+++ 
@@ -32,6 +32,7 @@
 * #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

 Required cygwin packages beyond the usual:
williamstein commented 14 years ago

Description changed:

--- 
+++ 
@@ -33,6 +33,7 @@
 * #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

 Required cygwin packages beyond the usual:
williamstein commented 14 years ago

Description changed:

--- 
+++ 
@@ -34,6 +34,7 @@
 * #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

 Required cygwin packages beyond the usual:
williamstein commented 14 years ago

Description changed:

--- 
+++ 
@@ -35,6 +35,7 @@
 * #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.

 Required cygwin packages beyond the usual:
williamstein commented 14 years ago

Description changed:

--- 
+++ 
@@ -36,6 +36,7 @@
 * #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

 Required cygwin packages beyond the usual:
williamstein commented 14 years ago

Description changed:

--- 
+++ 
@@ -37,6 +37,7 @@
 * #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

 Required cygwin packages beyond the usual:
williamstein commented 14 years ago

Description changed:

--- 
+++ 
@@ -38,6 +38,7 @@
 * #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:
williamstein commented 14 years ago

I rebased the sage library patch to get the sage library to build against sage-4.3.3. Applying this patch and fixing some library naming issues (mainly .so --> .dll) allows "sage -b" to work. Sage does not startup though.

williamstein commented 14 years ago

Attachment: trac_6743-rebase-sage-4.3.3.patch.gz

these are my notes when I tried to build sage-4.3.3.alpha0 from source on cygwin

mwhansen commented 14 years ago
comment:23

Attachment: buildnotes-4.3.3.alpha0.txt

kcrisman commented 13 years ago
comment:24

Anyone interested in this should check out the wiki page for the latest.

kcrisman commented 13 years ago
comment:25

My proposal is that once Cygwin actually is able to be built out of the box (not necessarily running) that this ticket is then closed by updating prereq to include the various prereqs. Again, see the Cygwin wiki page on Sage Trac for details of what is currently needed.

kcrisman commented 13 years ago
comment:26

Updating description to have more precise instructions, at least for one particular setup that will hopefully work.

kcrisman commented 13 years ago

Description changed:

--- 
+++ 
@@ -6,6 +6,34 @@

 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 on Windows XP with Cygwin 1.7.3
+
+### Cygwin prereqs
+* Be sure to install file, liblapack, liblapack0, liblapack-devel
+* Since we will go with #11232, install patch
+* Don't forget fortran
+* Make sure you download all gcc and g++ so the versions match
+
+### Spkgs
+* [patch-2.5.9.p1.spkg](http://boxen.math.washington.edu/home/dima/packages/patch-2.5.9.p1.spkg), #11232
+* [ecl-11.1.1.p3.spkg](http://sage.math.washington.edu/home/kcrisman/ecl-11.1.1.p3.spkg), #11119
+* [pari-2.4.3.alpha.p6.spkg](http://boxen.math.washington.edu/home/dima/packages/pari-2.4.3.alpha.p6.spkg), #10240
+* [atlas-3.8.4.spkg](http://www.stp.dias.ie/~vbraun/Sage/spkg/atlas-3.8.4.spkg), #11494 and #10266
+* [tachyon-0.98.8.p4.spkg](http://sage.math.washington.edu/home/kcrisman/tachyon-0.98.9.p4.spkg), #11504
+* [twisted-9.0.p3.spkg](http://sage.math.washington.edu/home/kcrisman/twisted-9.0.p3.spkg), #11497
+* [cliquer-1.2.p10.spkg](http://sage.math.washington.edu/home/kcrisman/cliquer-1.2.p10.spkg), #11547
+* [flint-1.5.0.p7.spkg](http://sage.math.washington.edu/home/kcrisman/flint-1.5.0.p7.spkg), #11547 and #11246
+* [ntl-5.4.2.p13.spkg](http://sage.math.washington.edu/home/kcrisman/ntl-5.4.2.p13.spkg), #11547
+* When building the Sage library, you will need to do the patch at [Trac 11499](https://github.com/sagemath/sage-prod/files/10653154/trac_11499.patch.gz), #11499
+
+Hopefully this will then work 'out of the box', modulo rebasing issues 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:
kcrisman commented 13 years ago

Description changed:

--- 
+++ 
@@ -12,10 +12,11 @@

 ### 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
 * 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
 * [patch-2.5.9.p1.spkg](http://boxen.math.washington.edu/home/dima/packages/patch-2.5.9.p1.spkg), #11232
 * [ecl-11.1.1.p3.spkg](http://sage.math.washington.edu/home/kcrisman/ecl-11.1.1.p3.spkg), #11119
kcrisman commented 13 years ago
comment:28

I just got Sage to build on Cygwin 1.7.3 (not most recent) on XP (not most recent) with the ONLY stops being once when the computer decided to do an automatic update and restarted, and once when I had to add the patch at #11499. So I would say that this is as close to automatic as you can get. (Once again, Maxima built fun - and runs in sage -maxima.)

kcrisman commented 13 years ago

Description changed:

--- 
+++ 
@@ -8,15 +8,17 @@

 ---

-## Current instructions on Windows XP with Cygwin 1.7.3
+## 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
 * [patch-2.5.9.p1.spkg](http://boxen.math.washington.edu/home/dima/packages/patch-2.5.9.p1.spkg), #11232
 * [ecl-11.1.1.p3.spkg](http://sage.math.washington.edu/home/kcrisman/ecl-11.1.1.p3.spkg), #11119
@@ -27,9 +29,11 @@
 * [cliquer-1.2.p10.spkg](http://sage.math.washington.edu/home/kcrisman/cliquer-1.2.p10.spkg), #11547
 * [flint-1.5.0.p7.spkg](http://sage.math.washington.edu/home/kcrisman/flint-1.5.0.p7.spkg), #11547 and #11246
 * [ntl-5.4.2.p13.spkg](http://sage.math.washington.edu/home/kcrisman/ntl-5.4.2.p13.spkg), #11547
+* [cddlib-094f.p9.spkg](http://sage.math.washington.edu/home/kcrisman/cddlib-094f.p9.spkg), #11245
+* [singular-3-1-1-4.p10.spkg](http://sage.math.washington.edu/home/kcrisman/singular-3-1-1-4.p10.spkg), #11550
 * When building the Sage library, you will need to do the patch at [Trac 11499](https://github.com/sagemath/sage-prod/files/10653154/trac_11499.patch.gz), #11499

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

 ---
saliola commented 13 years ago
comment:30

I just tried to go through the install on Windows 7 and Cygwin 1.7.9-1 (latest version) with sage-4.7.1.alpha4, but there was an error while building python. I'm going to attach the install.log file.

saliola commented 13 years ago

Attachment: install.log

windows 7, cygwin 1.7.9-1, python build error

mwhansen commented 13 years ago
comment:31

Franco, see http://cygwin.com/faq/faq.using.html#faq.using.bloda . You may also want to do a rebaseall.

mwhansen commented 13 years ago
comment:32

Also, see http://comments.gmane.org/gmane.os.cygwin.xfree/20979

kcrisman commented 13 years ago
comment:33

Replying to @saliola:

I just tried to go through the install on Windows 7 and Cygwin 1.7.9-1 (latest version) with sage-4.7.1.alpha4, but there was an error while building python. I'm going to attach the install.log file.

Thanks so much for trying this. I think that it's almost certainly the case that mhansen's comment will lead you to happiness. The Python spkg seems to be particularly vulnerable to this problem, in other reports as well as my own experience. By the way, there are more detailed instructions about how to rebase the Sage dlls (not just the system ones) at the wiki page about this.

kcrisman commented 13 years ago
comment:34

Replying to @mwhansen:

Also, see http://comments.gmane.org/gmane.os.cygwin.xfree/20979

Which precise comment? http://permalink.gmane.org/gmane.os.cygwin.xfree/21742 or http://permalink.gmane.org/gmane.os.cygwin.xfree/21344 or a different one?

saliola commented 13 years ago
comment:35

Replying to @kcrisman:

Thanks so much for trying this.

It is the least I can do, considering all the hard work by all of you. Your email on sage-devel convinced me to try.

I think that it's almost certainly the case that mhansen's comment will lead you to happiness. The Python spkg seems to be particularly vulnerable to this problem, in other reports as well as my own experience. By the way, there are more detailed instructions about how to rebase the Sage dlls (not just the system ones) at the wiki page about this.

So far, I just rebased Cygwin using rebaseall -v. I don't know whether this also rebases the Sage dlls, but the compilation is now continuing (it finished compiling Python).

I'm convinced that my problem is related to Windows update. I have Windows 7 installed on a partition on my laptop and almost never boot into it. It was really, really behind on updates, and Windows just kept on applying update and update (even after it told me there were no more updates to apply, it somehow managed to download some new updates....). It seems to have stopped updating now. Fingers crossed.

kcrisman commented 13 years ago
comment:36

I'm convinced that my problem is related to Windows update. I have Windows 7 installed on a partition on my laptop and almost never boot into it. It was really, really behind on updates, and Windows just kept on applying update and update (even after it told me there were no more updates to apply, it somehow managed to download some new updates....). It seems to have stopped updating now. Fingers crossed.

Yes, you are totally right about this problem. Windows just does it again and again without really asking.

You know what I do? I disconnect from the internet :) But that is on a computer I rented from our IT just for this purpose, hard to do with a main computer.

kcrisman commented 13 years ago

Description changed:

--- 
+++ 
@@ -23,7 +23,7 @@
 * [patch-2.5.9.p1.spkg](http://boxen.math.washington.edu/home/dima/packages/patch-2.5.9.p1.spkg), #11232
 * [ecl-11.1.1.p3.spkg](http://sage.math.washington.edu/home/kcrisman/ecl-11.1.1.p3.spkg), #11119
 * [pari-2.4.3.alpha.p6.spkg](http://boxen.math.washington.edu/home/dima/packages/pari-2.4.3.alpha.p6.spkg), #10240
-* [atlas-3.8.4.spkg](http://www.stp.dias.ie/~vbraun/Sage/spkg/atlas-3.8.4.spkg), #11494 and #10266
+* [atlas-3.8.4.spkg](http://www.stp.dias.ie/~vbraun/Sage/spkg/atlas-3.8.4.spkg), #11494 and #10226
 * [tachyon-0.98.8.p4.spkg](http://sage.math.washington.edu/home/kcrisman/tachyon-0.98.9.p4.spkg), #11504
 * [twisted-9.0.p3.spkg](http://sage.math.washington.edu/home/kcrisman/twisted-9.0.p3.spkg), #11497
 * [cliquer-1.2.p10.spkg](http://sage.math.washington.edu/home/kcrisman/cliquer-1.2.p10.spkg), #11547
83660e46-0051-498b-a8c1-f7a7bd232b5a commented 13 years ago
comment:38

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

83660e46-0051-498b-a8c1-f7a7bd232b5a commented 13 years ago

Description changed:

--- 
+++ 
@@ -1,23 +1,23 @@
 The goal of this ticket is that a person can:

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

-2. Extract the Sage tarball and type "make"
+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. 
- 
+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`!
+* 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
 * [patch-2.5.9.p1.spkg](http://boxen.math.washington.edu/home/dima/packages/patch-2.5.9.p1.spkg), #11232
@@ -27,13 +27,13 @@
 * [tachyon-0.98.8.p4.spkg](http://sage.math.washington.edu/home/kcrisman/tachyon-0.98.9.p4.spkg), #11504
 * [twisted-9.0.p3.spkg](http://sage.math.washington.edu/home/kcrisman/twisted-9.0.p3.spkg), #11497
 * [cliquer-1.2.p10.spkg](http://sage.math.washington.edu/home/kcrisman/cliquer-1.2.p10.spkg), #11547
-* [flint-1.5.0.p7.spkg](http://sage.math.washington.edu/home/kcrisman/flint-1.5.0.p7.spkg), #11547 and #11246
+* [flint-1.5.0.p8.spkg](http://spkg-upload.googlecode.com/files/flint-1.5.0.p8.spkg), #11547 and #11246
 * [ntl-5.4.2.p13.spkg](http://sage.math.washington.edu/home/kcrisman/ntl-5.4.2.p13.spkg), #11547
 * [cddlib-094f.p9.spkg](http://sage.math.washington.edu/home/kcrisman/cddlib-094f.p9.spkg), #11245
 * [singular-3-1-1-4.p10.spkg](http://sage.math.washington.edu/home/kcrisman/singular-3-1-1-4.p10.spkg), #11550
-* When building the Sage library, you will need to do the patch at [Trac 11499](https://github.com/sagemath/sage-prod/files/10653154/trac_11499.patch.gz), #11499
+* When building the Sage library, you will need to apply [the patch at Trac 11499](https://github.com/sagemath/sage-prod/files/10653154/trac_11499.patch.gz), #11499

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

 ---

@@ -41,45 +41,46 @@

-I have put a binary of my cygwin build here:
+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. 
+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
+* #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
+* #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
+* #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
+* #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
+* #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:
+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
+* `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.
+We need to add a test for **all** of the above to the prereq script before making the Cygwin port official.
+
kcrisman commented 13 years ago

Description changed:

--- 
+++ 
@@ -9,6 +9,9 @@
 ---

 ## Current instructions (work on Windows XP with Cygwin 1.7.3 and Windows 7 with Cygwin 1.7.9)
+
+* As below with 4.7.1.alpha4 
+* Ignore the crossed-out spkgs when testing from pre-release 4.7.2.alpha0 or later

 ### Cygwin prereqs
 * Be sure to install `file`, `liblapack`, `liblapack0`, `liblapack-devel`.
@@ -28,7 +31,7 @@
 * [twisted-9.0.p3.spkg](http://sage.math.washington.edu/home/kcrisman/twisted-9.0.p3.spkg), #11497
 * [cliquer-1.2.p10.spkg](http://sage.math.washington.edu/home/kcrisman/cliquer-1.2.p10.spkg), #11547
 * [flint-1.5.0.p8.spkg](http://spkg-upload.googlecode.com/files/flint-1.5.0.p8.spkg), #11547 and #11246
-* [ntl-5.4.2.p13.spkg](http://sage.math.washington.edu/home/kcrisman/ntl-5.4.2.p13.spkg), #11547
+* [ntl-5.4.2.p13.spkg](http://sage.math.washington.edu/home/kcrisman/ntl-5.4.2.p13.spkg), #11635
 * [cddlib-094f.p9.spkg](http://sage.math.washington.edu/home/kcrisman/cddlib-094f.p9.spkg), #11245
 * [singular-3-1-1-4.p10.spkg](http://sage.math.washington.edu/home/kcrisman/singular-3-1-1-4.p10.spkg), #11550
 * When building the Sage library, you will need to apply [the patch at Trac 11499](https://github.com/sagemath/sage-prod/files/10653154/trac_11499.patch.gz), #11499
kcrisman commented 13 years ago

Description changed:

--- 
+++ 
@@ -31,12 +31,14 @@
 * [twisted-9.0.p3.spkg](http://sage.math.washington.edu/home/kcrisman/twisted-9.0.p3.spkg), #11497
 * [cliquer-1.2.p10.spkg](http://sage.math.washington.edu/home/kcrisman/cliquer-1.2.p10.spkg), #11547
 * [flint-1.5.0.p8.spkg](http://spkg-upload.googlecode.com/files/flint-1.5.0.p8.spkg), #11547 and #11246
-* [ntl-5.4.2.p13.spkg](http://sage.math.washington.edu/home/kcrisman/ntl-5.4.2.p13.spkg), #11635
 * [cddlib-094f.p9.spkg](http://sage.math.washington.edu/home/kcrisman/cddlib-094f.p9.spkg), #11245
 * [singular-3-1-1-4.p10.spkg](http://sage.math.washington.edu/home/kcrisman/singular-3-1-1-4.p10.spkg), #11550
 * When building the Sage library, you will need to apply [the patch at Trac 11499](https://github.com/sagemath/sage-prod/files/10653154/trac_11499.patch.gz), #11499

 This should then work 'out of the box', modulo rebasing issues (see [CygwinPort](../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.
+* [ntl-5.4.2.p13.spkg](http://sage.math.washington.edu/home/kcrisman/ntl-5.4.2.p13.spkg)

 ---
kcrisman commented 13 years ago

Description changed:

--- 
+++ 
@@ -16,6 +16,7 @@
 ### Cygwin prereqs
 * Be sure to install `file`, `liblapack`, `liblapack0`, `liblapack-devel`.
 * Probably also need `libiconv` and `openssl`.
+* 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`.
kcrisman commented 13 years ago

Description changed:

--- 
+++ 
@@ -15,7 +15,7 @@

 ### Cygwin prereqs
 * Be sure to install `file`, `liblapack`, `liblapack0`, `liblapack-devel`.
-* Probably also need `libiconv` and `openssl`.
+* 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`.
kcrisman commented 13 years ago

Description changed:

--- 
+++ 
@@ -10,8 +10,7 @@

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

-* As below with 4.7.1.alpha4 
-* Ignore the crossed-out spkgs when testing from pre-release 4.7.2.alpha0 or later
+* As below with 4.7.2.alpha1

 ### Cygwin prereqs
 * Be sure to install `file`, `liblapack`, `liblapack0`, `liblapack-devel`.
@@ -20,20 +19,15 @@
 * 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.
+* 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
-* [patch-2.5.9.p1.spkg](http://boxen.math.washington.edu/home/dima/packages/patch-2.5.9.p1.spkg), #11232
 * [ecl-11.1.1.p3.spkg](http://sage.math.washington.edu/home/kcrisman/ecl-11.1.1.p3.spkg), #11119
-* [pari-2.4.3.alpha.p6.spkg](http://boxen.math.washington.edu/home/dima/packages/pari-2.4.3.alpha.p6.spkg), #10240
-* [atlas-3.8.4.spkg](http://www.stp.dias.ie/~vbraun/Sage/spkg/atlas-3.8.4.spkg), #11494 and #10226
 * [tachyon-0.98.8.p4.spkg](http://sage.math.washington.edu/home/kcrisman/tachyon-0.98.9.p4.spkg), #11504
 * [twisted-9.0.p3.spkg](http://sage.math.washington.edu/home/kcrisman/twisted-9.0.p3.spkg), #11497
-* [cliquer-1.2.p10.spkg](http://sage.math.washington.edu/home/kcrisman/cliquer-1.2.p10.spkg), #11547
-* [flint-1.5.0.p8.spkg](http://spkg-upload.googlecode.com/files/flint-1.5.0.p8.spkg), #11547 and #11246
+* [flint-1.5.0.p8.spkg](http://spkg-upload.googlecode.com/files/flint-1.5.0.p9.spkg), #11727
 * [cddlib-094f.p9.spkg](http://sage.math.washington.edu/home/kcrisman/cddlib-094f.p9.spkg), #11245
-* [singular-3-1-1-4.p10.spkg](http://sage.math.washington.edu/home/kcrisman/singular-3-1-1-4.p10.spkg), #11550
 * When building the Sage library, you will need to apply [the patch at Trac 11499](https://github.com/sagemath/sage-prod/files/10653154/trac_11499.patch.gz), #11499

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