[PYTHON-CRYPTO] Compilation Problems

Ng Pheng Siong ngps at POST1.COM
Wed Apr 7 01:11:10 CEST 2004


On Tue, Apr 06, 2004 at 12:53:55PM -0700, Chris Bruce wrote:
> 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

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"
> [...]

These syntax errors are presumably due to the failure to include the
missing krb5.h.

IIRC, by default OpenSSL does not build with Kerberos cipher suites. Yours
seems to be, yet your system appears to not have Kerberos. You might want
to fix your OpenSSL installation first.

HTH. Cheers.

--
Ng Pheng Siong <ngps at netmemetic.com>

http://firewall.rulemaker.net -+- Firewall Change Management & Version Control
http://sandbox.rulemaker.net/ngps -+- Open Source Python Crypto & SSL




More information about the python-crypto mailing list