Author dieterv
Recipients dieterv, tarek
Date 2009-10-14.19:18:41
SpamBayes Score 5.859e-05
Marked as misclassified No
Message-id <1255547923.17.0.905503258872.issue7131@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2009-10-14 19:18:43dietervsetrecipients: + dieterv, tarek
2009-10-14 19:18:43dietervsetmessageid: <1255547923.17.0.905503258872.issue7131@psf.upfronthosting.co.za>
2009-10-14 19:18:42dietervlinkissue7131 messages
2009-10-14 19:18:41dietervcreate