configure: error: utf8_mime2text() has new signature, but U8T_CANONICAL is missing. This should not happen. Check config.log for additional information.The fix is to install (on Debian) the following packages: libc-client2007e-dev and libc-client2007e
# apt-get -y install libc-client2007e-dev libc-client2007eAlso, you need to add at the configure step the "--with-kerberos" option.