[tahoe-dev] [tahoe-lafs] #1093: win32 build hell

tahoe-lafs trac at tahoe-lafs.org
Fri Jun 25 03:21:01 UTC 2010


#1093: win32 build hell
---------------------------+------------------------------------------------
     Reporter:  zeromus    |       Owner:  somebody                                   
         Type:  defect     |      Status:  new                                        
     Priority:  major      |   Milestone:  1.7.1                                      
    Component:  packaging  |     Version:  1.7.0                                      
   Resolution:             |    Keywords:  windows setuptools pycryptopp nevow twisted
Launchpad Bug:             |  
---------------------------+------------------------------------------------

Comment (by zeromus):

 Here is a more coherent log of what I did.
 *********************
 following instructions at http://tahoe-lafs.org/trac/tahoe-
 lafs/wiki/AdvancedInstall  section "Windows"

 1. Download and install Python 2.5.4 from
 http://www.python.org/ftp/python/2.5.4/python-2.5.4.msi.
 Installed python-2.5.4.msi to c:\python25

 2. Download and install pywin32 from
 http://sourceforge.net/projects/pywin32/files/pywin32/Build%20214/pywin32-214.win32-py2.5.exe/download.
 Installed pywin32-214.win32-py2.5.exe to c:\python25

 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.
 unpacked http://tahoe-lafs.org/source/tahoe-lafs/releases/allmydata-
 tahoe-1.7.0-SUMO.zip to c:\tahoe-lafs

 (In order to build cryptocpp, I need to modify msvccompiler.py by adding
 .asm to _cpp_extensions)

 4. Open a command prompt and cd to the top of the Tahoe-LAFS tree (e.g. cd
 \tahoe-lafs).

 console log:
 http://dl.dropbox.com/u/4260750/bugs/cmd-24-06-2010-214329.txt

 **************
 That all seems to work. Tahoe runs.

 It is interesting that some of these deps compile the second time I try.
 (Why is it trying to compile x64 asm files anyway on a 32bit platform)

 Now, I install py2exe-0.6.9.win32-py2.5.exe and try to run py2exe on the
 windows stuff to get an exe I can use:

 console log:
 http://dl.dropbox.com/u/4260750/bugs/cmd-24-06-2010-215410.txt

 *******************************
 When trying to compile using python 2.6 I get the same errors as 2.5 while
 trying to compile twisted, but in this case it can't push past it no
 matter how many times I try. Here is an example

 console log:
 http://dl.dropbox.com/u/4260750/temp/cmd-24-06-2010-212013.txt

 This is particularly puzzling to me because ticket #1094 says mingw cannot
 compile extension modules for python 2.6 on windows. But when i begin to
 build tahoe-lafs using python2.6, it chooses ms visual c++ and then fails
 to confile conftest.c as part of twisted which requires rpc/rpc.h which is
 a mingw file.

-- 
Ticket URL: <http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1093#comment:5>
tahoe-lafs <http://tahoe-lafs.org>
secure decentralized file storage grid


More information about the tahoe-dev mailing list