Install error on Windows Vista #1769
Labels
No labels
0.2.0
0.3.0
0.4.0
0.5.0
0.5.1
0.6.0
0.6.1
0.7.0
0.8.0
0.9.0
1.0.0
1.1.0
1.10.0
1.10.1
1.10.2
1.10a2
1.11.0
1.12.0
1.12.1
1.13.0
1.14.0
1.15.0
1.15.1
1.2.0
1.3.0
1.4.1
1.5.0
1.6.0
1.6.1
1.7.0
1.7.1
1.7β
1.8.0
1.8.1
1.8.2
1.8.3
1.8β
1.9.0
1.9.0-s3branch
1.9.0a1
1.9.0a2
1.9.0b1
1.9.1
1.9.2
1.9.2a1
LeastAuthority.com automation
blocker
cannot reproduce
cloud-branch
code
code-dirnodes
code-encoding
code-frontend
code-frontend-cli
code-frontend-ftp-sftp
code-frontend-magic-folder
code-frontend-web
code-mutable
code-network
code-nodeadmin
code-peerselection
code-storage
contrib
critical
defect
dev-infrastructure
documentation
duplicate
enhancement
fixed
invalid
major
minor
n/a
normal
operational
packaging
somebody else's problem
supercritical
task
trivial
unknown
was already fixed
website
wontfix
worksforme
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: tahoe-lafs/trac-2024-07-25#1769
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
I had success after editing
C:\Python27\Lib\distutils\cygwincompiler.py
to remove all of the -mno-cygwin options in Windows XP with Python 2.7.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".
Replying to zooko:
It seems like a bug in distutils, but maybe it could be worked around in zetuptoolz. If we close this ticket, let's first report the bug in distutils.
I changed wiki/AdvancedInstall to mention the workaround in comment:130528, although I'm not entirely sure it is a good idea:
https://tahoe-lafs.org/trac/tahoe-lafs/wiki/AdvancedInstall?action=diff&version=57&old_version=55
Replying to zooko:
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.
This is an issue in python distutils:
http://bugs.python.org/issue12641
Closing this ticket with the newly created "resolution"
somebody else's problem
. Thanks for the bug report!