[To document ?] Compilation fail due to distutils wrong compiler discovery (require export CC to fix)
Created originally on Bitbucket by Anonymous
Hello,
[Disclaimer: Being a C++ dev, I don't know much about python. Do not hesitate to ask for clarification if needed.]
I was using cffi onto SUSE linux SP2 within virtualenv and the C compiler path found by (I think) distutils was wrong but I was able to correct it by setting the environment variable CC to the correct binary within the python script.
I think this might deserve a mention in the documentation ?
The SO thread that saved me (not related to cffi): https://stackoverflow.com/a/16737674/2312686.
Thanks for your great package !
Camille