I have kerberos and krb4 in my USE flags. I think the problem is: the configure script find the krb presence, but won't includes the headers. When i edit two files in the source, i can compile it, but i must do this every time, when there is a new version available. i'm editing vfs/smb/includes.h and adding #include <krb5.h> #include <gssapi.h> lines into it, and i'm editing vfs/Makefile.in and adding -I/usr/include/heimdal to the CFLAGS option. Now i can merge mc with the ebuild ... merge command. That is not a beautiful resolution, and this is works only with heimdal. Please help me, and make a universal vfs/smb patch for mc, to sole this problem Reproducible: Always Steps to Reproduce: 1. kerberos is in the USE flags 2. heimdal is installed on the system, mit-krb5 not. 3. emerge mc Actual Results: won't compile Expected Results: find correctly the heimdal includes and libs, and compile with normaly Portage 2.0.50-r10 (default-x86-1.4, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.4.26-gentoo-r9-proxy) ================================================================= System uname: 2.4.26-gentoo-r9-proxy i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium4 -funroll-loops -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /opt/glftpd/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium4 -funroll-loops -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.math.bme.hu" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X accessibility acl acpi adns apache2 apm arts avi berkdb bidi cdb cdr crypt cscope cups curl dedicated doc dvd dvdr emacs emacs-w3 encode esd ethereal fam fastcgi foomaticdb freetds gdbm gif gnome gpm gtk gtk2 imap imlib inoodb ipv6 java jikes jpeg kde kerberos krb4 ldap leim libg++ libwww linguas_hu mad mikmod mmx motif mozilla mpeg mule mysql nas ncurses nls nocardbus nocd oci8 odbc oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sasl sdl slang snmp spell sse ssl svga tcltk tcpd tetex tiff truetype unicode usb wmf x86 xml xml2 xmms xv zlib"
*** Bug 59269 has been marked as a duplicate of this bug. ***
fixed in mc-4.6.0-r11