diff --git a/AdvancedInstall.md b/AdvancedInstall.md index 1feebff..148b681 100644 --- a/AdvancedInstall.md +++ b/AdvancedInstall.md @@ -288,15 +288,15 @@ Note that Xcode is quite large (2.5GB) so plan accordingly if you will need to d ### Windows The following procedure will build and run Tahoe-LAFS on Windows. (This is basically source:docs/quickstart.rst and part of source:docs/running.rst with Windows-specific paths spelled out.) -Note that this assumes that you install Python in the default location (C:\Python26 for Python 2.6.x), if you choose another location you'll need to adjust the instructions below: +Note that this assumes that you install Python in the default location (C:\Python27 for Python 2.7.x), if you choose another location you'll need to adjust the instructions below: -1. Download and install Python 2.6.6 from (or for 64-bit Windows, ). +1. Download and install Python 2.7.3 (the x86 or x86-64 MSI installer link) from . 2. Download the latest Tahoe-LAFS release from . Unpack it in a convenient place, such as C:\tahoe-lafs. 3. Open a command prompt and cd to the top of the Tahoe-LAFS tree (e.g. `cd \tahoe-lafs`). -4. Run "`C:\Python26\python setup.py build`". Wait a bit until it stops working. Note that you need a working network connection because it will download various dependencies. Ignore any warnings. +4. Run "`C:\Python27\python setup.py build`". Wait a bit until it stops working. Note that you need a working network connection because it will download various dependencies. Ignore any warnings. 5. Run "`C:\tahoe-lafs\bin\tahoe create-client C:\tahoelafsbase`". Choose an appropriate base directory. @@ -304,7 +304,7 @@ Note that this assumes that you install Python in the default location (C:\Pytho 7. Run "`C:\tahoe-lafs\bin\tahoe start C:\tahoelafsbase`". Your node will start running and connect to the grid. The Windows firewall may ask whether or not to allow Python to make network connections. Say yes. -`C:\Python26\python setup.py install` can also optionally be used as on other platforms. +`C:\Python27\python setup.py install` can also optionally be used as on other platforms. [=#point9.4.1] ==== What if that doesn't work? ==== @@ -326,6 +326,8 @@ 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. + #### How do I make it run as a Windows service?