[New-bugs-announce] [issue16780] fail to compile python in msys with mingw

Lee Long report at bugs.python.org
Tue Dec 25 22:54:11 CET 2012


New submission from Lee Long:

Hi all, 
  For some reason, I have to develop my software with mingw under windows. First of all, I need python installed in the msys but I try all my ways to install 2.6.x, 2.7.x, 3.2.x and 3.3.0, no one succeed. I search all issues and google the related information online, it seems that it doesn't support python on mingw? But what stranger is there are a few posts here with the patch presented, so is there any way to make the source compiled in mingw? I try all the available patches but again, it didn't solve the problem. Here are the error messages when I try to compile the 3.3.0 in mingw, 

  ./configure              ---> no problem
  make                     ---> errors shown below
  Objects/exceptions.c:2527:5: error: 'EALREADY' undeclared (first use in this function)
  Objects/exceptions.c:2527:5: note: each undeclared identifier is reported only once for each function it appears in
  Objects/exceptions.c:2528:5: error: 'EINPROGRESS' undeclared (first use in this function)
  Objects/exceptions.c:2529:5: error: 'EWOULDBLOCK' undeclared (first use in this function)
  Objects/exceptions.c:2532:5: error: 'ESHUTDOWN' undeclared (first use in this function)
  Objects/exceptions.c:2536:5: error: 'ECONNABORTED' undeclared (first use in this function)
  Objects/exceptions.c:2538:5: error: 'ECONNREFUSED' undeclared (first use in this function)
  Objects/exceptions.c:2540:5: error: 'ECONNRESET' undeclared (first use in this function)
  Objects/exceptions.c:2557:5: error: 'ETIMEDOUT' undeclared (first use in this function)
  make: *** [Objects/exceptions.o] Error 1

I've been working on these for two days, really has no idea what's wrong with these.

BTW, I saw in some similar posts, there are more then one patch uploaded in different time, I patch each at a time from old to new, is that the right order to do so or I only have to patch the latest one? 

Thanks.

----------
components: Build, Windows
messages: 178165
nosy: mwtree
priority: normal
severity: normal
status: open
title: fail to compile python in msys with mingw
versions: Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16780>
_______________________________________


More information about the New-bugs-announce mailing list