Changes between Version 37 and Version 38 of AdvancedInstall


Ignore:
Timestamp:
2011-01-29T21:01:00Z (11 years ago)
Author:
davidsarah
Comment:

update Windows section

Legend:

Unmodified
Added
Removed
Modified
  • AdvancedInstall

    v37 v38  
    44#!html
    55<a href=#point1>1. Additional Build/Install Documentation</a><br>
    6 <a href=#point2>2 Packaged By The Operating System</a><br>
     6<a href=#point2>2. Packaged By The Operating System</a><br>
    77<a href=#point3>3. Dependencies</a><br>
    88<a href=#point4>4. Overview</a><br>
     
    280280=== Windows ===
    281281
    282 The following procedure will build and run Tahoe-LAFS on Windows. (This is basically exactly the [http://tahoe-lafs.org/source/tahoe-lafs/trunk/docs/quickstart.html docs/quickstart.html] procedure except with Windows-specific paths spelled out.)
     282The following procedure will build and run Tahoe-LAFS on Windows. (This is basically [source:docs/quickstart.html] and part of [source:docs/running.html] with Windows-specific paths spelled out.)
    283283Note that this assumes that you install Python in the default location (C:\Python26), if you choose another location you'll need to adjust the instructions below:
    284284
    285 1. Download and install Python 2.6.5 from http://www.python.org/ftp/python/2.6.5/python-2.6.5.msi.
    286 
    287 2. Download and install pywin32 from http://sourceforge.net/projects/pywin32/files/pywin32/Build%20214/pywin32-214.win32-py2.6.exe/download.
    288 
    289 3. 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.
    290 
    291 4. Open a command prompt and cd to the top of the Tahoe-LAFS tree (e.g. {{{cd \tahoe-lafs}}}).
    292 
    293 5. 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.
    294 
    295 6. Run "{{{C:\Python26\Scripts\tahoe create-client --basedir C:\tahoelafsbase}}}".  Choose an appropriate base directory.
    296 
    297 7. Run "{{{notepad C:\tahoelafsbase\tahoe.cfg}}}" to edit your config file. After "{{{introducer.furl = }}}", paste in the FURL of the introducer for the grid you want to connect to.  See [wiki:TestGrid TestGrid] to get the FURL of the introducer for the testgrid.
    298 
    299 8. Run "{{{C:\Python26\Scripts\tahoe start --basedir 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.
     2851. 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 ).
     286
     2872. 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.
     288
     2893. Open a command prompt and cd to the top of the Tahoe-LAFS tree (e.g. {{{cd \tahoe-lafs}}}).
     290
     2914. 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.
     292
     2935. Run "{{{C:\tahoe-lafs\bin\tahoe create-client C:\tahoelafsbase}}}".  Choose an appropriate base directory.
     294
     2956. Run "{{{notepad C:\tahoelafsbase\tahoe.cfg}}}" to edit your config file. After "{{{introducer.furl = }}}", paste in the FURL of the introducer for the grid you want to connect to.  See [wiki:TestGrid TestGrid] to get the FURL of the introducer for the testgrid.
     296
     2977. 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.
    300298
    301299{{{C:\Python26\python setup.py install}}} can also optionally be used as on other platforms.
     
    304302==== What if that doesn't work? ====
    305303
    306 If the build or install steps result in an error that says a compiler is needed, install the MinGW C/C++ compiler as follows:
     304The 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, 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):
    307305
    3083061. 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++.
     
    317315}}}
    318316
    319 4. Add the MinGW binary path to your Path variable. To do that, go to the control panel (classic view), and double-click "System". Click on the "Advanced" tab (for Vista, click the "Advanced system settings" link on the left and accept the elevation prompt), then click the "Environment Variables" button. Scroll down to the "Path" variable in the "System Variables" list, double-click it, append "{{{;C:\MinGW\bin}}}" to the path, and "OK" out of all the dialogs.  If you installed MinGW in some place other than {{{C:\MinGW}}}, adjust the path appropriately.
     3174. Add the MinGW binary path to your PATH variable. To do that, go to the control panel (classic view), and double-click "System". Click on the "Advanced" tab (for Vista or later, click the "Advanced system settings" link on the left and accept the elevation prompt), then click the "Environment Variables" button. Scroll down to the "Path" variable in the "System Variables" list, double-click it, append "{{{;C:\MinGW\bin}}}" to the path, and "OK" out of all the dialogs.  If you installed MinGW in some place other than {{{C:\MinGW}}}, adjust the path appropriately.
    320318
    321319After 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).