Hi!
I'm currently investigating a switch from courier-imap to dovecot since a number of our users experience problems with Outlook in combination with SSL.
I can compile dovecot with openssl support and it runs "fine" except that the Outlook issues are still there. I read that dovecot works best with GnuTLS and thought that I'd try to compile for that instead.
The system is running SuSE 9.3.
I've installed the gnutls-library and configure runs fine, but make stops. My configure arguments is ./configure --with-vpopmail --with-ssl=gnutls
Make stops with the following info:
make[3]: Entering directory
/usr/src/qmail/dovecot-beta-test/dovecot-1.0.beta5/src/master' /bin/sh ../../libtool --tag=CC --mode=link gcc -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -o ssl-build-param ssl-init-main.o ssl-init-openssl.o ssl-init-gnutls.o ../lib/liblib.a -lgnutls -lgcrypt gcc -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -o ssl-build-param ssl-init-main.o ssl-init-openssl.o ssl-init-gnutls.o ../lib/liblib.a -lgnutls -lgcrypt ssl-init-gnutls.o(.text+0x93): In function
_ssl_generate_parameters':
/usr/src/qmail/dovecot-beta-test/dovecot-1.0.beta5/src/master/ssl-init-gnutl
s.c:34: undefined reference to gnutls_dh_params_generate' ssl-init-gnutls.o(.text+0x11d):/usr/src/qmail/dovecot-beta-test/dovecot-1.0. beta5/src/master/ssl-init-gnutls.c:57: undefined reference to
gnutls_rsa_params_generate'
collect2: ld returned 1 exit status
make[3]: *** [ssl-build-param] Error 1
make[3]: Leaving directory
/usr/src/qmail/dovecot-beta-test/dovecot-1.0.beta5/src/master' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory
/usr/src/qmail/dovecot-beta-test/dovecot-1.0.beta5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/usr/src/qmail/dovecot-beta-test/dovecot-1.0.beta5'
make: *** [all] Error 2
Any clues?
Kind regards Kristoffer