Changes between Version 55 and Version 57 of AdvancedInstall


Ignore:
Timestamp:
(multiple changes)
Author:
(multiple changes)
Comment:
(multiple changes)

Legend:

Unmodified
Added
Removed
Modified
  • AdvancedInstall

    v55 v57  
    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]
     
    3183182. Early versions of 5.1.x of MinGW had a bug in the bundled Gnu assembler. If typing "{{{as --version}}}" at the command line gives "{{{GNU assembler (GNU Binutils) 2.20}}}", then you have an affected version. To fix this, download an upgrade to a newer version of MinGW which has {{{GNU assembler (GNU Binutils) 2.20.51.20100613}}} or later.
    319319
    320 3. Configure distutils to use MinGW. If you have another C/C++ compiler installed, such as the cygwin one, distutils may default to using it instead of the mingw one. To configure distutils to use mingw32, create a file called [http://tahoe-lafs.org/trac/tahoe-lafs/raw-attachment/wiki/AdvancedInstall/distutils.cfg distutils.cfg] in {{{C:\Python26\lib\distutils}}}, and put in that file (you may also need to use the script from [http://mail.python.org/pipermail/python-dev/2004-January/041676.html this email] in order to "register" the mingw compiler):
     3203. Configure distutils to use MinGW. If you have another C/C++ compiler installed, such as the cygwin one, distutils may default to using it instead of the mingw one. To configure distutils to use mingw32, create a file called [http://tahoe-lafs.org/trac/tahoe-lafs/raw-attachment/wiki/AdvancedInstall/distutils.cfg distutils.cfg] in {{{C:\Python27\lib\distutils}}}, and put in that file (you may also need to use the script from [http://mail.python.org/pipermail/python-dev/2004-January/041676.html this email] in order to "register" the mingw compiler):
    321321
    322322{{{
     
    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? ====