Changes between Version 55 and Version 57 of AdvancedInstall
- Timestamp:
- (multiple changes)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TabularUnified AdvancedInstall
v55 v57 291 291 292 292 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.) 293 Note that this assumes that you install Python in the default location (C:\Python2 6 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 ).293 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: 294 295 1. 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/ . 296 296 297 297 2. 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. … … 299 299 3. Open a command prompt and cd to the top of the Tahoe-LAFS tree (e.g. {{{cd \tahoe-lafs}}}). 300 300 301 4. Run "{{{C:\Python2 6\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.301 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. 302 302 303 303 5. Run "{{{C:\tahoe-lafs\bin\tahoe create-client C:\tahoelafsbase}}}". Choose an appropriate base directory. … … 307 307 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. 308 308 309 {{{C:\Python2 6\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. 310 310 311 311 [=#point9.4.1] … … 318 318 2. 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. 319 319 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:\Python2 6\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):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:\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): 321 321 322 322 {{{ … … 329 329 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). 330 330 331 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. 332 331 333 [=#point9.4.2] 332 334 ==== How do I make it run as a Windows service? ====