[tahoe-lafs-trac-stream] [tahoe-lafs] #1769: Install error on Windows Vista

tahoe-lafs trac at tahoe-lafs.org
Thu Apr 25 18:30:23 UTC 2013


#1769: Install error on Windows Vista
-------------------------+-------------------------------------------------
     Reporter:  toto     |      Owner:  killyourtv
         Type:  defect   |     Status:  new
     Priority:  major    |  Milestone:  undecided
    Component:           |    Version:  1.9.1
  packaging              |   Keywords:  install setup windows vista error
   Resolution:           |  distutils setuptools
Launchpad Bug:           |
-------------------------+-------------------------------------------------

Old description:

> Hello,[[BR]]
> [[BR]]
> I'm trying to install Tahoe on Windows Vista but when I execute
> "C:\Python27\python setup.py build" I get this error :[[BR]]
>
> Setting up environment to run scripts for the current user...[[BR]]
>
> Already done: associate the filetype .pyscript with Python.File for the
> current user.[[BR]]
>
> Already done: add .pyscript to the user environment variable
> PATHEXT.[[BR]]
>
> Already done: add .pyw to the user environment variable PATHEXT.[[BR]]
>
> # C:\Python27\lib\distutils\cygwinccompiler.pyc matches
> C:\Python27\lib\distutils\cygwinccompiler.py[[BR]]
>
> import distutils.cygwinccompiler # precompiled from
> C:\Python27\lib\distutils\cygwinccompiler.pyc[[BR]]
>
> # C:\Python27\lib\distutils\unixccompiler.pyc matches
> C:\Python27\lib\distutils\unixccompiler.py[[BR]]
>
> import distutils.unixccompiler # precompiled from
> C:\Python27\lib\distutils\unixccompiler.pyc[[BR]]
>
> cc1plus.exe: erreur: unrecognized command line option '-mno-cygwin'[[BR]]
>
> error: Setup script exited with error: command 'gcc' failed with exit
> status 1[[BR]]
>

> I've installed Python 2.7, mingw-get-inst-20120426, Cygwin last version
> and done all that is described here :[[BR]]
>
> https://tahoe-lafs.org/trac/tahoe-
> lafs/wiki/AdvancedInstall#point9.4[[BR]]
>

> Mingw version :[[BR]]
>

> C:\tahoe-lafs>gcc -v[[BR]]
>
> Utilisation des specs internes.[[BR]]
>
> COLLECT_GCC=gcc[[BR]]
>
> COLLECT_LTO_WRAPPER=c:/mingw/bin/../libexec/gcc/mingw32/4.6.2/lto-
> wrapper.exe[[BR]]
>
> Target: mingw32[[BR]]
>
> 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[[BR]]
>
> Modèle de thread: win32[[BR]]
>
> gcc version 4.6.2 (GCC)[[BR]]
> [[BR]]
>

> Thank you for your help[[BR]]

New description:

 Hello,[[BR]]
 [[BR]]
 I'm trying to install Tahoe on Windows Vista but when I execute
 "C:\Python27\python setup.py build" I get this error :[[BR]]

 Setting up environment to run scripts for the current user...[[BR]]

 Already done: associate the filetype .pyscript with Python.File for the
 current user.[[BR]]

 Already done: add .pyscript to the user environment variable
 PATHEXT.[[BR]]

 Already done: add .pyw to the user environment variable PATHEXT.[[BR]]

 # C:\Python27\lib\distutils\cygwinccompiler.pyc matches
 C:\Python27\lib\distutils\cygwinccompiler.py[[BR]]

 import distutils.cygwinccompiler # precompiled from
 C:\Python27\lib\distutils\cygwinccompiler.pyc[[BR]]

 # C:\Python27\lib\distutils\unixccompiler.pyc matches
 C:\Python27\lib\distutils\unixccompiler.py[[BR]]

 import distutils.unixccompiler # precompiled from
 C:\Python27\lib\distutils\unixccompiler.pyc[[BR]]

 cc1plus.exe: erreur: unrecognized command line option '-mno-cygwin'[[BR]]

 error: Setup script exited with error: command 'gcc' failed with exit
 status 1[[BR]]


 I've installed Python 2.7, mingw-get-inst-20120426, Cygwin last version
 and done all that is described here :[[BR]]

 https://tahoe-lafs.org/trac/tahoe-lafs/wiki/AdvancedInstall#point9.4[[BR]]


 Mingw version :[[BR]]


 C:\tahoe-lafs>gcc -v[[BR]]

 Utilisation des specs internes.[[BR]]

 COLLECT_GCC=gcc[[BR]]

 COLLECT_LTO_WRAPPER=c:/mingw/bin/../libexec/gcc/mingw32/4.6.2/lto-
 wrapper.exe[[BR]]

 Target: mingw32[[BR]]

 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[[BR]]

 Modèle de thread: win32[[BR]]

 gcc version 4.6.2 (GCC)[[BR]]
 [[BR]]


 Thank you for your help[[BR]]

--

Comment (by killyourtv):

 Replying to [comment:4 zooko]:
 > Hm, toto, killyourtv, is there anything that Tahoe-LAFS should do to
 deal with this issue? I'm inclined to close it as "not our problem".



 I'm not sure, tbh. I made my mods after seeing it on a mailing list post
 somewhere (maybe even tahoe-dev?).  What I did may even be a
 '''horrible''', cringe-worthy idea but it did allow it to proceed and
 tahoe seemed to work just fine in the afterwards.

-- 
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1769#comment:7>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list