Comment 4 for bug 586556

Revision history for this message
Darsey Litzenberger (dlitz) wrote :

Regarding libgmp detection, I looked at the simplejson approach, and wrote an experimental patch for PyCrypto, but I don't like it: I have a machine doing automated builds of PyCrypto every time a new commit gets pushed to the git repo, and this patch would cause actual build failures to be ignored.

Regarding gmp.h being in /usr/include/gmp, it's probably that -I/usr/include/gmp needs to be added to the build process. Of course, gmp.h is under /usr/include on other machines... (Sigh.)

Really, what's needed is some sort of autoconf for Python extension modules, which would allow us to build a small module just for testing that libgmp is available and works, and where it should be included. Do you know of anything like that?