[Dovecot] 1.1RC8 and gssapi
Trying to compile 1.1rc8 from scratch on FreeBSD 6.3 as well as from the dovecot-devel port and I get an error when trying to include gssapi.
gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/lib -I../../src/lib-sql -I../../src/lib-settings -I../../src/lib-ntlm -I../../src/lib-otp -DAUTH_MODULE_DIR=\""/usr/local/lib/dovecot/auth"\" -DPKG_LIBEXECDIR=\""/usr/local/libexec/dovecot"\" -I/usr/include -I/usr/local/include -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT mech-gssapi.o -MD -MP -MF .deps/mech-gssapi.Tpo -c -o mech-gssapi.o mech-gssapi.c mech-gssapi.c:39:29: gssapi_krb5.h: No such file or directory *** Error code 1
Anybody else had luck with gssapi on freebsd?
-c
On Wed, 2008-06-04 at 11:00 -0600, Cassidy Larson wrote:
Trying to compile 1.1rc8 from scratch on FreeBSD 6.3 as well as from the dovecot-devel port and I get an error when trying to include gssapi.
gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/lib -I../../src/lib-sql -I../../src/lib-settings -I../../src/lib-ntlm -I../../src/lib-otp -DAUTH_MODULE_DIR=\""/usr/local/lib/dovecot/auth"\" -DPKG_LIBEXECDIR=\""/usr/local/libexec/dovecot"\" -I/usr/include -I/usr/local/include -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT mech-gssapi.o -MD -MP -MF .deps/mech-gssapi.Tpo -c -o mech-gssapi.o mech-gssapi.c mech-gssapi.c:39:29: gssapi_krb5.h: No such file or directory *** Error code 1
Do you have gssapi_krb5.h anywhere? Do you have krb5.h?
I have a /usr/include/krb5.h but no gssapi_krb5.h.
On Wed, Jun 4, 2008 at 11:03 AM, Timo Sirainen tss@iki.fi wrote:
Do you have gssapi_krb5.h anywhere? Do you have krb5.h?
On Wed, 2008-06-04 at 11:05 -0600, Cassidy Larson wrote:
I have a /usr/include/krb5.h but no gssapi_krb5.h.
I thought all systems having gssapi.h and krb5.h had also gssapi_krb5.h. But I guess if you don't care about cross-realm auth you don't need it. This fixes it: http://hg.dovecot.org/dovecot-1.1/rev/280e570a5ced (run autogen.sh and configure again)
that fixed the freebsd dovecot-devel port problem, once I uninstalled the krb5 port I had previously installed. So now it compiles as expected.
thanks!
-c
On Wed, Jun 4, 2008 at 11:34 AM, Timo Sirainen tss@iki.fi wrote:
On Wed, 2008-06-04 at 11:05 -0600, Cassidy Larson wrote:
I have a /usr/include/krb5.h but no gssapi_krb5.h.
I thought all systems having gssapi.h and krb5.h had also gssapi_krb5.h. But I guess if you don't care about cross-realm auth you don't need it. This fixes it: http://hg.dovecot.org/dovecot-1.1/rev/280e570a5ced (run autogen.sh and configure again)
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
participants (2)
-
Cassidy Larson
-
Timo Sirainen