I am trying to install M2Crypto on CentOS by compiling from the source. i am doing a python setup.py build But I get the following error,
/usr/local/lib/python
The following should work:
env SWIG_FEATURES="-cpperraswarn -includeall -D__`uname -m`__ -I/usr/include/openssl" python setup.py build
Edit: and openssl-devel package is of course also required.
openssl-devel