Problem building m2crypto on RHEL 3
Charles Riley <[email protected]>
| Newsgroups | gmane.comp.python.cryptography |
|---|---|
| Message-ID | <LISTSERV%[email protected]> |
Hi,
I'm having a problem building m2crypto on RHEL 3. I think I have all the
prerequisite stuff installed, as described on the m2crypto page:
openssl-devel-0.9.7a-33.12
openssl-0.9.7a-33.12
python 2.3.5
SWIG-1.3.21
Any help would be greatly appreciated. I'd like to access zope via SSL,
and running a webserver in front of zope just seems like such an ugly
solution.
Build output follows:
[root@criley 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/home/zope/m2crypto-0.13/SWIG -I/usr/include -
I/usr/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