From: Zooko O'Whielacronx Date: Fri, 14 Sep 2007 01:20:00 +0000 (-0700) Subject: Makefile: add suggestion about how to use the distutils config file to select mingw32... X-Git-Tag: allmydata-tahoe-0.6.0~132 X-Git-Url: https://git.rkrishnan.org/components/%22news.html/...?a=commitdiff_plain;h=75628f98bd4f1edb7e0ee31ca107456c19de13df;p=tahoe-lafs%2Ftahoe-lafs.git Makefile: add suggestion about how to use the distutils config file to select mingw32 compiler --- diff --git a/Makefile b/Makefile index ea7e2a25..0c47ea95 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,19 @@ # this Makefile requires GNU make +# If you get an error message like the following: + +# error: Setup script exited with error: Python was built with version 7.1 of Visual Studio, and extensions need to be built with the same version of the compiler, but it isn't installed. + +# Then that probably means that you aren't using the the right +# compiler. In that case, try creating distutils configuration file +# (as described in http://docs.python.org/inst/config-syntax.html ), +# specifying which compiler to use. For example, if you use either +# the cygwin gcc compiler with mingw support, or the MINGW compiler, +# then you can add the following lines to your .cfg file: +# [build] +# compiler=mingw32 + default: build BASE=$(shell pwd)