MCrypto2 build problems for 0.15 tag

Ian Stokes-Rees <[email protected]>
Newsgroups gmane.comp.python.cryptography
Message-ID <[email protected]>
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

-- 
Ian Stokes-Rees                 [email protected]
Particle Physics, Oxford        http://www-pnp.physics.ox.ac.uk/~stokes
i.stokes-rees1.vcf (text/x-vcard, 338 B)
begin:vcard
fn:Ian Stokes-Rees
n:Stokes-Rees;Ian
org:University of Oxford;Particle Physics
adr:;;Keble Road;Oxford;;OX1 3RH;UK
email;internet:[email protected]
tel;work:+44 1865 283 111
tel;fax:+44 1865 273 418
tel;cell:+44 7989 947 217
x-mozilla-html:FALSE
url:http://grid.physics.ox.ac.uk/~stokes/ 
version:2.1
end:vcard
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.