#13319: Python 2.7.3.p0 does not build on Cygwin.
----------------------------------------------------------------+-----------
       Reporter:  jpflori                                       |         
Owner:  tbd         
           Type:  defect                                        |        
Status:  needs_review
       Priority:  major                                         |     
Milestone:  sage-5.3    
      Component:  cygwin                                        |    
Resolution:              
       Keywords:  pythong cygwin                                |   Work 
issues:              
Report Upstream:  Fixed upstream, but not in a stable release.  |     
Reviewers:              
        Authors:  Jean-Pierre Flori                             |     Merged 
in:              
   Dependencies:                                                |      
Stopgaps:              
----------------------------------------------------------------+-----------
Changes (by {'newvalue': u'Jean-Pierre Flori', 'oldvalue': ''}):

 * cc: kcrisman, dimpase (added)
  * status:  new => needs_review
  * author:  => Jean-Pierre Flori


Old description:

> Some patches posterior to Python 2.7.3 are needed to build on Cygwin.
>
> Namely fixes from the issues 9665, 14437, 14438 on Python issue tracker.

New description:

 Some patches posterior to Python 2.7.3 are needed to build on Cygwin.
 Namely fixes from the issues 9665, 14437, 14438 on Python issue tracker.

 Use the spkg available at:
 http://perso.telecom-paristech.fr/~flori/sage/python-2.7.3.p1.spkg

--

Comment:

 Some further details:
 - issue 9665 is still opened (and as it is back from 2010 and was not
 modified since, I doubt it will be closed any time soon unless one of us
 takes action);
 - issue 14337 has been merged, but unfortunately after the Python 2.7.3
 release;
 - issue 14338 has been closed as invalid and marked as a Cygwin, rather
 than Python, bug, why not... but what's sure is that it prevents to build
 Python on Cygwin.

 The patche we need from 9665 modifies configure.in (the other patch is
 just issue 14337).
 In order to take it into account in the configure script, I ran
 "autoreconf -i" which also modified the configure script in several other
 places, but in a seemingly harmless way.
 It is mainly because I used a newer version of autotools than the one
 originally used for the Python 2.7.3 release, and autotools decided
 inbetween to prefix some variables names with "ac_".
 A somehow less invasive solution would be to directly patch the configure
 script, but I'm less inclined to do so than properly patching
 configure.in.

 The updated spkg is available at:
 http://perso.telecom-paristech.fr/~flori/sage/python-2.7.3.p1.spkg

 It builds correctly on Ubuntu 12.04 64 bits and is currently building on
 my Cygwin 1.7.16 on Windows 7 64 bits (it failed a first time but because
 of memory exhaustion which I often get while using Cygwin or MinGW).

 I've search trac for a more recent spkg than the 2.7.3.p0 but did not find
 anything.
 If I missed some tickets including such an spkg, please let me know or
 directly rebase the patches proposed here.

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