bb-freeze
[Imported from Trac: page AdvancedInstall, version 31]
parent
c12cfceb0c
commit
665902d891
|
@ -198,53 +198,60 @@ but it will not include any code from them. The allmydata.org APT repository
|
||||||
(see DownloadDebianPackages for details) has packages for the dependencies
|
(see DownloadDebianPackages for details) has packages for the dependencies
|
||||||
that aren't already in Debian proper.
|
that aren't already in Debian proper.
|
||||||
|
|
||||||
The "`make windows-exe`" and "`make windows-installer`" commands will
|
It is also possible to create a binary distribution using [http://pypi.python.org/pypi/bbfreeze bb-freeze].
|
||||||
create a windows executable, and the corresponding installer.
|
Install bb-freeze, then in the root of a Tahoe source tree with full path
|
||||||
|
`<tahoedir>`, do:
|
||||||
|
```
|
||||||
|
python setup.py build
|
||||||
|
set PYTHONPATH=<tahoedir>\support\Lib\site-packages;<tahoedir>\src
|
||||||
|
bb-freeze static\tahoe.py
|
||||||
|
```
|
||||||
|
|
||||||
The "`make mac-exe`" and "`make mac-dist`" commands will create a
|
This will create a `dist` directory containing the bb-frozen distribution.
|
||||||
Macintosh OS-X executable and the corresponding installer (.dmg) file.
|
The [bbfreeze-users](https://groups.google.com/group/bbfreeze-users) Google
|
||||||
|
group may be able to help with general questions about bb-freeze.
|
||||||
|
|
||||||
[=#point8]
|
<a name="point8"></a>
|
||||||
== Platform-specific Notes ==
|
## Platform-specific Notes
|
||||||
|
|
||||||
[=#point8.1]
|
<a name="point8.1"></a>
|
||||||
=== !Debian/Ubuntu ===
|
### !Debian/Ubuntu
|
||||||
|
|
||||||
Tahoe-LAFS is primarily developed on !Debian/Ubuntu machines. You can either build
|
Tahoe-LAFS is primarily developed on !Debian/Ubuntu machines. You can either build
|
||||||
from source (as described by this page), or download pre-compiled debian
|
from source (as described by this page), or download pre-compiled debian
|
||||||
packages for several distributions. See the DownloadDebianPackages page for
|
packages for several distributions. See the [DownloadDebianPackages](DownloadDebianPackages) page for
|
||||||
details.
|
details.
|
||||||
|
|
||||||
[=#point8.2]
|
<a name="point8.2"></a>
|
||||||
=== CentOS 5.4 ===
|
### CentOS 5.4
|
||||||
|
|
||||||
For installing in CentOS 5.4 you need this list of package:
|
For installing in CentOS 5.4 you need this list of package:
|
||||||
|
|
||||||
yum install gcc python-devel sqlite-devel gcc-c++ openssl-devel
|
yum install gcc python-devel sqlite-devel gcc-c++ openssl-devel
|
||||||
|
|
||||||
[=#point8.2.1]
|
<a name="point8.2.1"></a>
|
||||||
|
|
||||||
<h4>Dependencies</h4>
|
<h4>Dependencies</h4>
|
||||||
|
|
||||||
cpp glibc-devel glibc-headers kernel-headers libgomp libstdc++-devel e2fsprogs-devel keyutils-libs-devel krb5-devel libselinux-devel libsepol-devel zlib-devel
|
cpp glibc-devel glibc-headers kernel-headers libgomp libstdc++-devel e2fsprogs-devel keyutils-libs-devel krb5-devel libselinux-devel libsepol-devel zlib-devel
|
||||||
|
|
||||||
[=#point8.3]
|
<a name="point8.3"></a>
|
||||||
=== MacOS ===
|
### MacOS
|
||||||
|
|
||||||
You will need the standard Xcode development tools installed, or at least GCC in order to build some dependencies.[[BR]]
|
You will need the standard Xcode development tools installed, or at least GCC in order to build some dependencies.<br>
|
||||||
Note that Xcode is quite large (2.5GB) so plan accordingly if you will need to download it.
|
Note that Xcode is quite large (2.5GB) so plan accordingly if you will need to download it.
|
||||||
|
|
||||||
[=#point8.4]
|
<a name="point8.4"></a>
|
||||||
=== Windows ===
|
### Windows
|
||||||
|
|
||||||
The following procedure will build and run Tahoe-LAFS on Windows. (This is basically exactly the [http://tahoe-lafs.org/source/tahoe-lafs/trunk/docs/quickstart.html docs/quickstart.html] procedure except with Windows-specific paths spelled out.)
|
The following procedure will build and run Tahoe-LAFS on Windows. (This is basically exactly the [docs/quickstart.html](http://tahoe-lafs.org/source/tahoe-lafs/trunk/docs/quickstart.html) procedure except with Windows-specific paths spelled out.)
|
||||||
Note that this assumes that you install Python in the default location (C:\Python26), if you choose another location you'll need to adjust the instructions below:
|
Note that this assumes that you install Python in the default location (C:\Python26), if you choose another location you'll need to adjust the instructions below:
|
||||||
|
|
||||||
1. Download and install Python 2.6.5 from http://www.python.org/ftp/python/2.6.5/python-2.6.5.msi.
|
1. Download and install Python 2.6.5 from <http://www.python.org/ftp/python/2.6.5/python-2.6.5.msi>.
|
||||||
|
|
||||||
2. Download and install pywin32 from http://sourceforge.net/projects/pywin32/files/pywin32/Build%20214/pywin32-214.win32-py2.6.exe/download.
|
2. Download and install pywin32 from <http://sourceforge.net/projects/pywin32/files/pywin32/Build%20214/pywin32-214.win32-py2.6.exe/download>.
|
||||||
|
|
||||||
3. Download the latest Tahoe-LAFS release from http://tahoe-lafs.org/source/tahoe-lafs/releases/. Unpack it in a convenient place, such as C:\tahoe-lafs.
|
3. Download the latest Tahoe-LAFS release from <http://tahoe-lafs.org/source/tahoe-lafs/releases/>. Unpack it in a convenient place, such as C:\tahoe-lafs.
|
||||||
|
|
||||||
4. Open a command prompt and cd to the top of the Tahoe-LAFS tree (e.g. `cd \tahoe-lafs`).
|
4. Open a command prompt and cd to the top of the Tahoe-LAFS tree (e.g. `cd \tahoe-lafs`).
|
||||||
|
|
||||||
|
@ -252,7 +259,7 @@ Note that this assumes that you install Python in the default location (C:\Pytho
|
||||||
|
|
||||||
6. Run "`C:\Python26\Scripts\tahoe create-client --basedir C:\tahoelafsbase`". Choose an appropriate base directory.
|
6. Run "`C:\Python26\Scripts\tahoe create-client --basedir C:\tahoelafsbase`". Choose an appropriate base directory.
|
||||||
|
|
||||||
7. Run "`notepad C:\tahoelafsbase\tahoe.cfg`" to edit your config file. After "`introducer.furl = `", paste in the FURL of the introducer for the grid you want to connect to. See [wiki:TestGrid TestGrid] to get the FURL of the introducer for the testgrid.
|
7. Run "`notepad C:\tahoelafsbase\tahoe.cfg`" to edit your config file. After "`introducer.furl = `", paste in the FURL of the introducer for the grid you want to connect to. See [TestGrid](TestGrid) to get the FURL of the introducer for the testgrid.
|
||||||
|
|
||||||
8. Run "`C:\Python26\Scripts\tahoe start --basedir C:\tahoelafsbase`". 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.
|
8. Run "`C:\Python26\Scripts\tahoe start --basedir C:\tahoelafsbase`". 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.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue