tgalal / python-axolotl-curve25519

GNU General Public License v3.0
35 stars 28 forks source link

Does not install in windows 8 #3

Open johnparra opened 9 years ago

johnparra commented 9 years ago

The error is C:\MinGW\bin\gcc.exe -mno-cygwin -mdll -O -Wall -Icurve/ed25519/hacl_includes -Icurve/ed25519/additions -Icurve/ed25519 -IC:\Python27\include -IC:\Python27\PC -c curve25519module.c -o build\temp.win32-2.7\Release\curve25519module.o gcc: error: unrecognized command line option '-mno-cygwin' error: command 'gcc' failed with exit status 1

estar21 commented 9 years ago

Does not install on windows vista either. I did everything specified on https://github.com/tgalal/python-axolotl-curve25519 including using MinGW.

The error is: Setup script exited with error: command 'C:\Program Files\Common Files\ \Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe' failed with exit status 2*

dreamflasher commented 8 years ago

Doesn't work on Windows 10 either:

build\temp.win32-2.7\Release\curve25519module.o:curve25519module.c:(.text+0x4d): undefined reference to `_imp__PyExc_ValueError'
  build\temp.win32-2.7\Release\curve25519module.o:curve25519module.c:(.text+0x73): undefined reference to `_imp__PyExc_ValueError'
  build\temp.win32-2.7\Release\curve25519module.o:curve25519module.c:(.text+0x11e): undefined reference to `_imp__PyExc_ValueError'
  build\temp.win32-2.7\Release\curve25519module.o:curve25519module.c:(.text+0x1a9): undefined reference to `_imp__PyExc_ValueError'
  build\temp.win32-2.7\Release\curve25519module.o:curve25519module.c:(.text+0x253): undefined reference to `_imp__PyExc_ValueError'
  build\temp.win32-2.7\Release\curve25519module.o:curve25519module.c:(.text+0x279): more undefined references to `_imp__PyExc_ValueError' follow
  collect2.exe: error: ld returned 1 exit status
  error: command 'C:\\tools\\MinGW\\bin\\gcc.exe' failed with exit status 1

  ----------------------------------------
  Failed building wheel for python-axolotl-curve25519
dreamflasher commented 8 years ago

Solution: Requires Python installation in a folder without spaces and the dependencies as listed. But it only works with Python 3.x, didn't get it running with Python 2.x :/