[pycrypto] Install failure on FreeBSD 8.2

Gmele gmele at debitcardnetwork.com
Wed Oct 19 16:52:20 CST 2011

I'm trying to install the latest on my FreeBSD 8.2, Python 3.2 server.
There seem to be contradictions about whether stdint.h exists.  
It is located in /usr/include/src/ with a link from /usr/include/
#ll /usr/include/
lrwxr-xr-x  1 root  wheel  12 Jul 18  2010 /usr/include/stdint.h -> sys/stdint.h
Here are some relevant pieces of the "python3.2 setup.py install" results
running build_configure
checking for stdint.h... yes
checking for stdint.h... (cached) yes
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for int8_t... yes
checking for size_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uint8_t... yes
cc -pipe -D__wchar_t=wchar_t -fno-strict-aliasing -pipe -D__wchar_t=wchar_t -fno-strict-aliasing -fPIC -std=c99 -O3 -fomit-frame-pointer -DPCT_LITTLE_ENDIAN=1 -Isrc/ -I/usr/include/sys/ -I/usr/local/include/python3.2mu -c src/RIPEMD160.c -o build/temp.freebsd-8.2-RELEASE-i386-3.2/src/RIPEMD160.o
src/RIPEMD160.c:52:3: error: #error "stdint.h not found"
I added '/usr/include/sys/' to the include_dirs in  Extension("Crypto.Hash.RIPEMD160",
It didn't help.

src/config.h contains 
/* Define to 1 if you have the <stdint.h> header file. */

Any ideas about what is happening?

More information about the pycrypto mailing list