[tahoe-dev] Python 2.7 Windows build Re: Announcing Tahoe-LAFS v1.9.2

Paul Grunwald pgrunwald at comcast.net
Sat Jul 14 02:06:44 UTC 2012


G:\allmydata-tahoe-1.9.2>python setup.py clean
running clean

G:\allmydata-tahoe-1.9.2>python setup.py build
running update_version
no version-control data found, leaving _version.py alone
running develop
Not found: tahoe-deps
Not found: ../tahoe-deps
running egg_info
writing requirements to src\allmydata_tahoe.egg-info\requires.txt
writing src\allmydata_tahoe.egg-info\PKG-INFO
writing top-level names to src\allmydata_tahoe.egg-info\top_level.txt
writing dependency_links to src\allmydata_tahoe.egg-info\dependency_links.txt
writing entry points to src\allmydata_tahoe.egg-info\entry_points.txt
package init file 'src\allmydata\web\static\__init__.py' not found (or not a reg
ular file)
reading manifest file 'src\allmydata_tahoe.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*~' found anywhere in distributi
on
writing manifest file 'src\allmydata_tahoe.egg-info\SOURCES.txt'
running build_ext
Processing darcsver-1.7.2.egg
removing 'g:\allmydata-tahoe-1.9.2\support\lib\site-packages\darcsver-1.7.2.egg'
 (and everything under it)
Copying darcsver-1.7.2.egg to g:\allmydata-tahoe-1.9.2\support\lib\site-packages

darcsver 1.7.2 is already the active version in easy-install.pth
Deleting support/Scripts\darcsver
Deleting support/Scripts\darcsver.pyscript
Installing darcsver.pyscript script to support/Scripts
Installing darcsver script to support/Scripts

Installed g:\allmydata-tahoe-1.9.2\support\lib\site-packages\darcsver-1.7.2.egg
Creating g:\allmydata-tahoe-1.9.2\support\lib\site-packages\allmydata-tahoe.egg-
link (link to src)
allmydata-tahoe 1.9.2 is already the active version in easy-install.pth
Deleting support/Scripts\tahoe
Deleting support/Scripts\tahoe.pyscript
Installing tahoe.pyscript script to support/Scripts
Installing tahoe script to support/Scripts

Installed g:\allmydata-tahoe-1.9.2\src
Processing dependencies for allmydata-tahoe==1.9.2
Searching for pycryptopp>=0.5.20
Reading https://tahoe-lafs.org/source/tahoe-lafs/deps/tahoe-dep-sdists/
Reading https://tahoe-lafs.org/source/tahoe-lafs/deps/tahoe-lafs-dep-eggs/
Best match: pycryptopp 0.6.0.1206569328141510525648634803928199668821045408958
Downloading https://tahoe-lafs.org/source/tahoe-lafs/deps/tahoe-dep-sdists/pycry
ptopp-0.6.0.1206569328141510525648634803928199668821045408958.tar.gz
Processing pycryptopp-0.6.0.1206569328141510525648634803928199668821045408958.ta
r.gz
Running pycryptopp-0.6.0.1206569328141510525648634803928199668821045408958\setup
.py -q bdist_egg --dist-dir c:\users\paul\appdata\local\temp\easy_install-ceixqr
\pycryptopp-0.6.0.1206569328141510525648634803928199668821045408958\egg-dist-tmp
-jb6juv

