autoconf error on Windows

Chris Rebert clp2 at rebertia.com
Sun Jan 29 04:19:20 EST 2012


> On Sun, Jan 29, 2012 at 8:07 PM, Chris Rebert <clp2 at rebertia.com> wrote:
>> On Sun, Jan 29, 2012 at 12:52 AM, Alec Taylor <alec.taylor6 at gmail.com> wrote:
>>> PyCrypto's install is giving an autoconf error on Windows, whether I
>>> install from the git repo or normally.
>>>
>>> Traceback (most recent call last):
>>>  File "C:\Python27\lib\distutils\dist.py", line 972, in run_command
>>>    cmd_obj.run()
>>>
>>>  File "C:\Projects\satchmo_test\satchmo_test\src\pycrypto\setup.py",
>>> line 274, in run
>>>    raise RuntimeError("autoconf error")
>>>
>>> RuntimeError: autoconf error
>>>
>>> ----------------------------------------
>>> Command C:\Python27\python.exe -c "import setuptools;
>>> __file__='C:\\Projects\\satchmo_test\\satchmo_test\\src\\pycrypto\\setup.py';
>>> exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__,
>>> 'exec'))" develop --no-deps failed with error code 1
>>> Full output: http://pastebin.com/Dp3aw077
>>
>> Judging by the earlier "'sh' is not recognized as an internal or
>> external command, operable program or batch file." error message and
>> after scanning thru the setup.py, sounds like you need to have MinGW
>> (http://www.mingw.org ) installed. FWICT, there don't seem to be any
>> current Windows binaries for PyCrypto.
On Sun, Jan 29, 2012 at 1:15 AM, Alec Taylor <alec.taylor6 at gmail.com> wrote:
> Thanks, but I already have MinGW installed and in PATH.
>
> C:\>where g++
> C:\libraries\MinGW\bin\g++.exe
> C:\libraries\perl\c\bin\g++.exe

Erm, make that MSYS instead of MinGW?
(I don't run Windows myself.)

- Chris



More information about the Python-list mailing list