[Dovecot] Compile without GSSAPI disables SSL?

Troy Engel tengel at fluid.com
Fri Feb 2 19:58:12 UTC 2007


Perchance this is something unique to Red Hat -- I'm compiling/running 
1.0rc?? on a CentOS 4 machine (i386), building RPMs and trimming down 
things I don't need (SQL e.g.).

If I compile with the flag --with-gssapi, the resulting dovecot-auth 
binary links to libcrypto and libssl, the standard OpenSSL libs. Life is 
happy even though I don't need gssapi/krb5 support.

If I remove --with-gssapi (but leave --with-ssl=openssl as before), the 
resulting dovecot-auth binary is no longer linked to the OpenSSL 
libraries (so I'm assuming no TLS/SSL support, but can't run the binary 
to test - I have SSL betatest users).

So the question is, is this a ./configure problem in Dovecot, or some 
strangeness with Red Hat that you must link with gssapi/krb5 to get 
OpenSSL? Anyone care to hazard a guess?

-te

== details ==

The full configure line generated by the build is:

+ ./configure --build=i686-redhat-linux-gnu --host=i686-redhat-linux-gnu
--target=i386-redhat-linux-gnu --program-prefix= --prefix=/usr
--exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin 
--sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include 
--libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var 
--sharedstatedir=/usr/com --mandir=/usr/share/man 
--infodir=/usr/share/info 'INSTALL_DATA=install -c -p -m644' --with-doc 
--with-ssl=openssl --with-ssldir=/etc/pki/dovecot --with-ldap
--with-gssapi --with-linux-quota=2

With gssapi:

Install prefix ...................... : /usr
File offsets ........................ : 64bit
I/O loop method ..................... : poll
File change notification method ..... : dnotify
Building with SSL support ........... : yes (OpenSSL)
Building with IPv6 support .......... : yes
Building with pop3 server ........... : yes
Building with mail delivery agent  .. : yes
Building with GSSAPI support ........ : yes
Building with user database modules . : static prefetch passwd 
passwd-file checkpassword (modules)
Building with password lookup modules : passwd passwd-file shadow pam 
checkpassword (modules)
Building with SQL drivers ............:

Without gssapi:

Install prefix ...................... : /usr
File offsets ........................ : 64bit
I/O loop method ..................... : poll
File change notification method ..... : dnotify
Building with SSL support ........... : yes (OpenSSL)
Building with IPv6 support .......... : yes
Building with pop3 server ........... : yes
Building with mail delivery agent  .. : yes
Building with GSSAPI support ........ : no
Building with user database modules . : static prefetch passwd 
passwd-file checkpassword (modules)
Building with password lookup modules : passwd passwd-file shadow pam 
checkpassword (modules)
Building with SQL drivers ............:


-- 
Troy Engel | Systems Engineer
Fluid, Inc | http://www.fluid.com


More information about the dovecot mailing list