error: iostream-ssl.h: No such file or directory

Herbert J. Skuhra herbert at oslo.ath.cx
Sat Dec 20 00:38:40 UTC 2014


On Fri, Dec 19, 2014 at 05:17:58PM +0100, Tobi wrote:
> Hi list
> 
> I'm trying to build dovecot 2.2.15 from source on a debian wheezy 
> (64bit). As I wanted to get starttls support for dovecot's lmtp I got 
> the patched files from here: 
> http://hg.dovecot.org/dovecot-2.2/rev/297192cfbd37
> 
> My ./configure
> 
> ./configure --prefix=/usr/local/dovecot-test --with-solr --with-mysql 
> --with-sql --without-shadow --without-pam
> 
> configure seems to run fine but the following make ends up in
> 
> client.c:17:26: fatal error: iostream-ssl.h: No such file or directory
> compilation terminated.
> make[3]: *** [client.o] Error 1
> make[3]: Leaving directory `/usr/local/src/dovecot-2.2.15/src/lmtp'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/local/src/dovecot-2.2.15/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/src/dovecot-2.2.15'
> make: *** [all] Error 2
> 
> Any ideas what I'm missing? libssl-dev is installed via apt

AM_CPPFLAGS in src/lmtp/Makefile.in does not include -I$(top_srcdir)/src/lib-ssl-iostream.

Try:

% rm src/lmtp/Makefile.in
% automake
% ./configure
% make

or the below patch:

--- src/lmtp/Makefile.in.orig	2014-12-20 01:34:24.954195978 +0100
+++ src/lmtp/Makefile.in	2014-12-20 01:36:26.757153501 +0100
@@ -356,6 +356,7 @@
 	-I$(top_srcdir)/src/lib-index \
 	-I$(top_srcdir)/src/lib-master \
 	-I$(top_srcdir)/src/lib-lda \
+	-I$(top_srcdir)/src/lib-ssl-iostream \
 	-I$(top_srcdir)/src/lib-storage \
 	-I$(top_srcdir)/src/lib-storage/index \
 	-I$(top_srcdir)/src/lib-storage/index/raw

-- 
Herbert



More information about the dovecot mailing list