was out of date

[Imported from Trac: page WindowsBuild, version 7]
davidsarah 2010-09-20 00:40:00 +00:00
parent eeed99499d
commit 49008b6b39

@ -1,54 +1 @@
## Content
**Building darcs trunk**<br>
**Building from a tarball**<br>
**Running as different user**<br>
## Building darcs trunk
0. Install Darcs (<http://wiki.darcs.net/DarcsWiki/Binaries>, "Windows without Cygwin")
1. Add the darcs directory to the search path (see below)
2. Follow the steps in "Building from a tarball"
## Building from a tarball
0. Get Python 2.5 (<http://python.org/download/releases/2.5.4/>)
1. Add the Python to the search path (rough translation from German Windows 2000):
Start -> Settings -> System control -> System -> Enhanced -> Environment variables -> System variables: add ";C:\Python25;C:\Python25\Scripts" to the "Path" entry
3. Install win32api for Python 2.5 (<http://sourceforge.net/project/showfiles.php?group_id=78018>)
Note: Build 213 does not work on Windows 2000, Build 212 does.
7. Open the command line interpreter (cmd/command)
8. Get Tahoe from Darcs:
darcs get --lazy <http://allmydata.org/source/tahoe/trunk-hashedformat> tahoe
9. cd to tahoe and build Tahoe:
python setup.py build
10. Optional: run testcases:
python setup.py test
Summary on 2009-23-02 on Windows 2000:
```
Ran 558 tests in 1281.032s
FAILED (skips=8, expectedFailures=4, errors=1, unexpectedSuccesses=6, successes=
539)
```
## Running as different user
0. Create the new user account
1. Run tahoe through "runas":
```
runas /user:Computer\Tahoeuser "bin\tahoe.exe start C:\tahoe-basedir"
```
2. Adjust file system permissions as needed and possible (Home Editions of Windows lack user interfaces to modify permissions)
See quickstart.html. For advanced, optional installation features see the Windows section of [AdvancedInstall](AdvancedInstall).