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 Thanks for any idea Cheers tobi
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 aptAM_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
On 12/19/2014 06:17 PM, 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/297192cfbd37Please note that is not the complete lmtp starttls implementation. There have been fixes, at least in: http://hg.dovecot.org/dovecot-2.2/rev/1d811ffd1832 and http://hg.dovecot.org/dovecot-2.2/rev/ef8b7e44e96c perhaps you should try the hg tip. The current enterprise version also has the lmtp starttls support, including fixes. br, Teemu Huovila
Seemingly Similar Threads
- [LLVMdev] MCJIT/interpreter and iostream
- [LLVMdev] Inclusion of iostream affects devirtualization in release_35
- [patch] Fix for bug in TLS/SSL for LMTP with chained certificates
- [LLVMdev] #include <iostream>
- Rinternals.h and iostream don't play nice together'