This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Extension module build fails for MinGW: missing vcvarsall.bat
Type: compile error Stage:
Components: Distutils, Windows Versions: Python 2.6
process
Status: closed Resolution: duplicate
Dependencies: Superseder:
Assigned To: tarek Nosy List: dieterv, tarek
Priority: normal Keywords:

Created on 2009-10-14 19:18 by dieterv, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg94014 - (view) Author: Dieter Verfaillie (dieterv) Date: 2009-10-14 19:18
Using Python 2.6.3 on Windows XP, distutils fails building an extension
module when mingw32 is specified as the compiler. Distutils fails with
the error message "Unable to find vcvarsall.bat".

Looking back in the subversion history for the distutils build_ext
command
(http://svn.python.org/view/python/tags/r263/Lib/distutils/command/build_ext.py?view=log)
I've found that line 306 has been changed in revision 72594 to read:
    self.compiler = new_compiler(compiler=None,

reverting back to revision 72586, so the code reads:
    self.compiler = new_compiler(compiler=self.compiler,

seems to fix the problem.
msg94521 - (view) Author: Tarek Ziadé (tarek) * (Python committer) Date: 2009-10-26 22:10
Thanks for the feedback, this was detected as a regression and fixed in
the upcoming 2.6.4
History
Date User Action Args
2022-04-11 14:56:53adminsetgithub: 51380
2009-10-26 22:10:38tareksetstatus: open -> closed
resolution: duplicate
messages: + msg94521
2009-10-14 19:18:42dietervcreate