[pycrypto] Fail to build pycrypto 2.3 on Ubuntu

rusydi hasan rusydi.hasan at gmail.com
Mon Sep 19 06:50:12 CST 2011


Hi All,

I tried to install pycrypto 2.3 on my machine (Ubuntu 11.04, kernel 2.6.38).
But the installation error says :

building 'Crypto.Hash.MD2' extension
> gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC
> -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c
> src/MD2.c -o build/temp.linux-i686-2.7/src/MD2.o
> src/MD2.c:31:20: fatal error: Python.h: No such file or directory
> compilation terminated.
> error: command 'gcc' failed with exit status 1
>

It seems that *Python.h* is missing from src/ directory. Or am i missing
something here ?

-- 
Rusydi Hasan Makarim (0721051)
PGP Public Key <http://munmap.org/pubkey.asc>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.dlitz.net/pipermail/pycrypto/attachments/20110919/b69663eb/attachment.htm 


More information about the pycrypto mailing list