#773: run through installation on Windowshttp://allmydata.org/source/tahoe/snapshots/ -----------------------+---------------------------------------------------- Reporter: zooko | Owner: somebody Type: task | Status: new Priority: major | Milestone: 1.5.0 Component: packaging | Version: 1.4.1 Keywords: win32 | Launchpad_bug: -----------------------+----------------------------------------------------
Comment(by swillden): Here's a sequence that works: 1. Install Windows XP, Service Pack 2 (other variations should work, untested) 2. Download and install Python 2.5 from http://www.python.org/download/releases/2.5.4/ 3. Download and install pywin32 from http://sourceforge.net/projects/pywin32/ 4. 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 don't need any of the optional components, just the base. 5. Configure distutils to use MinGW. To configure distutils to use mingw32, create a file called "distutils.cfg" in C:\Python25\Libs\distutils, and put in that file: {{{ [build] compiler=mingw32 }}} 6. 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. While you're at it, might as well append ";C:\Python25;C:\Python25\Scripts" also so that you don't have to type full paths to run python or installed python scripts. 7. Download and install the Visual Studio 2008 redistributables from http://www.microsoft.com/downloads/details.aspx?familyid=9B2DA534-3E03-4391 -8A4D-074B9F2BC1BF&displaylang=en. This is needed for OpenSSL. 8. Download and install OpenSSL v.9.8k Light from http://www.slproweb.com/products/Win32OpenSSL.html. 9. Download the latest Tahoe snapshot from http://allmydata.org/source/tahoe/snapshots/. Unpack it. I put it in C:\tahoe 10. Open a command prompt and cd to the top of the Tahoe tree (e.g. cd \tahoe). 11. 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. 12. Run "python setup.py install". Wait a bit until it stops working. Again, you may need a working network connection. 13. Run "tahoe create-client --basedir C:\tahoebase". You can pick a different base directory if you want. 14. Run "notepad C:\tahoebase\tahoe.cfg" to edit your config file. Paste in your introducer FURL. 15. 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. Easy peasy! ;-) Actually, all of the MinGW steps (steps 4-6) could be omitted if win32 eggs were available for all dependencies. I think zfec being out of date is currently the only issue requiring installing a compiler. -- Ticket URL: <http://allmydata.org/trac/tahoe/ticket/773#comment:4> tahoe-lafs <http://allmydata.org> secure decentralized file storage grid _______________________________________________ tahoe-dev mailing list [email protected] http://allmydata.org/cgi-bin/mailman/listinfo/tahoe-dev
