2007-10-15 16:08:41 +00:00
|
|
|
BUILDING ALLMYDATA.ORG TAHOE ON WINDOWS
|
|
|
|
|
|
|
|
There are three ways to do it:
|
|
|
|
|
2007-12-12 00:25:58 +00:00
|
|
|
OPTION 1: ALL CYGWIN ALL THE TIME
|
2007-10-15 16:08:41 +00:00
|
|
|
|
|
|
|
If you are building on Windows, then the easy way is to install cygwin and
|
|
|
|
use cygwin version of Python and the cygwin versions of all dependencies
|
|
|
|
(which will happen naturally if you follow the main README file -- note that
|
|
|
|
you cannot use Windows-native versions of any of the dependencies -- they all
|
|
|
|
have to be cygwin versions). So if you are taking this approach then you
|
|
|
|
don't need to read the rest of this README.win32 file at all.
|
|
|
|
|
2007-12-12 00:25:58 +00:00
|
|
|
OPTION 2: CYGWIN TOOLS TO BUILD WINDOWS-NATIVE LIBRARIES
|
2007-10-15 16:08:41 +00:00
|
|
|
|
|
|
|
The second-easiest way is to install cygwin and use cygwin development tools
|
|
|
|
such as bash, GNU make, gcc, etc., but install the Windows-native version of
|
|
|
|
Python and the Windows-native versions of all of the dependencies. If you
|
|
|
|
create a distutils config file (as per
|
|
|
|
http://docs.python.org/inst/config-syntax.html ) and put "compiler=mingw32"
|
|
|
|
in it, then you can follow the rest of the main README file and the
|
|
|
|
dependencies will all be automatically built (by the cygwin gcc compiler) as
|
|
|
|
Windows-native libraries. This README.win32 file contains some extra notes
|
|
|
|
about how to take this approach.
|
|
|
|
|
2007-12-12 00:25:58 +00:00
|
|
|
OPTION 3: OTHER BUILD TOOLS
|
2007-10-15 16:08:41 +00:00
|
|
|
|
|
|
|
The third-easiest way is to use a Microsoft compiler or some other compiler.
|
2007-12-12 00:26:10 +00:00
|
|
|
Our README files do not currently explain how to do that. You are on your own
|
|
|
|
for now, but please feel free to contribute a document which explains how to
|
|
|
|
build all these dependencies using your favorite compiler.XXX MikeB: the
|
|
|
|
previous paragraph is false -- please fix it! --Zooko
|
2007-10-15 16:08:41 +00:00
|
|
|
|
|
|
|
|
2007-12-12 00:25:58 +00:00
|
|
|
Okay, here are some notes about following "OPTION 1: CYGWIN TOOLS TO BUILD
|
2007-10-15 16:08:41 +00:00
|
|
|
WINDOWS-NATIVE LIBRARIES" approach:
|
|
|
|
|
|
|
|
|
|
|
|
EXTRA MANUAL DEPENDENCIES
|
|
|
|
|
|
|
|
In addition to the dependencies listed in the main README file, you also need
|
|
|
|
the following:
|
|
|
|
|
|
|
|
+ the pywin32 package (210 or later)
|
|
|
|
|
|
|
|
http://sourceforge.net/projects/pywin32/
|
|
|
|
|
|
|
|
|
|
|
|
NOTES ABOUT BUILDING OPENSSL
|
|
|
|
|
|
|
|
In order to compile the tahoe source you need to have libeay32.dll version
|
2007-10-19 18:02:41 +00:00
|
|
|
0.9.8.5 and ssleay32.dll version 0.9.8.5 or newer installed. If you find that
|
|
|
|
you have the wrong version of either of these dlls, you can download and
|
|
|
|
compile openssl from http://openssl.org.
|
|
|
|
|
|
|
|
You will need to have perl installed to compile openssl. One place where you
|
|
|
|
can find a version of perl is http://www.activestate.com/products/activeperl.
|
|
|
|
|
|
|
|
If you want to compile openssl using Visual Studio, you may find adding your
|
|
|
|
Visual Studio bin, include and lib directories to your %PATH% environment
|
|
|
|
variable helpful. For example, if you're compiling with VS2005:
|
|
|
|
|
|
|
|
"C:\Program Files\Microsoft Visual Studio\VC98\Bin;C:\Program Files\
|
|
|
|
Microsoft Visual Studio 8\VC\include;C:\Program Files\Microsoft Visual
|
|
|
|
Studio 8\VC\PlatformSDK\Include;C:\Program Files\Microsoft Visual Studio
|
|
|
|
8\VC\lib;C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\Lib"
|
2007-10-15 16:08:41 +00:00
|
|
|
|
|
|
|
|
|
|
|
NOTES ABOUT INSTALLING PYOPENSSL
|
|
|
|
|
|
|
|
To install PyOpenSSL on Windows-native, download this:
|
|
|
|
|
|
|
|
http://allmydata.org/source/pyOpenSSL-0.6.win32-py2.5.exe
|
|
|
|
|
|
|
|
or for Python 2.4, this:
|
|
|
|
|
|
|
|
http://allmydata.org/source/pyOpenSSL-0.6.win32-py2.4.exe
|