| 1 | | == Content == |
| 2 | | |
| 3 | | '''Building darcs trunk'''[[BR]] |
| 4 | | '''Building from a tarball'''[[BR]] |
| 5 | | '''Running as different user'''[[BR]] |
| 6 | | |
| 7 | | |
| 8 | | == Building darcs trunk == |
| 9 | | |
| 10 | | 0. Install Darcs (http://wiki.darcs.net/DarcsWiki/Binaries, "Windows without Cygwin") |
| 11 | | |
| 12 | | 1. Add the darcs directory to the search path (see below) |
| 13 | | |
| 14 | | 2. Follow the steps in "Building from a tarball" |
| 15 | | |
| 16 | | == Building from a tarball == |
| 17 | | |
| 18 | | 0. Get Python 2.5 (http://python.org/download/releases/2.5.4/) |
| 19 | | |
| 20 | | 1. Add the Python to the search path (rough translation from German Windows 2000): |
| 21 | | Start -> Settings -> System control -> System -> Enhanced -> Environment variables -> System variables: add ";C:\Python25;C:\Python25\Scripts" to the "Path" entry |
| 22 | | |
| 23 | | 3. Install win32api for Python 2.5 (http://sourceforge.net/project/showfiles.php?group_id=78018) |
| 24 | | Note: Build 213 does not work on Windows 2000, Build 212 does. |
| 25 | | |
| 26 | | 7. Open the command line interpreter (cmd/command) |
| 27 | | |
| 28 | | 8. Get Tahoe from Darcs: |
| 29 | | darcs get --lazy http://allmydata.org/source/tahoe/trunk-hashedformat tahoe |
| 30 | | |
| 31 | | 9. cd to tahoe and build Tahoe: |
| 32 | | python setup.py build |
| 33 | | |
| 34 | | 10. Optional: run testcases: |
| 35 | | python setup.py test |
| 36 | | |
| 37 | | Summary on 2009-23-02 on Windows 2000: |
| 38 | | {{{ |
| 39 | | Ran 558 tests in 1281.032s |
| 40 | | |
| 41 | | FAILED (skips=8, expectedFailures=4, errors=1, unexpectedSuccesses=6, successes= |
| 42 | | 539) |
| 43 | | }}} |
| 44 | | |
| 45 | | == Running as different user == |
| 46 | | |
| 47 | | 0. Create the new user account |
| 48 | | |
| 49 | | 1. Run tahoe through "runas": |
| 50 | | {{{ |
| 51 | | runas /user:Computer\Tahoeuser "bin\tahoe.exe start C:\tahoe-basedir" |
| 52 | | }}} |
| 53 | | |
| 54 | | 2. Adjust file system permissions as needed and possible (Home Editions of Windows lack user interfaces to modify permissions) |
| | 1 | See quickstart.html. For advanced, optional installation features see the Windows section of AdvancedInstall. |