Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'skip:[ 20': 0.03; 'subject:Python': 0.05; 'error:': 0.05; 'reason,': 0.07; 'python': 0.09; '(first': 0.09; 'identifier': 0.09; 'level:': 0.09; 'patches': 0.09; 'skip:[ 30': 0.09; 'subject:2.7': 0.09; 'to:addr:comp.lang.python': 0.09; 'cc:addr:python-list': 0.10; "skip:' 30": 0.15; "'pipe'": 0.16; 'arrived': 0.16; 'declaration': 0.16; 'erik': 0.16; 'presented,': 0.16; 'subject:3.3': 0.16; 'wrote:': 0.17; 'appears': 0.18; 'all,': 0.21; 'implicit': 0.22; 'wednesday,': 0.22; 'defined': 0.22; 'cc:2**0': 0.23; 'errors': 0.23; 'posts': 0.23; 'installed': 0.23; "i've": 0.23; 'seems': 0.23; 'patch': 0.24; 'cc:no real name:2**0': 0.24; 'url:bugs': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'skip:[ 10': 0.26; 'creating': 0.26; 'compiled': 0.27; "doesn't": 0.28; 'source': 0.29; 'install': 0.29; 'related': 0.30; "skip:' 10": 0.30; 'function': 0.30; 'error': 0.30; 'point': 0.31; 'december': 0.32; 'problem.': 0.32; 'url:python': 0.32; "skip:' 20": 0.32; 'could': 0.32; 'subject:regarding': 0.33; 'problem': 0.33; 'hi,': 0.33; 'version': 0.34; 'received:google.com': 0.34; 'skip:. 20': 0.35; 'received:209.85': 0.35; 'there': 0.35; 'but': 0.36; 'url:org': 0.36; "didn't": 0.36; 'subject:with': 0.36; 'reported': 0.37; 'resolve': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'skip:o 20': 0.38; 'some': 0.38; 'google': 0.39; 'first': 0.61; 'solve': 0.62; 'mentioned': 0.63; 'different': 0.63; 'information': 0.63; 'show': 0.63; 'note:': 0.64; 'here': 0.65; '26,': 0.65; 'hints': 0.65; 'applying': 0.69; "'make'": 0.84; '--->': 0.84; './configure': 0.84; 'mingw': 0.84; 'succeed.': 0.84; '***': 0.93; 'online,': 0.98 Newsgroups: comp.lang.python Date: Thu, 27 Dec 2012 12:08:08 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=94.227.47.230; posting-account=p6lqUgoAAAAAfyxgcjczaUUDHrv2HeNd References: User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-IP: 94.227.47.230 MIME-Version: 1.0 Subject: Re: regarding compiling the Python 2.7 and 3.3 with mingw From: erikj To: comp.lang.python@googlegroups.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Message-ID: Lines: 108 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1356638896 news.xs4all.nl 6886 [2001:888:2000:d::a6]:42008 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:35643 Hi, have you been able to resolve this issue for 3.3 ? I've arrived at the same point after applying the patches mentioned here : http://bugs.python.org/issue3754 and creating a custom site.config Thx, Erik On Wednesday, December 26, 2012 1:16:00 AM UTC+1, ginzzer wrote: > Hi all,=20 >=20 > 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 t= o install 2.6.x, 2.7.x, 3.2.x and 3.3.0, no one succeed. I search all issue= s and google the related information online, it seems that it doesn't suppo= rt python on mingw? But what stranger is there are a few posts here with th= e 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. H= ere are the error messages when I try to compile the 3.3.0 in mingw,=20 >=20 >=20 >=20 > ./configure ---> no problem >=20 > make ---> errors shown below >=20 > Objects/exceptions.c:2527:5: error: 'EALREADY' undeclared (first use in= this function) >=20 > Objects/exceptions.c:2527:5: note: each undeclared identifier is report= ed only once for each function it appears in >=20 > Objects/exceptions.c:2528:5: error: 'EINPROGRESS' undeclared (first use= in this function) >=20 > Objects/exceptions.c:2529:5: error: 'EWOULDBLOCK' undeclared (first use= in this function) >=20 > Objects/exceptions.c:2532:5: error: 'ESHUTDOWN' undeclared (first use i= n this function) >=20 > Objects/exceptions.c:2536:5: error: 'ECONNABORTED' undeclared (first us= e in this function) >=20 > Objects/exceptions.c:2538:5: error: 'ECONNREFUSED' undeclared (first us= e in this function) >=20 > Objects/exceptions.c:2540:5: error: 'ECONNRESET' undeclared (first use = in this function) >=20 > Objects/exceptions.c:2557:5: error: 'ETIMEDOUT' undeclared (first use i= n this function) >=20 > make: *** [Objects/exceptions.o] Error 1 >=20 >=20 >=20 > I then try compiling the version 2.7.3, different errors were shown while= 'make' >=20 >=20 >=20 > ./Modules/posixmodule.c:6151:5: warning: implicit declaration of functi= on 'wait'[-Wimplicit-function-declaration] >=20 > ./Modules/posixmodule.c: In function 'posix_fdopen': >=20 > ./Modules/posixmodule.c:6751:9: warning: implicit declaration of functi= on 'fcntl' [-Wimplicit-function-declaration] >=20 > ./Modules/posixmodule.c:6751:27: error: 'F_GETFL' undeclared (first use= in this function) >=20 > ./Modules/posixmodule.c:6751:27: note: each undeclared identifier is re= ported only once for each function it appears in >=20 > ./Modules/posixmodule.c:6753:23: error: 'F_SETFL' undeclared (first use= in this function) >=20 > ./Modules/posixmodule.c: In function 'posix_pipe': >=20 > ./Modules/posixmodule.c:6816:5: warning: implicit declaration of functi= on 'pipe' [-Wimplicit-function-declaration] >=20 > ./Modules/posixmodule.c: At top level: >=20 > ./Modules/posixmodule.c:671:1: warning: 'posix_fildes' defined but not = used [-Wunused-function] >=20 > ./Modules/posixmodule.c:7480:1: warning: 'conv_confname' defined but no= t used [-Wunused-function] >=20 > ./Modules/posixmodule.c:8387:1: warning: 'setup_confname_table' defined= but not used [-Wunused-function] >=20 > make: *** [Modules/posixmodule.o] Error 1 >=20 >=20 >=20 > I highly appreciate it if you could show me any hints in compiling the >=20 > python in mingw.