New submission from Dieter Verfaillie <diet...@optionexplicit.be>: 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. ---------- assignee: tarek components: Distutils, Windows messages: 94014 nosy: dieterv, tarek severity: normal status: open title: Extension module build fails for MinGW: missing vcvarsall.bat type: compile error versions: Python 2.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7131> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com