Setting up environment to run scripts for the current user...
Already done: associate the filetype .pyscript with Python.File for the current
user.
Already done: add .pyscript to the user environment variable PATHEXT.
Already done: add .pyw to the user environment variable PATHEXT.
cl : Command line warning D9025 : overriding '/W3' with '/w'
algebra.cpp
G:\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exce
ption handler used, but unwind semantics are not enabled. Specify /EHsc
cl : Command line warning D9025 : overriding '/W3' with '/w'
algparam.cpp
G:\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exce
ption handler used, but unwind semantics are not enabled. Specify /EHsc
cl : Command line warning D9025 : overriding '/W3' with '/w'
asn.cpp
G:\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exce
ption handler used, but unwind semantics are not enabled. Specify /EHsc
cl : Command line warning D9025 : overriding '/W3' with '/w'
basecode.cpp
G:\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exce
ption handler used, but unwind semantics are not enabled. Specify /EHsc
cl : Command line warning D9025 : overriding '/W3' with '/w'
cpu.cpp
G:\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exce
ption handler used, but unwind semantics are not enabled. Specify /EHsc
cl : Command line warning D9025 : overriding '/W3' with '/w'
cryptlib.cpp
G:\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exce
ption handler used, but unwind semantics are not enabled. Specify /EHsc
cl : Command line warning D9025 : overriding '/W3' with '/w'
des.cpp
G:\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exce
ption handler used, but unwind semantics are not enabled. Specify /EHsc
cl : Command line warning D9025 : overriding '/W3' with '/w'
dessp.cpp
G:\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exce
ption handler used, but unwind semantics are not enabled. Specify /EHsc
cl : Command line warning D9025 : overriding '/W3' with '/w'
dll.cpp
G:\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exce
ption handler used, but unwind semantics are not enabled. Specify /EHsc
cl : Command line warning D9025 : overriding '/W3' with '/w'
dsa.cpp
G:\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exce
ption handler used, but unwind semantics are not enabled. Specify /EHsc
cl : Command line warning D9025 : overriding '/W3' with '/w'
ec2n.cpp
G:\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exce
ption handler used, but unwind semantics are not enabled. Specify /EHsc
cl : Command line warning D9025 : overriding '/W3' with '/w'
eccrypto.cpp
G:\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exce
ption handler used, but unwind semantics are not enabled. Specify /EHsc
cl : Command line warning D9025 : overriding '/W3' with '/w'
ecp.cpp
G:\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exce
ption handler used, but unwind semantics are not enabled. Specify /EHsc
cl : Command line warning D9025 : overriding '/W3' with '/w'
eprecomp.cpp
G:\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exce
ption handler used, but unwind semantics are not enabled. Specify /EHsc
cl : Command line warning D9025 : overriding '/W3' with '/w'
filters.cpp
G:\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exce
ption handler used, but unwind semantics are not enabled. Specify /EHsc
cl : Command line warning D9025 : overriding '/W3' with '/w'
fips140.cpp
G:\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exce
ption handler used, but unwind semantics are not enabled. Specify /EHsc
cl : Command line warning D9025 : overriding '/W3' with '/w'
gf2n.cpp
G:\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exce
ption handler used, but unwind semantics are not enabled. Specify /EHsc
cl : Command line warning D9025 : overriding '/W3' with '/w'
gfpcrypt.cpp
G:\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exce
ption handler used, but unwind semantics are not enabled. Specify /EHsc
cl : Command line warning D9025 : overriding '/W3' with '/w'
hex.cpp
G:\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exce
ption handler used, but unwind semantics are not enabled. Specify /EHsc
cl : Command line warning D9025 : overriding '/W3' with '/w'
hmac.cpp
G:\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exce
ption handler used, but unwind semantics are not enabled. Specify /EHsc
cl : Command line warning D9025 : overriding '/W3' with '/w'
integer.cpp
G:\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exce
ption handler used, but unwind semantics are not enabled. Specify /EHsc
cl : Command line warning D9025 : overriding '/W3' with '/w'
iterhash.cpp
G:\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exce
ption handler used, but unwind semantics are not enabled. Specify /EHsc
cl : Command line warning D9025 : overriding '/W3' with '/w'
misc.cpp
G:\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exce
ption handler used, but unwind semantics are not enabled. Specify /EHsc
cl : Command line warning D9025 : overriding '/W3' with '/w'
modes.cpp
G:\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exce
ption handler used, but unwind semantics are not enabled. Specify /EHsc
cl : Command line warning D9025 : overriding '/W3' with '/w'
mqueue.cpp
G:\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exce
ption handler used, but unwind semantics are not enabled. Specify /EHsc
cl : Command line warning D9025 : overriding '/W3' with '/w'
nbtheory.cpp
G:\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exce
ption handler used, but unwind semantics are not enabled. Specify /EHsc
cl : Command line warning D9025 : overriding '/W3' with '/w'
oaep.cpp
G:\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exce
ption handler used, but unwind semantics are not enabled. Specify /EHsc
cl : Command line warning D9025 : overriding '/W3' with '/w'
osrng.cpp
G:\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exce
ption handler used, but unwind semantics are not enabled. Specify /EHsc
cl : Command line warning D9025 : overriding '/W3' with '/w'
pkcspad.cpp
G:\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exce
ption handler used, but unwind semantics are not enabled. Specify /EHsc
cl : Command line warning D9025 : overriding '/W3' with '/w'
pssr.cpp
G:\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exce
ption handler used, but unwind semantics are not enabled. Specify /EHsc
cl : Command line warning D9025 : overriding '/W3' with '/w'
pubkey.cpp
G:\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exce
ption handler used, but unwind semantics are not enabled. Specify /EHsc
cl : Command line warning D9025 : overriding '/W3' with '/w'
queue.cpp
G:\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exce
ption handler used, but unwind semantics are not enabled. Specify /EHsc
cl : Command line warning D9025 : overriding '/W3' with '/w'
randpool.cpp
G:\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exce
ption handler used, but unwind semantics are not enabled. Specify /EHsc
cl : Command line warning D9025 : overriding '/W3' with '/w'
rdtables.cpp
G:\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exce
ption handler used, but unwind semantics are not enabled. Specify /EHsc
cl : Command line warning D9025 : overriding '/W3' with '/w'
rijndael.cpp
G:\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exce
ption handler used, but unwind semantics are not enabled. Specify /EHsc
cl : Command line warning D9025 : overriding '/W3' with '/w'
rng.cpp
G:\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exce
ption handler used, but unwind semantics are not enabled. Specify /EHsc
cl : Command line warning D9025 : overriding '/W3' with '/w'
rsa.cpp
G:\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exce
ption handler used, but unwind semantics are not enabled. Specify /EHsc
cl : Command line warning D9025 : overriding '/W3' with '/w'
salsa.cpp
G:\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exce
ption handler used, but unwind semantics are not enabled. Specify /EHsc
cl : Command line warning D9025 : overriding '/W3' with '/w'
serpent.cpp
G:\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exce
ption handler used, but unwind semantics are not enabled. Specify /EHsc
cl : Command line warning D9025 : overriding '/W3' with '/w'
sha.cpp
G:\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exce
ption handler used, but unwind semantics are not enabled. Specify /EHsc
cl : Command line warning D9025 : overriding '/W3' with '/w'
sosemanuk.cpp
G:\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exce
ption handler used, but unwind semantics are not enabled. Specify /EHsc
cl : Command line warning D9025 : overriding '/W3' with '/w'
strciphr.cpp
G:\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exce
ption handler used, but unwind semantics are not enabled. Specify /EHsc
cl : Command line warning D9025 : overriding '/W3' with '/w'
tiger.cpp
G:\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exce
ption handler used, but unwind semantics are not enabled. Specify /EHsc
cl : Command line warning D9025 : overriding '/W3' with '/w'
tigertab.cpp
G:\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exce
ption handler used, but unwind semantics are not enabled. Specify /EHsc
cl : Command line warning D9025 : overriding '/W3' with '/w'
_pycryptoppmodule.cpp
cl : Command line warning D9025 : overriding '/W3' with '/w'
rsamodule.cpp
G:\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exce
ption handler used, but unwind semantics are not enabled. Specify /EHsc
cl : Command line warning D9025 : overriding '/W3' with '/w'
sha256module.cpp
G:\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exce
ption handler used, but unwind semantics are not enabled. Specify /EHsc
cl : Command line warning D9025 : overriding '/W3' with '/w'
aesmodule.cpp
G:\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exce
ption handler used, but unwind semantics are not enabled. Specify /EHsc
cl : Command line warning D9025 : overriding '/W3' with '/w'
xsalsa20module.cpp
G:\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exce
ption handler used, but unwind semantics are not enabled. Specify /EHsc
cl : Command line warning D9025 : overriding '/W3' with '/w'
ecdsamodule.cpp
G:\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exce
ption handler used, but unwind semantics are not enabled. Specify /EHsc
_pycryptoppmodule.obj : warning LNK4197: export 'init_pycryptopp' specified mult
iple times; using first specification
   Creating library build\temp.win-amd64-2.7\Release\src-cryptopp\_pycryptopp.li
