M2Crypto 0.20.1 won't build on Red Hat Linux
nagle at animats.com
Wed Sep 30 19:33:36 CEST 2009
won't build on Red Hat Linux / 386. The error is
swig -python -I/usr/local/include/python2.5 -I/usr/include -includeall -o
/usr/include/openssl/opensslconf.h:27: Error: CPP #error ""This openssl-devel
package does not work your architecture?"".
Use the -cpperraswarn option to continue swig processing.
error: command 'swig' failed with exit status 1
It's some incompatibility between Red Hat include file packaging and M2Crypto.
There was at one time a note on how to deal with this problem, but it's been
deleted. It's still in Google's cache, though.
I think I went through this mess two years ago, building M2Crypto 0.17. But
I've forgotten the solution.
What's current thinking on this?
(I know, Python 2.6 has new SSL support, but MySQLdb doesn't support
Python 2.6, so I can't convert yet.)
More information about the Python-list