Changes between Version 55 and Version 56 of AdvancedInstall


Ignore:
Timestamp:
2012-07-22T21:16:08Z (12 years ago)
Author:
davidsarah
Comment:

change Windows section to use Python 2.7, and compiler-based install to include workaround for #1769

Legend:

Unmodified
Added
Removed
Modified
  • AdvancedInstall

    v55 v56  
    291291
    292292The 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.)
    293 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:
    294 
    295 1. Download and install Python 2.6.6 from http://www.python.org/ftp/python/2.6.6/python-2.6.6.msi (or for 64-bit Windows, http://www.python.org/ftp/python/2.6.6/python-2.6.6.amd64.msi ).
     293Note 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:
     294
     2951. Download and install Python 2.7.3 (the x86 or x86-64 MSI installer link) from http://www.python.org/getit/releases/2.7.3/ .
    296296
    2972972. Download the latest Tahoe-LAFS release from http://tahoe-lafs.org/source/tahoe-lafs/releases/. Unpack it in a convenient place, such as C:\tahoe-lafs.
     
    2992993. Open a command prompt and cd to the top of the Tahoe-LAFS tree (e.g. {{{cd \tahoe-lafs}}}).
    300300
    301 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.
     3014. 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.
    302302
    3033035. Run "{{{C:\tahoe-lafs\bin\tahoe create-client C:\tahoelafsbase}}}".  Choose an appropriate base directory.
     
    3073077. 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.
    308308
    309 {{{C:\Python26\python setup.py install}}} can also optionally be used as on other platforms.
     309{{{C:\Python27\python setup.py install}}} can also optionally be used as on other platforms.
    310310
    311311[=#point9.4.1]
     
    329329After 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).
    330330
     331If 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.
     332
    331333[=#point9.4.2]
    332334==== How do I make it run as a Windows service? ====