[PYTHON-CRYPTO] MCrypto2 build problems for 0.15 tag

Conrad Steenberg conrad at HEP.CALTECH.EDU
Tue Oct 25 17:49:28 CEST 2005


Hi Ian

OpenSSL have been going through a "const"-ifying exercise lately that
m2crypto keeps getting bitten by.

If you look in http://131.215.116.185/RPM/PKG/ there's a .src.rpm with
patches to make m2crypto compile against openssl-0.9.7g, swig-1.3.24,
and python-2.4.2.

HTH!

Conrad

On Tue, 2005-10-25 at 15:37 +0100, Ian Stokes-Rees wrote:
> I have just downloaded the 0.15 tag of MCrypto2 from mid-August.  I get 
> a host of SWIG errors when I try to build.  I am using:
> 
> Python 2.4
> Swig 1.3.25
> OpenSSL 0.9.7g
> 
> This is on Scientific Linux SL release 3.0.5 (SL) (an off-shoot of 
> Fedora and RHEL).
> 
> Anyone know what would cause this?  It looks like something is being 
> included twice.
> 
> Cheers, Ian
> 
> FWIW, here are a few of the error messages:
> 
> SWIG/_pkcs7.i:19: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_m2crypto_wrap.c: In function `sign_final':
> SWIG/_m2crypto_wrap.c:3137: warning: unused variable `ret'
> SWIG/_m2crypto_wrap.c: At top level:
> SWIG/_m2crypto_wrap.c:4302: conflicting types for `SSL_get_version'
> /usr/local/include/openssl/ssl.h:1327: previous declaration of 
> `SSL_get_version'
> SWIG/_m2crypto_wrap.c:4303: conflicting types for `SSL_get_error'
> /usr/local/include/openssl/ssl.h:1326: previous declaration of 
> `SSL_get_error'
> SWIG/_m2crypto_wrap.c:4317: conflicting types for `SSL_CTX_get_verify_depth'
> /usr/local/include/openssl/ssl.h:1249: previous declaration of 
> `SSL_SESSION_get_timeout'
> SWIG/_m2crypto_wrap.c: In function `ssl_session_read_pem':
> SWIG/_m2crypto_wrap.c:4832: warning: function declaration isn't a prototype
> SWIG/_m2crypto_wrap.c: In function `ssl_session_write_pem':
> SWIG/_m2crypto_wrap.c:4836: warning: function declaration isn't a prototype
> SWIG/_m2crypto_wrap.c: At top level:
> SWIG/_m2crypto_wrap.c:4900: conflicting types for `X509_NAME_ENTRY_set_data'
> /usr/local/include/openssl/x509.h:1052: previous declaration of 
> `X509_NAME_ENTRY_set_data'
> SWIG/_m2crypto_wrap.c:4903: warning: function declaration isn't a prototype
> SWIG/_m2crypto_wrap.c:1425: warning: `RCS_id' defined but not used
> error: command 'gcc' failed with exit status 1
> 
-- 
Conrad Steenberg <conrad at hep.caltech.edu>
California Institute of Technology
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2531 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-crypto/attachments/20051025/f09d1a98/attachment.bin>


More information about the python-crypto mailing list