This happens on configure, I only ran ./configure. This error is logged to stderr:
[root@host1 dovecot]# wget https://dovecot.org/releases/2.2/dovecot-2.2.27.tar.gz [root@host1 dovecot]# tar xzf dovecot-2.2.27.tar.gz [root@host1 dovecot]# cd dovecot-2.2.27 [root@host1 dovecot-2.2.27]# ./configure --with-ldap=yes --with-zlib --with-bzlib --with-solr > foo configure: error: conditional "SSL_VERSION_GE_102" was never defined. Usually this means the macro was only invoked conditionally. [root@host1 dovecot-2.2.27]# tail foo checking for library containing quota_open... no checking for XML_Parse in -lexpat... yes checking expat.h usability... yes checking expat.h presence... yes checking for expat.h... yes checking for sb_stemmer_new in -lstemmer... no checking for special_textcat_Init in -lexttextcat... no checking for special_textcat_Init in -ltextcat... no checking for valgrind... no checking that generated files are newer than configure... done
About openssl: [root@host1 dovecot-2.2.27]# rpm -qa | grep openssl openssl-1.0.1e-48.el6_8.3.x86_64
-----Mensagem original----- De: Timo Sirainen [mailto:tss@iki.fi] Enviada em: sábado, 3 de dezembro de 2016 22:11 Para: Ricardo Machini ricardomachini@gmail.com Cc: Dovecot Mailing List dovecot@dovecot.org Assunto: Re: RES: RES: v2.2.27 released
I don't see it, and can't really think of a good reason why it would happen. This happens in configure? And the first thing you ran was configure, right? No autogen.sh or autoconf/automake?
-bash-4.1# cat /etc/redhat-release CentOS release 6.8 (Final) -bash-4.1# uname -a Linux test-centos6.dovecot.net 2.6.32-642.6.1.el6.x86_64 #1 SMP Wed Oct 5 00:36:12 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux -bash-4.1# tar xzf dovecot-2.2.27.tar.gz -bash-4.1# cd dovecot-2.2.27 -bash-4.1# ./configure --with-ldap=yes --with-zlib --with-bzlib --with-solr > foo -bash-4.1# grep 102 foo -bash-4.1#
On 4 Dec 2016, at 1.38, Ricardo Machini ricardomachini@gmail.com wrote:
From tarball distribution: https://dovecot.org/releases/2.2/dovecot-2.2.27.tar.gz
Ricardo
-----Mensagem original----- De: Aki Tuomi [mailto:aki.tuomi@dovecot.fi] Enviada em: sábado, 3 de dezembro de 2016 19:43 Para: Dovecot Mailing List dovecot@dovecot.org; Ricardo Machini ricardomachini@gmail.com; dovecot-news@dovecot.org Assunto: Re: RES: v2.2.27 released
On December 3, 2016 at 11:20 PM Ricardo Machini ricardomachini@gmail.com wrote:
Helo Timo,
I tried to compile and got one error on Centos 6.8:
checking that generated files are newer than configure... done configure: error: conditional "SSL_VERSION_GE_102" was never defined. Usually this means the macro was only invoked conditionally.
# configure ./configure with-ldap=yes --with-zlib --with-bzlib --with-solr
Is this with the distribution tarball, or from git? If it's from git, you need to re-run ./autogen.sh to make sure everything is up to date.
Aki