document compiler dependency; also, Python 2.6 is no longer supported for Windows

[Imported from Trac: page AdvancedInstall, version 59]
daira 2013-06-15 13:48:49 +00:00
parent aa9269357c
commit 4e5c0e83d6

@ -73,8 +73,10 @@ itself is pure-python and therefore does not require a distinct compile step,
the mechanics that make it easy to run-in-place do require a setup phase. In the mechanics that make it easy to run-in-place do require a setup phase. In
addition, Tahoe-LAFS uses several third-party python libraries to work its magic, addition, Tahoe-LAFS uses several third-party python libraries to work its magic,
many of which are unlikely to be just "lying around" and already installed. many of which are unlikely to be just "lying around" and already installed.
Several of these use compiled C code, so they **do** require a compile Several of these use compiled C code; they **do** require a compile step, but
step. only where precompiled "egg" distributions are not available for your platform.
Compiling these requires a working C compiler (probably gcc on Unix platforms)
to be installed.
`python setup.py build` will download and build any third-party libraries that `python setup.py build` will download and build any third-party libraries that
are not already available on your system. It will also prepare the source are not already available on your system. It will also prepare the source
@ -309,7 +311,7 @@ Note that this assumes that you install Python in the default location (C:\Pytho
[=#point9.4.1] [=#point9.4.1]
==== What if that doesn't work? ==== ==== What if that doesn't work? ====
The build or install steps could result in an error that says a compiler is needed. If this happens and you are using Python 2.6 or Python 2.7, it is a packaging bug that should be reported to the tahoe-dev list. If you are using a different version of Python or want to compile the C/C++ components yourself, install the MinGW C/C++ compiler as follows (this only works for 32-bit Windows): The build or install steps could result in an error that says a compiler is needed. If this happens and you are using Python 2.7, it is a packaging bug that should be reported to the tahoe-dev list. If you are using a different version of Python or want to compile the C/C++ components yourself, install the MinGW C/C++ compiler as follows (this only works for 32-bit Windows):
1. Download and install MinGW from http://sourceforge.net/projects/mingw/files/ (the main installer linked from the big green download button). The installer will prompt you for what components to install. You need the base components plus g++. 1. Download and install MinGW from http://sourceforge.net/projects/mingw/files/ (the main installer linked from the big green download button). The installer will prompt you for what components to install. You need the base components plus g++.