Python 2.1 Compilation error - can't find krb5.h

Gabby lizard0000092 at yahoo.com
Wed Sep 17 17:07:30 CEST 2003


I am attempting to compile python 2.1 from the source on a RedHat 9.0
system.  The problem is that a openssl header file (kssl.h) requires
krb5.h which isn't in the usual place (/usr/include).  Instead krb5.h
gets installed at usr/kerberos/include.  The openssl version is
0.9.7a-2.  When I build python, the ./configure works fine but the
make' has problems building the _socket extension.  The beginning of
the error message is pasted below.  How do I let python know where to
find the krb5.h file?


In file included from /usr/include/openssl/ssl.h:179,
from /home/merlin/Python-2.1.2/Modules/socketmodule.c:196:
/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 /home/merlin/Python-2.1.2/Modules/socketmodule.c:196:




More information about the Python-list mailing list