122 | | building Tahoe on a debian-based system. |
| 122 | building Tahoe on a debian-based system. The following text is a copy of |
| 123 | source:docs/debian.txt . |
| 124 | |
| 125 | The Tahoe build process will download and install many of its dependencies |
| 126 | when you run {{{make}}} or {{{setup.py build}}}. The base set of |
| 127 | functionality that it cannot build on its own are provided by the following |
| 128 | debian packages, so you must have these installed before you will be able to |
| 129 | do much of anything. (note that the authoritative list of packages is in the |
| 130 | "{{{Build-Depends:}}}" clause of |
| 131 | [source:misc/sid/debian/control misc/sid/debian/control]): |
| 132 | |
| 133 | * build-essential (this includes gcc, g++, make, and the headers in libc-dev) |
| 134 | * debhelper |
| 135 | * cdbs |
| 136 | * python-central |
| 137 | * python-setuptools |
| 138 | * python |
| 139 | * python-dev |
| 140 | |
| 141 | In addition, to use the "{{{make deb-PLATFORM-head}}}" target, you will also |
| 142 | need the "debchange" utility from the "devscripts" package, and the |
| 143 | "fakeroot" package. |
| 144 | |
| 145 | To actually run a Tahoe node from a debian package, you will need the following |
| 146 | supporting libraries installed. (again, the authoritative list of packages |
| 147 | is in the {{{Depends:}}} clause of |
| 148 | [source:misc/sid/debian/control misc/sid/debian/control]) |
| 149 | |
| 150 | * python-twisted-core |
| 151 | * python-twisted-names |
| 152 | * python-foolscap |
| 153 | * python-pyopenssl |
| 154 | * python-nevow |
| 155 | * python-simplejson |
| 156 | * python-zfec |
| 157 | * python-pycryptopp |
| 158 | |
| 159 | Even if you don't intend to create a Tahoe .deb package, you can install the |
| 160 | supporting libraries from debian packages to reduce the build-time |
| 161 | download-and-compile work. The Tahoe build process will use any pre-installed |
| 162 | libraries it can find, and will download+build everything else. |