AW: [Python-de] pycrypto

Dirk Lannatewitz dirk.lannatewitz at web.de
Sat Oct 19 18:08:45 EDT 2002


> Ich empfehle mingw; installieren, in Pfad aufnehmen und dann
> "python setup.py build --compiler=mingw32".

Danke für den Tip. aber entweder ich stell mich zu blöde an oder...

Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.

C:\>d:

D:\>cd study\datensicherheit(7)\pycrypto-1.9a4

D:\Study\Datensicherheit(7)\pycrypto-1.9a4>c:\python22\python setup.py build
running build
running build_py
not copying .\__init__.py (output up-to-date)
not copying .\test.py (output up-to-date)
not copying .\Hash\HMAC.py (output up-to-date)
not copying .\Hash\MD5.py (output up-to-date)
not copying .\Hash\SHA.py (output up-to-date)
not copying .\Hash\__init__.py (output up-to-date)
not copying .\Cipher\__init__.py (output up-to-date)
not copying .\Util\RFC1751.py (output up-to-date)
not copying .\Util\__init__.py (output up-to-date)
not copying .\Util\number.py (output up-to-date)
not copying .\Util\randpool.py (output up-to-date)
not copying .\Util\test.py (output up-to-date)
not copying .\Protocol\AllOrNothing.py (output up-to-date)
not copying .\Protocol\Chaffing.py (output up-to-date)
not copying .\Protocol\__init__.py (output up-to-date)
not copying .\PublicKey\DSA.py (output up-to-date)
not copying .\PublicKey\ElGamal.py (output up-to-date)
not copying .\PublicKey\RSA.py (output up-to-date)
not copying .\PublicKey\__init__.py (output up-to-date)
not copying .\PublicKey\pubkey.py (output up-to-date)
not copying .\PublicKey\qNEW.py (output up-to-date)
running build_ext
building 'Crypto.Hash.MD2' extension
cl.exe /c /nologo /Ox /MD /W3 /GX -Isrc/ -Ic:\python22\include /Tcsrc/MD2.c
/Fob
uild\temp.win32-2.2\Release\MD2.obj
error: command 'cl.exe' failed: No such file or directory

D:\Study\Datensicherheit(7)\pycrypto-1.9a4>c:\python22\python setup.py build
com
piler=mingw32
invalid command name 'compiler=mingw32'

D:\Study\Datensicherheit(7)\pycrypto-1.9a4>c:\python22\python setup.py
build --c
ompiler=mingw32
running build
running build_py
not copying .\__init__.py (output up-to-date)
not copying .\test.py (output up-to-date)
not copying .\Hash\HMAC.py (output up-to-date)
not copying .\Hash\MD5.py (output up-to-date)
not copying .\Hash\SHA.py (output up-to-date)
not copying .\Hash\__init__.py (output up-to-date)
not copying .\Cipher\__init__.py (output up-to-date)
not copying .\Util\RFC1751.py (output up-to-date)
not copying .\Util\__init__.py (output up-to-date)
not copying .\Util\number.py (output up-to-date)
not copying .\Util\randpool.py (output up-to-date)
not copying .\Util\test.py (output up-to-date)
not copying .\Protocol\AllOrNothing.py (output up-to-date)
not copying .\Protocol\Chaffing.py (output up-to-date)
not copying .\Protocol\__init__.py (output up-to-date)
not copying .\PublicKey\DSA.py (output up-to-date)
not copying .\PublicKey\ElGamal.py (output up-to-date)
not copying .\PublicKey\RSA.py (output up-to-date)
not copying .\PublicKey\__init__.py (output up-to-date)
not copying .\PublicKey\pubkey.py (output up-to-date)
not copying .\PublicKey\qNEW.py (output up-to-date)
running build_ext
building 'Crypto.Hash.MD2' extension
gcc -mno-cygwin -mdll -O -Wall -Isrc/ -Ic:\python22\include -c src/MD2.c -o
buil
d\temp.win32-2.2\Release\md2.o
error: command 'gcc' failed: No such file or directory

Meine Umgebungsvariable Path lautet
C:\MinGW; C:\MinGW\bin; C:\MinGW\mingw32; C:\MinGW\mingw32\bin
und in C:\MinGW\bin ist eigentlich auch der gcc.

Wo habe ich nen Fehler in meiner Vorgehensweise?

Danke
Dirk






More information about the Python-de mailing list