#773: run through installation on Windows -----------------------+---------------------------------------------------- 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): And this works with 2.6: 1. Install Windows XP, Service Pack 2 (other variations should work, untested) 2. Download and install Python 2.6.2 from http://www.python.org/ftp/python/2.6.2/python-2.6.2.msi 3. Download and install pywin32 from http://sourceforge.net/projects/pywin32/files/pywin32/Build%20214/pywin32-214.win32-py2.6.exe/download 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 need the base components plus the C++ compiler 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 the latest Tahoe snapshot from http://allmydata.org/source/tahoe/snapshots/. Unpack it. I put it in C:\tahoe 8. Open a command prompt and cd to the top of the Tahoe tree (e.g. cd \tahoe). 9. 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. 10. Run "python setup.py install". Wait a bit until it stops working. Again, you may need a working network connection. 11. Run "tahoe create-client --basedir C:\tahoebase". You can pick a different base directory if you want. 12. Run "notepad C:\tahoebase\tahoe.cfg" to edit your config file. Paste in your introducer FURL. 13. 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. Actually, all of the MinGW steps (steps 4-6) could be omitted if win32 eggs were available for all dependencies. I think zfec and pycryptopp being out of date are currently the only issues requiring installing a compiler. -- Ticket URL: <http://allmydata.org/trac/tahoe/ticket/773#comment:5> tahoe-lafs <http://allmydata.org> secure decentralized file storage grid _______________________________________________ tahoe-dev mailing list tahoe-dev@allmydata.org http://allmydata.org/cgi-bin/mailman/listinfo/tahoe-dev