[issue15315] Can't build Python extension with mingw32 on Windows

2021-10-21 Thread Irit Katriel


Change by Irit Katriel :


--
resolution: duplicate -> wont fix

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15315] Can't build Python extension with mingw32 on Windows

2021-10-20 Thread Irit Katriel


Change by Irit Katriel :


--
resolution:  -> duplicate
stage:  -> resolved
status: open -> closed
superseder:  -> MinGW is unsupported - close all open issues and list them here.

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15315] Can't build Python extension with mingw32 on Windows

2013-08-04 Thread Roumen Petrov

Changes by Roumen Petrov bugtr...@roumenpetrov.info:


--
nosy: +rpetrov

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15315
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15315] Can't build Python extension with mingw32 on Windows

2013-06-14 Thread Aditya Atluri

Aditya Atluri added the comment:

I have found a hack for the issue.
First, install Microsoft Visual C++ 2010 Redistributable Package.
Second, copy the msvcr100.dll to C:\Python33\libs.

Reason: During compilation, the directory for linking is C:\Python44\libs. Both 
-lpython and -lmsvcr100 are pointed to the same location. So, they have to be 
in the same directory.

I have another problem here.
The log is attached. Is there a change in functions and objects in building 
extensions in C from 2.7 and 3.3?

--
nosy: +adityaatluri
Added file: http://bugs.python.org/file30580/log.txt

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15315
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15315] Can't build Python extension with mingw32 on Windows

2013-06-14 Thread Amaury Forgeot d'Arc

Amaury Forgeot d'Arc added the comment:

Aditya, python3 changed the API to create modules. See issue18210.

--
nosy: +amaury.forgeotdarc

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15315
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15315] Can't build Python extension with mingw32 on Windows

2012-09-11 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


--
dependencies: +Remove -mno-cygwin from distutils
type:  - behavior

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15315
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15315] Can't build Python extension with mingw32 on Windows

2012-07-10 Thread Craig McQueen

Craig McQueen pyt...@craig.mcqueen.id.au added the comment:

That's definitely an improvement. It gets further, but on my PC, the compile 
fails:

...
c:/mingw/bin/../lib/gcc/mingw32/4.5.0/../../../../mingw32/bin/ld.exe: cannot 
find -lmsvcr100
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1

I'll have to see if I can get the required library I guess.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15315
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15315] Can't build Python extension with mingw32 on Windows

2012-07-10 Thread Craig McQueen

Craig McQueen pyt...@craig.mcqueen.id.au added the comment:

I downloaded the latest MinGW, and now it tells me:

...
c:\mingw\bin\gcc.exe -mno-cygwin -mdll -O -Wall -IC:\Python33\include 
-IC:\Python33\PC -c python3/src/_cobs_ext.c -o bui
ld\temp.win32-3.3\Release\python3\src\_cobs_ext.o
cc1.exe: error: unrecognized command line option '-mno-cygwin'
error: command 'gcc' failed with exit status 1

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15315
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15315] Can't build Python extension with mingw32 on Windows

2012-07-10 Thread Craig McQueen

Craig McQueen pyt...@craig.mcqueen.id.au added the comment:

It sounds as though the option '-mno-cygwin' is related to issue #12641.

Does that mean I need to find a version of MinGW that is old enough to support 
the option '-mno-cygwin', but new enough to include a library for msvcr100?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15315
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15315] Can't build Python extension with mingw32 on Windows

2012-07-10 Thread Martin v . Löwis

Martin v. Löwis mar...@v.loewis.de added the comment:

I'm not a Cygwin user myself, so it would be good if you could figure this out 
somehow. Feel free to ask on Cygwin lists how this is supposed to work. Our 
requirement is that the resulting pyd needs to link with msvcr100.dll. It may 
well be that *no* version of Cygwin ever supported this, in which case we 
should drop Cygwin support from Python 3.3.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15315
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15315] Can't build Python extension with mingw32 on Windows

2012-07-10 Thread Craig McQueen

Craig McQueen pyt...@craig.mcqueen.id.au added the comment:

I've succeeded in building an extension for Python 3.3 (at least, on Windows 
XP, 32-bit; haven't tried any 64-bit), by the hack of copying libmsvcr100.a 
from a recent MinGW release (20120426) into an older MinGW release (20101030).

I haven't looked at MinGW releases to see if I can find one that supports both 
the -mno-cygwin option and msvcr100.

I guess the best solution for this is to resolve issue #12641 for Python 3.3.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15315
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15315] Can't build Python extension with mingw32 on Windows

2012-07-09 Thread Craig McQueen

New submission from Craig McQueen pyt...@craig.mcqueen.id.au:

I'm trying this with my 'cobs' Python package:

c:\Python33\python.exe setup.py build --compiler=mingw32 bdist_msi

With Python 3.3 beta, it fails with an exception:

ValueError: Unknown MS Compiler version 1600

It works with Python 3.2.

--
components: Extension Modules
messages: 165159
nosy: cmcqueen1975
priority: normal
severity: normal
status: open
title: Can't build Python extension with mingw32 on Windows
versions: Python 3.3

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15315
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15315] Can't build Python extension with mingw32 on Windows

2012-07-09 Thread Roundup Robot

Roundup Robot devn...@psf.upfronthosting.co.za added the comment:

New changeset eee92b9ac4ad by Martin v. Löwis in branch 'default':
Issue #15315: Support VS 2010 in distutils cygwincompiler.
http://hg.python.org/cpython/rev/eee92b9ac4ad

--
nosy: +python-dev

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15315
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15315] Can't build Python extension with mingw32 on Windows

2012-07-09 Thread Martin v . Löwis

Martin v. Löwis mar...@v.loewis.de added the comment:

This should now be fixed in the repository. It would be good if you could 
manually apply the change to your installation, and report whether it works.

--
nosy: +loewis

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15315
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com