workaround for #1769 should say C:\Python27\Lib\distutils\cygwinccompiler.py, not C:\Python27\Lib\distutils\cygwincompiler.py

[Imported from Trac: page AdvancedInstall, version 58]
daira 2013-04-26 02:20:48 +00:00
parent 18d7b60646
commit 60f4cc1e40

@ -326,7 +326,7 @@ compiler=mingw32
After installing the compilers, repeat the above instructions from step 4 (using a new command prompt to make sure that the environment variable setting has taken effect).
If you receive "error: Setup script exited with error: command 'gcc' failed with exit status 1" from `python setup.py build`, edit `C:\Python27\Lib\distutils\cygwincompiler.py` to remove all of the `-mno-cygwin` options, then try again (see ticket #1769). Don't do this unless it actually fails the first time round.
If you receive "error: Setup script exited with error: command 'gcc' failed with exit status 1" from `python setup.py build`, edit `C:\Python27\Lib\distutils\cygwinccompiler.py` to remove all of the `-mno-cygwin` options, then try again (see ticket #1769). Don't do this unless it actually fails the first time round.
<a name="point9.4.2"></a>
#### How do I make it run as a Windows service?