Results 1 to 3 of 3

Thread: build fails: krb5.h include file missing

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2009
    Location
    Rio de Janeiro/RJ/Brazil
    Posts
    20
    Thanks
    5
    Thanked 3 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Thumbs down build fails: krb5.h include file missing

    Greetings.

    I am trying to compile and build Qt in my machine. At some point, the process aborts with the following error:
    Qt Code:
    1. In file included from /usr/include/openssl/ssl.h:179,
    2. from ssl/qsslsocket_openssl_p.h:75,
    3. from ssl/qsslsocket_openssl_symbols_p.h:57,
    4. from ssl/qsslcertificate.cpp:109:
    5. /usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory
    To copy to clipboard, switch view to plain text mode 

    Command:
    Qt Code:
    1. g++ [... lots of compiler options ...] ssl/qsslcertificate.cpp
    To copy to clipboard, switch view to plain text mode 

    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.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,017 Times in 4,793 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: build fails: krb5.h include file missing

    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/).
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. The following user says thank you to wysota for this useful post:

    paulocarvalho_br_2009 (24th May 2009)

  4. #3
    Join Date
    May 2009
    Location
    Rio de Janeiro/RJ/Brazil
    Posts
    20
    Thanks
    5
    Thanked 3 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: build fails: krb5.h include file missing

    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.

Similar Threads

  1. QWT fails in debug build
    By steg90 in forum Qwt
    Replies: 1
    Last Post: 11th November 2011, 06:53
  2. Opengl
    By manmohan in forum Newbie
    Replies: 6
    Last Post: 27th February 2009, 10:23
  3. QApplication: no such file or directory
    By jochen_r in forum Newbie
    Replies: 13
    Last Post: 15th November 2008, 21:46
  4. Set up the Qt4.3.2 with Visual Studio 2005
    By lamoda in forum Installation and Deployment
    Replies: 6
    Last Post: 30th January 2008, 06:51
  5. Replies: 2
    Last Post: 8th November 2007, 20:15

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.