From 29d88e91df2a8abe480721357598628f224418d3 Mon Sep 17 00:00:00 2001 From: swillden <> Date: Fri, 31 Jul 2009 04:48:50 +0000 Subject: [PATCH] [Imported from Trac: page InstallDetails, version 12] --- InstallDetails.md | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/InstallDetails.md b/InstallDetails.md index bb0ead7..10ef77a 100644 --- a/InstallDetails.md +++ b/InstallDetails.md @@ -169,6 +169,8 @@ details. === Windows === +The following procedure will install and run Tahoe on Windows: + 1. Download and install Python 2.6.2 from http://www.python.org/ftp/python/2.6.2/python-2.6.2.msi. 2. Download and install pywin32 from http://sourceforge.net/projects/pywin32/files/pywin32/Build%20214/pywin32-214.win32-py2.6.exe/download. @@ -177,12 +179,27 @@ details. 4. Open a command prompt and cd to the top of the Tahoe tree (e.g. cd \tahoe). -5. Run "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. +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. -6. Run "python setup.py install". Wait a bit until it stops working. Again, you may need a working network connection. +6. Run "C:\Python26\python setup.py install". Wait a bit until it stops working. Again, you may need a working network connection. -7. Run "tahoe create-client --basedir C:\tahoebase". Choose an appropriate base directory. +7. Run "C:\Python26\Scripts\tahoe create-client --basedir C:\tahoebase". Choose an appropriate base directory. 8. Run "notepad C:\tahoebase\tahoe.cfg" to edit your config file. Paste in the FURL of the introducer for the grid you want to connect to. The test grid FURL is pb://todjw7qkb4dgq4fkeo7cqydcu5vneioh@tahoecs2.allmydata.com:52106/introducer. -9. Run "tahoe start --basedir C:\taboebase". 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. \ No newline at end of file +9. Run "C:\Python26\Scripts\tahoe start --basedir C:\taboebase". 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. + +If the build or install steps result in an error that says a compiler is needed, install the MinGW C/C++ compiler as follows: + +1. Download and install MinGW from http://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/MinGW%205.1.4/MinGW-5.1.4.exe/download. The installer will prompt you for what components to install. You need the base components plus g++. + +2. Configure distutils to use MinGW. To configure distutils to use mingw32, create a file called "distutils.cfg" in C:\Python26\Libs\distutils, and put in that file: + +``` +[build] +compiler=mingw32 +``` + +3. Add the MinGW binary path to your Path variable. To do that, go to the control panel (classic view), double-click "System", click on the "Advanced" tab, click on the "Environment Variables" button, scroll down to the "Path" variable in the "System Variables" list, double-click it, and append ";C:\MinGW\bin" to the path. + +After installing the compilers, repeat the "build" and "install" steps. \ No newline at end of file