And it is not installable via PIP, though to me being placed on pypi site suggested that it should be (that's how I tried to install it).
Regards, Uri
Sent from my iPhone I got curious and decided to take a look, and well, it appearssetup.py has issues. I posted an issue in gitlab about it:https://gitlab.com/m2crypto/m2crypto/issues/184In message <slrnotrdim.lq.mcepl@xxxxxxxxxxxxxxxxxxx> on Wed, 11 Oct 2017 08:12:38 +0200, Matěj Cepl <mcepl@xxxxxxx> said:mcepl> On 2017-10-10, 21:17 GMT, Blumenthal, Uri - 0553 - MITLL wrote:mcepl> > I have to report that this M2Crypto release is broken, as it mcepl> > cannot find OpenSSL installed in /opt/local (apologies for mcepl> > spamming multiple lists and people):mcepl> mcepl> Feel free to file a ticket on mcepl> https://gitlab.com/m2crypto/m2crypto/issues , no need to use mcepl> mailing lists for issue tracker, when we have a proper one. mcepl> I work on M2Crypto right now, so I see them immediately.mcepl> mcepl> To your real problem: does --openssl set to /opt/local help? If mcepl> you runmcepl> mcepl> python setup.py clean build --openssl /opt/localmcepl> mcepl> what happens? What is the generated swig line (which version you mcepl> use?), and what are the two compiler lines (one for compilation, mcepl> other for linking)?mcepl> mcepl> > /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -pipe mcepl> mcepl> I have made so far all my testing with GCC (on Linux, there are mcepl> some users on Mac OS X, so I guess CLang should work as well, mcepl> but I have never tested it myself).mcepl> mcepl> > -Os -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes mcepl> > -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 mcepl> > -I/private/tmp/pip-build-lqb2R6/M2Crypto/SWIG -c mcepl> > SWIG/_m2crypto_wrap.c -o mcepl> > build/temp.macosx-10.12-x86_64-2.7/SWIG/_m2crypto_wrap.o mcepl> > -Wno-deprecated-declarationsmcepl> > SWIG/_m2crypto_wrap.c:2894:9: warning: variable 'res' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]mcepl> > if (PyType_Ready(tp) < 0)mcepl> > ^~~~~~~~~~~~~~~~~~~~mcepl> > SWIG/_m2crypto_wrap.c:2918:10: note: uninitialized use occurs heremcepl> > return res;mcepl> > ^~~mcepl> > SWIG/_m2crypto_wrap.c:2894:5: note: remove the 'if' if its condition is always falsemcepl> > if (PyType_Ready(tp) < 0)mcepl> > ^~~~~~~~~~~~~~~~~~~~~~~~~mcepl> > SWIG/_m2crypto_wrap.c:2875:10: note: initialize the variable 'res' to silence this warningmcepl> > int res;mcepl> > ^mcepl> > = 0mcepl> mcepl> Just to note that this particular piece of code is generated mcepl> completely by swig, I have nothing to do with it.mcepl> mcepl> > SWIG/_m2crypto_wrap.c:3554:10: fatal error: 'openssl/err.h' file not foundmcepl> > #include <openssl/err.h>mcepl> > ^~~~~~~~~~~~~~~mcepl> > 1 warning and 1 error generated.mcepl> > error: command '/usr/bin/clang' failed with exit status 1mcepl> mcepl> Where do you actually have err.h? Manually settings CFLAGS and mcepl> LDFLAGS should be followed by seutp.py, it can help as mcepl> a workaround, but my dream is that plain settings of --openssl mcepl> parameter should be sufficient.mcepl> mcepl> Feel free to continue here, on on the issue tracker.mcepl> mcepl> Best,mcepl> mcepl> Matěj Ceplmcepl> -- mcepl> http://matej.ceplovi.cz/blog/, Jabber: mcepl<at>ceplovi.czmcepl> GPG Finger: 3C76 A027 CA45 AD70 98B5 BC1D 7920 5802 880B C9D8mcepl> mcepl> Love doesn't just sit there, like a stone; it has to be made,mcepl> like bread, remade all the time, made new.mcepl> -- Ursula K. LeGuinmcepl> mcepl> -- openssl-users mailing listTo unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users
|