[tahoe-dev] Windows 7 Build Fails
Paul Grunwald
pgrunwald at comcast.net
Mon May 28 01:29:14 UTC 2012
Ok, round 2!
I installed VC 2010 Express.
I added it to the path.
Now I get this:
-----------------------
G:\>cd allmydata-tahoe-1.9.1
G:\allmydata-tahoe-1.9.1>path
PATH=C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;%CommonProgramFiles%
\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System3
2\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\QuickT
ime\QTSystem\ ;C:\Program Files (x86)\GNU\GnuPG\pub;\;C:\Program Files\Microsoft
Windows Performance Toolkit\;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Prog
ram Files\Common Files\Microsoft Shared\Windows Live;g:\python27;G:\Microsoft Vi
sual Studio 10.0\VC
G:\allmydata-tahoe-1.9.1>vcvarsall.bat
Setting environment for using Microsoft Visual Studio 2010 x86 tools.
G:\allmydata-tahoe-1.9.1>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
reading manifest file 'src\allmydata_tahoe.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.png' under directory 'src'
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.1\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.1\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.1\support\lib\site-packages\darcsver-1.7.2.egg
Creating g:\allmydata-tahoe-1.9.1\support\lib\site-packages\allmydata-tahoe.egg-
link (link to src)
allmydata-tahoe 1.9.1 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.1\src
Processing dependencies for allmydata-tahoe==1.9.1
Searching for pycryptopp>=0.5.20
Reading http://tahoe-lafs.org/source/tahoe-lafs/deps/tahoe-dep-sdists/
Reading http://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-qwmbte
\pycryptopp-0.6.0.1206569328141510525648634803928199668821045408958\egg-dist-tmp
-dh9yeq
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.30319.01 for 80x86
Copyright (C) Microsoft Corporation. All rights reserved.
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.
error: Setup script exited with error: Unable to find vcvarsall.bat
G:\allmydata-tahoe-1.9.1>
--------------------------------------
It is not from the benevolence of the butcher, the brewer, or the baker, that we expect our dinner but from their regard to their own self-interest. We address ourselves not to their humanity but to their self-love and never talk to them of our own necessities but of their advantages.
-Adam Smith
-----Original Message-----
From: tahoe-dev-bounces at tahoe-lafs.org [mailto:tahoe-dev-bounces at tahoe-lafs.org] On Behalf Of Paul Grunwald
Sent: Sunday, May 27, 2012 6:44 PM
To: 'Tahoe-LAFS development'
Subject: Re: [tahoe-dev] Windows 7 Build Fails
I'm happy to help, what compiler should I install?. MingW was 32-bit only. Is there a preferred version of Microsoft Visual C++ I can install? I'm also happy to participate in the build pool.
Thanks,
Paul
-----Original Message-----
From: David-Sarah Hopwood [mailto:djhopwood at googlemail.com] On Behalf Of David-Sarah Hopwood
Sent: Sunday, May 27, 2012 4:00 PM
To: Tahoe-LAFS development
Cc: Paul Grunwald
Subject: Re: [tahoe-dev] Windows 7 Build Fails
On 26/05/12 17:25, Paul Grunwald wrote:
> Hi all,
>
> I’m taking another run at Tahoe and I’m having trouble with the build.
> As requested, I’m reporting it as a build bug:
> https://tahoe-lafs.org/trac/tahoe-lafs/wiki/AdvancedInstall#point9.4.1
>
> Windows 7 Ultimate 64-Bit
>
> Python 2.7.3 64-Bit
>
> G:\allmydata-tahoe-1.9.1>python setup.py build
[...]
> distutils.errors.DistutilsError: Setup script exited with error:
> Unable to find vcvarsall.bat
Thanks for the report. This happens because:
- we don't have precompiled packages ("eggs") for all dependencies on your
platform -- see the windows-x86_64 line of the table for Python 2.7 in
<https://tahoe-lafs.org/source/tahoe-lafs/deps/tahoe-dep-eggs/README.html>.
- the Python build system (distutils) tries to compile the missing dependency
or dependencies, and reports an error as a result of not being able to find
an installed C/C++ compiler.
(This error is not reported very well; it mentions 'vcvarsall.bat' because
that is the batch file used to set up the environment for the default
compiler, Microsoft Visual C++, but that's an implementation detail; also,
it does not report which dependency it was trying to compile.)
The missing precompiled eggs are for Twisted and pycryptopp, so someone will need to compile those (Twisted has installers that can be downloaded from <http://twistedmatrix.com/trac/wiki/Downloads>, but that probably won't help without also having the pycryptopp egg).
--
David-Sarah Hopwood ⚥
_______________________________________________
tahoe-dev mailing list
tahoe-dev at tahoe-lafs.org
https://tahoe-lafs.org/cgi-bin/mailman/listinfo/tahoe-dev
More information about the tahoe-dev
mailing list