User-Agent: Build Identifier: Emerge of net-mail/cyrus-imapd-2.1.11 fails with error message given below although Kerberos4 (app-crypt/kth-krb-1.2.1) and Kerberos5 (app-crypt/mit-krb5-1.2.6-r1) are both emerged. Reproducible: Always Steps to Reproduce: 1. set kerberos in USE flags 2. emerge net-mail/cyrus-imapd-2.1.11 Actual Results: Emerge fails with the following message: [...] checking for krb.h... no configure: warning: No Kerberos V4 found configure: error: Kerberos not found for authorization module !!! ERROR: net-mail/cyrus-imapd-2.1.11 failed. !!! Function econf, Line 308, Exitcode 1 !!! econf failed Expected Results: In step 2 the emerged Kerberos4 should have been found.
Is this related to bug #11013?
As a note, mit-krb5 is a masked package. cyrus-imapd is looking for a krb4 implementation which mit-krb5 is not but kth-krb is. I am changing the kerberos depend and configure options accordingly. Thanks for the heads up.
Sorry, I had app-crypt/krb5 emerged instead of app-crypt/mit-krb5. AFAIK cyrus-imapd uses GASSAPI/Kerberos5 by way of cyrus-sasl. As my USE flags contain sasl as well as kerberos I did/do not know the exact relationship of these USE flags and cyrus-imapd ebuild. Could it be possible that those 2 USE flags are being mixed up in the ebuild?
Compiles now. Thanks
*** Bug 17749 has been marked as a duplicate of this bug. ***
You say that is compiles now. Well, here it doesn't. I still get the error with cyrus-imapd-2.1.12 -- either the missing DES library or the missing kerberos header. So what has one to do to make it compile with Kerberos support?
Compiles how??? checking for res_search in -lresolv... (cached) yes checking for des_ecb_encrypt in -ldes... no configure: error: The Kerberos DES library is required for Kerberos support. You might want --with-auth=unix. !!! ERROR: net-mail/cyrus-imapd-2.1.13 failed. !!! Function econf, Line 304, Exitcode 1 !!! econf failed This is with app-crypt/mit-krb5 (USE="krb4") Do I need to emerge heimdal kth-krb instead and drop mit-krb5? Thanks, Norberto