[tahoe-dev] install error

sickness sickness at tiscali.it
Wed Jun 27 09:11:39 UTC 2012


edit C:\Python27\Lib\distutils\cygwincompiler.py and remove all the "-mno-cygwin" options

On Wed, Jun 27, 2012 at 09:26:44AM +0200, F. Carpico wrote:
> 
> Hello,
> 
> I'm trying to install Tahoe on Windows Vista but when I execute  
> "C:\Python27\python setup.py build" I get this error :
> 
> 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.
> # C:\Python27\lib\distutils\cygwinccompiler.pyc matches  
> C:\Python27\lib\distutils\cygwinccompiler.py
> import distutils.cygwinccompiler # precompiled from  
> C:\Python27\lib\distutils\cygwinccompiler.pyc
> # C:\Python27\lib\distutils\unixccompiler.pyc matches  
> C:\Python27\lib\distutils\unixccompiler.py
> import distutils.unixccompiler # precompiled from  
> C:\Python27\lib\distutils\unixccompiler.pyc
> cc1plus.exe: erreur: unrecognized command line option '-mno-cygwin'
> error: Setup script exited with error: command 'gcc' failed with exit  
> status 1
> 
> 
> I've installed Python 2.7, mingw-get-inst-20120426, Cygwin last version  
> and done all that is described here :
> https://tahoe-lafs.org/trac/tahoe-lafs/wiki/AdvancedInstall#point9.4
> 
> Mingw version :
> 
> C:\tahoe-lafs>gcc -v
> Utilisation des specs internes.
> COLLECT_GCC=gcc
> COLLECT_LTO_WRAPPER=c:/mingw/bin/../libexec/gcc/mingw32/4.6.2/lto-wrapper.exe
> Target: mingw32
> Configur? avec: ../gcc-4.6.2/configure  
> --enable-languages=c,c++,ada,fortran,objc,obj-c++  
> --disable-sjlj-exceptions --with-dwarf2 --enable-shared --ena
> ble-libgomp --disable-win32-registry --enable-libstdcxx-debug  
> --enable-version-specific-runtime-libs --build=mingw32 --prefix=/mingw
> Mod?le de thread: win32
> gcc version 4.6.2 (GCC)
> 
> 
> Thank you for your help
> 
> Cordially
> _______________________________________________
> 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