b and object build\temp.win-amd64-2.7\Release\src-cryptopp\_pycryptopp.exp
integer.obj : error LNK2019: unresolved external symbol Baseline_Add referenced
in function "void __cdecl CryptoPP::RecursiveMultiply(unsigned __int64 *,unsigne
d __int64 *,unsigned __int64 const *,unsigned __int64 const *,unsigned __int64)"
 (?RecursiveMultiply at CryptoPP@@YAXPEA_K0PEB_K1_K at Z)
integer.obj : error LNK2019: unresolved external symbol Baseline_Sub referenced
in function "void __cdecl CryptoPP::RecursiveMultiply(unsigned __int64 *,unsigne
d __int64 *,unsigned __int64 const *,unsigned __int64 const *,unsigned __int64)"
 (?RecursiveMultiply at CryptoPP@@YAXPEA_K0PEB_K1_K at Z)
rijndael.obj : error LNK2019: unresolved external symbol Rijndael_Enc_AdvancedPr
ocessBlocks referenced in function "public: virtual unsigned __int64 __cdecl Cry
ptoPP::Rijndael::Enc::AdvancedProcessBlocks(unsigned char const *,unsigned char
const *,unsigned char *,unsigned __int64,unsigned int)const " (?AdvancedProcessB
locks at Enc@Rijndael at CryptoPP@@UEBA_KPEBE0PEAE_KI at Z)
salsa.obj : error LNK2019: unresolved external symbol Salsa20_OperateKeystream r
eferenced in function "protected: virtual void __cdecl CryptoPP::Salsa20_Policy:
:OperateKeystream(enum CryptoPP::KeystreamOperation,unsigned char *,unsigned cha
r const *,unsigned __int64)" (?OperateKeystream at Salsa20_Policy@CryptoPP@@MEAAXW4
KeystreamOperation at 2@PEAEPEBE_K at Z)
sha.obj : error LNK2019: unresolved external symbol X86_SHA256_HashBlocks refere
nced in function "public: virtual unsigned __int64 __cdecl CryptoPP::SHA256::Has
hMultipleBlocks(unsigned int const *,unsigned __int64)" (?HashMultipleBlocks at SHA
256 at CryptoPP@@UEAA_KPEBI_K at Z)
sosemanuk.obj : error LNK2019: unresolved external symbol Sosemanuk_OperateKeyst
ream referenced in function "protected: virtual void __cdecl CryptoPP::Sosemanuk
Policy::OperateKeystream(enum CryptoPP::KeystreamOperation,unsigned char *,unsig
ned char const *,unsigned __int64)" (?OperateKeystream at SosemanukPolicy@CryptoPP@
@MEAAXW4KeystreamOperation at 2@PEAEPEBE_K at Z)
build\lib.win-amd64-2.7\pycryptopp\_pycryptopp.pyd : fatal error LNK1120: 6 unre
solved externals
error: Setup script exited with error: command '"G:\Microsoft Visual Studio 9.0\
VC\BIN\amd64\link.exe"' failed with exit status 1120

