Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #35643

Re: regarding compiling the Python 2.7 and 3.3 with mingw

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 <tw55413@gmail.com>
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 <mailman.1276.1356480990.29569.python-list@python.org>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=94.227.47.230; posting-account=p6lqUgoAAAAAfyxgcjczaUUDHrv2HeNd
References <mailman.1276.1356480990.29569.python-list@python.org>
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 <tw55413@gmail.com>
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 <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Message-ID <mailman.1360.1356638896.29569.python-list@python.org> (permalink)
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

Show key headers only | View raw


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, 
> 
>   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 then try compiling the version 2.7.3, different errors were shown while 'make'
> 
> 
> 
>   ./Modules/posixmodule.c:6151:5: warning: implicit declaration of function 'wait'[-Wimplicit-function-declaration]
> 
>   ./Modules/posixmodule.c: In function 'posix_fdopen':
> 
>   ./Modules/posixmodule.c:6751:9: warning: implicit declaration of function 'fcntl' [-Wimplicit-function-declaration]
> 
>   ./Modules/posixmodule.c:6751:27: error: 'F_GETFL' undeclared (first use in this function)
> 
>   ./Modules/posixmodule.c:6751:27: note: each undeclared identifier is reported only once for each function it appears in
> 
>   ./Modules/posixmodule.c:6753:23: error: 'F_SETFL' undeclared (first use in this function)
> 
>   ./Modules/posixmodule.c: In function 'posix_pipe':
> 
>   ./Modules/posixmodule.c:6816:5: warning: implicit declaration of function 'pipe' [-Wimplicit-function-declaration]
> 
>   ./Modules/posixmodule.c: At top level:
> 
>   ./Modules/posixmodule.c:671:1: warning: 'posix_fildes' defined but not used [-Wunused-function]
> 
>   ./Modules/posixmodule.c:7480:1: warning: 'conv_confname' defined but not used [-Wunused-function]
> 
>   ./Modules/posixmodule.c:8387:1: warning: 'setup_confname_table' defined but not used [-Wunused-function]
> 
>   make: *** [Modules/posixmodule.o] Error 1
> 
> 
> 
> I highly appreciate it if you could show me any hints in compiling the
> 
> python in mingw.

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

regarding compiling the Python 2.7 and 3.3 with mingw ginzzer <ginzzer@gmail.com> - 2012-12-25 18:16 -0600
  Re: regarding compiling the Python 2.7 and 3.3 with mingw erikj <tw55413@gmail.com> - 2012-12-27 12:08 -0800
  Re: regarding compiling the Python 2.7 and 3.3 with mingw erikj <tw55413@gmail.com> - 2012-12-27 12:08 -0800

csiph-web