Since the base krb5 included with FreeBSD doesnt include gssapi_krb5.h, I needed to install the krb5 port which has it. After installing the krb5 port it compiles fine from scratch, but the FreeBSD dovecot-devel port doesnt work and gives some fun errors: /usr/lib/libgssapi.so: undefined reference to `krb5_rd_cred2' /usr/lib/libgssapi.so: undefined reference to `krb5_crypto_destroy' /usr/lib/libgssapi.so: undefined reference to `krb5_ret_address' /usr/lib/libgssapi.so: undefined reference to `krb5_ret_data' ... ...
However, that's a problem for another list I suppose. -c