-----Original Message-----
From: tahoe-dev-bounces at tahoe-lafs.org [mailto:tahoe-dev-bounces at tahoe-lafs.org] On Behalf Of David-Sarah Hopwood
Sent: Wednesday, July 11, 2012 10:34 PM
To: Tahoe-LAFS development
Cc: Zooko Wilcox-O'Hearn
Subject: Re: [tahoe-dev] Python 2.7 Windows build Re: Announcing Tahoe-LAFS v1.9.2

On 12/07/12 05:29, David-Sarah Hopwood wrote:
> On 11/07/12 18:48, Zooko Wilcox-O'Hearn wrote:
>> Hm, according to this mailing list post -- 
>> http://mail.python.org/pipermail/python-list/2010-April/573606.html 
>> -- and this blog -- 
>> http://blog.victorjabur.com/2011/06/05/compiling-python-2-7-modules-o
>> n-windows-32-and-64-using-msvc-2008-express/
>> -- one cannot build extension modules for Python 2.7 on Windows 
>> unless one has a Microsoft compiler -- VS 2008 -- that is no longer 
>> available. :-( What a stupid... ...
> 
> It's still available:
> 
> http://www.microsoft.com/visualstudio/en-us/products/2008-editions/exp
> ress
> 
> (Visual C++ 2008 Express Edition with SP1).
> You also need the Windows SDK for Windows 7 and .NET Framework 3.5 SP1:
> 
> http://www.microsoft.com/en-gb/download/details.aspx?id=3138
> 
> I haven't tested this because I don't have a copy of 64-bit Windows.

BTW, you should run Microsoft Update (not just Windows Update) after installing these.

--
David-Sarah Hopwood ⚥




More information about the tahoe-dev mailing list