I have set kerberos in my use flags, kerberos is installed and when I want to emerge cyrus-imapd (or admin) it fails that kerberos wasn't compiled with DES Reproducible: Always Steps to Reproduce: 1. USE="kerberos" 2. emerge cyrus-imapd 3. b0rks during config Actual Results: 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 Expected Results: a running cyrus imap daemon :) Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4) ================================================================= System uname: 2.4.20-ck6 i586 AMD-K6(tm) 3D processor GENTOO_MIRRORS="http://gentoo.inode.at http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 oss apm avi encode gnome libg++ mikmod mpeg pdflib quicktime spell xmms xv gdbm tcltk guile esd motif mozilla 3dnow acl alsa apache2 arts berkdb canna cjk crypt cups curl dga directfb fbcon freewnn gd gif gpm gtk gtk2 imap imlib innodb ipv6 java jpeg kde kerberos libwww maildir mcal mmx mysql ncurses nls odbc oggvorbis opengl pam perl png postgres python qt readline ruby samba sasl sdl slang snmp ssl svga tcpd tetex tiff truetype usb wmf X xml xml2 zlib" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=k6 -O2 -pipe" CXXFLAGS="-march=k6 -O2 -pipe" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache userpriv usersandbox"
Hi, can you let me know if it installed kerberos on your machine, or if you already had it (or neither). Thanks :)
I do have kerberos installed BEFORE I installed (or tried to) cyrus-imapd. thought even if I haven't installed it before as I requested it in the USE list it would have installed before, and even more, the error messages shows that kerberos IS installed, but not correctly compiled for the use with cyrus-imapd linux-clemens linux # emerge -s krb Searching... [ Results for search key : krb ] [ Applications found : 3 ] * app-crypt/kth-krb Latest version available: 1.2.1 Latest version installed: [ Not Installed ] Size of downloaded files: 1,832 kB Homepage: http://www.pdc.kth.se/kth-krb/ Description: Kerberos 4 implementation from KTH * app-crypt/mit-krb5 Latest version available: 1.2.7 Latest version installed: 1.2.7 Size of downloaded files: 5,374 kB Homepage: http://web.mit.edu/kerberos/www/ Description: MIT Kerberos V * app-crypt/pam_krb5 Latest version available: 1.0 Latest version installed: [ Not Installed ] Size of downloaded files: 12 kB Homepage: http://www.fcusack.com/ Description: Pam module for MIT Kerberos V
hi woodchip, any ideas why this happened? I'm not good with kerberos..
also getting errors when using kerberos and emerge cyrus-sasl
I tried to emerge cyrus-imapd (2.1.14) but compiling quit with the same message as above (...You might want --with-auth=unix. ). Tried it with mit-krb5 (1.2.7), kth-krb (1.2.1, which does not compile for me) and even with heimdal (had to use --nodeps) without success. This bug seems to be related to bug 14863. http://bugs.gentoo.org/show_bug.cgi?id=14863 My system is a fresh 1.4-rc4 (if it matters).
this is beyond my abilities to fix I'm afraid :(
I have exactly the same problem... It complains about a missing des library: [root@atlas(pts/0):cyrus-imapd]$ epm -ql mit-krb5 | grep des /usr/share/man/man1/kdestroy.1.gz /usr/bin/kdestroy /usr/lib/libdes425.a /usr/lib/libdes425.so.3.0 /usr/lib/libdes425.so /usr/lib/libdes425.so.3 /usr/include/kerberosIV/des.h [root@atlas(pts/0):cyrus-imapd]$ must be /usr/include/kerberosIV/des.h ... anyway, I've tried adding ' --with-krb=/usr/include/kerberosIV' to ${myconf} but that didn't help. Did the committer of this ebuild (msterret) even test that?!
this should be fixed in cvs for versions 2.1.14 and new 2.1.15. Please try it and report back.
Please reopen if the latest version didn't work.
same problem with: net-mail/cyrus-imap-admin-2.1.14 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-imap-admin-2.1.14 failed. !!! Function econf, Line 365, Exitcode 1 !!! econf failed
It might be the -ldes library is the one from kth-krb. Beware it is not compatible with the same library function from libcrypty bundled in openssl. In general, be sure you have not installed kth-krb before 1.3 and have a recent openssl library. I did not have a look into cyrus-imapd, but if it requires you only some krb4 implementation you have bad luck. It is not supported anymore by Gentoo. You have to install eithe rmit-krb or heimdal as krb5 implementations. But, I don't know whether they are supported by cyrus. ;) Make sure you have no mit-krb installed together with heimdal. I suspect their filenames still clash with each other.