[PYTHON-CRYPTO] Compilation Problems

Chris Bruce chris at CHRISBRUCE.COM
Tue Apr 6 21:53:55 CEST 2004


Can anyone help me with this?  Can't seem to compile...


root at cpanel [~/src/m2crypto-0.13]# python2.3 setup.py build
running build
running build_py
running build_ext
building '__m2crypto' extension
swig -python -ISWIG -o SWIG/_m2crypto.c SWIG/_m2crypto.i
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/root/src/m2crypto-0.13/SWIG -I/usr/include -I/usr/local/include/python2.3 -c SWIG/_m2crypto.c -o build/temp.linux-i686-2.3/SWIG/_m2crypto.o -DTHREADING
In file included from /usr/include/openssl/ssl.h:179,
                 from SWIG/_m2crypto.c:863:
/usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory
In file included from /usr/include/openssl/ssl.h:179,
                 from SWIG/_m2crypto.c:863:
/usr/include/openssl/kssl.h:134: syntax error before "krb5_enctype"
/usr/include/openssl/kssl.h:136: syntax error before '*' token
/usr/include/openssl/kssl.h:137: syntax error before '}' token
/usr/include/openssl/kssl.h:149: syntax error before "kssl_ctx_setstring"
/usr/include/openssl/kssl.h:149: syntax error before '*' token
/usr/include/openssl/kssl.h:150: syntax error before '*' token
/usr/include/openssl/kssl.h:151: syntax error before '*' token
/usr/include/openssl/kssl.h:151: syntax error before '*' token
/usr/include/openssl/kssl.h:152: syntax error before '*' token
/usr/include/openssl/kssl.h:153: syntax error before "kssl_ctx_setprinc"
/usr/include/openssl/kssl.h:153: syntax error before '*' token
/usr/include/openssl/kssl.h:155: syntax error before "kssl_cget_tkt"
/usr/include/openssl/kssl.h:155: syntax error before '*' token
/usr/include/openssl/kssl.h:157: syntax error before "kssl_sget_tkt"
/usr/include/openssl/kssl.h:157: syntax error before '*' token
/usr/include/openssl/kssl.h:159: syntax error before "kssl_ctx_setkey"
/usr/include/openssl/kssl.h:159: syntax error before '*' token
/usr/include/openssl/kssl.h:161: syntax error before "context"
/usr/include/openssl/kssl.h:162: syntax error before "kssl_build_principal_2"
/usr/include/openssl/kssl.h:162: syntax error before "context"
/usr/include/openssl/kssl.h:165: syntax error before "kssl_validate_times"
/usr/include/openssl/kssl.h:165: syntax error before "atime"
/usr/include/openssl/kssl.h:167: syntax error before "kssl_check_authent"
/usr/include/openssl/kssl.h:167: syntax error before '*' token
/usr/include/openssl/kssl.h:169: syntax error before "enctype"
In file included from SWIG/_m2crypto.c:863:
/usr/include/openssl/ssl.h:909: syntax error before "KSSL_CTX"
/usr/include/openssl/ssl.h:931: syntax error before '}' token
SWIG/_m2crypto.c: In function `sign_final':
SWIG/_m2crypto.c:1925: warning: unused variable `ret'
SWIG/_m2crypto.c: In function `ssl_session_read_pem':
SWIG/_m2crypto.c:3443: warning: function declaration isn't a prototype
SWIG/_m2crypto.c: In function `ssl_session_write_pem':
SWIG/_m2crypto.c:3447: warning: function declaration isn't a prototype
SWIG/_m2crypto.c: At top level:
SWIG/_m2crypto.c:3497: warning: function declaration isn't a prototype
SWIG/_m2crypto.c:4450: warning: function declaration isn't a prototype
SWIG/_m2crypto.c:4898: warning: function declaration isn't a prototype
SWIG/_m2crypto.c:5660: warning: function declaration isn't a prototype
SWIG/_m2crypto.c:6481: warning: function declaration isn't a prototype
SWIG/_m2crypto.c:6903: warning: function declaration isn't a prototype
SWIG/_m2crypto.c:7638: warning: function declaration isn't a prototype
SWIG/_m2crypto.c:9327: warning: function declaration isn't a prototype
SWIG/_m2crypto.c:11392: warning: function declaration isn't a prototype
SWIG/_m2crypto.c:12497: warning: function declaration isn't a prototype
SWIG/_m2crypto.c:12518: warning: function declaration isn't a prototype
SWIG/_m2crypto.c:13142: warning: function declaration isn't a prototype
SWIG/_m2crypto.c:734: warning: `RCS_id' defined but not used
error: command 'gcc' failed with exit status 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-crypto/attachments/20040406/40b3ed98/attachment.html>


More information about the python-crypto mailing list