PDA

View Full Version : build fails: krb5.h include file missing



paulocarvalho_br_2009
22nd May 2009, 19:07
Greetings.

I am trying to compile and build Qt in my machine. At some point, the process aborts with the following error:

In file included from /usr/include/openssl/ssl.h:179,
from ssl/qsslsocket_openssl_p.h:75,
from ssl/qsslsocket_openssl_symbols_p.h:57,
from ssl/qsslcertificate.cpp:109:
/usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory

Command:

g++ [... lots of compiler options ...] ssl/qsslcertificate.cpp

Question: What is that file? What should I do so the build process can continue past that point?

Note: There is a file called krb5_asn.h where I think krb5.h is supposed to be.

wysota
24th May 2009, 12:37
This is a file related to kerberos. To continue compilation you must make sure OPENSSL_NO_KRB5 is defined in your OpenSSL installation or you should install Kerberos development files (krb5.h should be in /usr/include/ or /usr/include/krb5/).

paulocarvalho_br_2009
24th May 2009, 17:13
I haven't figured out those options. Instead I disabled Openssl support and the build completed without any problems (./configure -no_openssl), because I was only interested in altering qmake's sources and compiling it. By the way, how can I share the enhancementes I made to qmake? Thank you.