<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
code
        {mso-style-priority:99;
        font-family:"Courier New";}
span.font
        {mso-style-name:font;}
span.size
        {mso-style-name:size;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:1401059751;
        mso-list-template-ids:-1597073554;}
@list l0:level1
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:36.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l0:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:72.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:"Courier New";
        mso-bidi-font-family:"Times New Roman";}
@list l0:level3
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:108.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level4
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:144.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level5
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:180.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level6
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:216.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level7
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:252.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level8
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:288.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level9
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:324.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=ES-AR link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi Ellie,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Thanks for the information. Forgot to mention, yes, the version we're testing is the latest release: 2.5.7.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Talking about master (I suppose you mean the v3.0), is there any ETA for the 3.0 release? How close to production-ready is the current state of beta1/master? It looks like the v3.0 has implemented a number of interesting features, it would be great to see the release soon! : )<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Regards,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Anatoli<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Cyrus-devel [mailto:cyrus-devel-bounces+me=anatoli.ws@lists.andrew.cmu.edu] <b>On Behalf Of </b>ellie timoney via Cyrus-devel<br><b>Sent:</b> Friday, April 08, 2016 02:44<br><b>To:</b> cyrus-devel@lists.andrew.cmu.edu<br><b>Subject:</b> Re: problem in configure with event-notification disabled<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>Hi Anatoli,<o:p></o:p></p></div><div><p class=MsoNormal> <o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=MsoNormal><span class=size><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>We've experimented with different configure options and found that when </span></span><span class=size><span style='font-size:10.0pt;font-family:"Courier New"'>--disable-event-notification</span></span><span class=size><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'> option is enabled, the configure script fails for other options with something like:</span></span><o:p></o:p></p></div><p><span class=size><span style='font-size:10.0pt;font-family:"Courier New"'>configure: error: Need libxml-2.0 for http</span></span><o:p></o:p></p><p><span class=size><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>After some analysis we found that the dependencies detection initialization logic is placed inside the condition of event-notification option, so when it's disabled, the initialization is not performed and the detection of libraries/dependencies fails. </span></span><o:p></o:p></p><p><span class=size><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>With this email I attach a simple patch that places the event-notification condition after the libraries detection initialization logic.</span></span><o:p></o:p></p></blockquote><div><p class=MsoNormal> <o:p></o:p></p></div><div><p class=MsoNormal>Well spotted, thanks!  I assume you're using Cyrus 2.5.x?<o:p></o:p></p></div><div><p class=MsoNormal> <o:p></o:p></p></div><div><p class=MsoNormal>configure is generated by autoconf from configure.ac, so the correct place to fix this is in configure.ac, at least on-going.<o:p></o:p></p></div><div><p class=MsoNormal> <o:p></o:p></p></div><div><p class=MsoNormal>It looks like the problem is due to the PKG_CHECK_MODULES macro first being invoked inside a bash conditional.  The problem, and its fix, is discussed in section 3.4 here: <a href="https://autotools.io/pkgconfig/pkg_check_modules.html">https://autotools.io/pkgconfig/pkg_check_modules.html</a><o:p></o:p></p></div><div><p class=MsoNormal> <o:p></o:p></p></div><div><p class=MsoNormal>And, it looks like it's already fixed on master, so I'll backport the fix to the 2.5 branch, and it will be included in the next release.<o:p></o:p></p></div><div><p class=MsoNormal> <o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=MsoNormal><span class=size><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>I would like to seize the opportunity and ask you for a clarification.. Does the event notification component make any sense under normal use conditions (IMAP with email clients like Thunderbird and Outlook)? If I understand it correctly, it's only needed for some special types of notifications like for xmpp clients, debugging and similar, not for something implemented in normal IMAP clients, so it makes sense to disable it for production use. Am I right?</span></span><o:p></o:p></p></div></blockquote><div><p class=MsoNormal> <o:p></o:p></p></div><div><p class=MsoNormal>I don't know much about it myself -- can someone else field this question please?<o:p></o:p></p></div><div><p class=MsoNormal> <o:p></o:p></p></div><div><p class=MsoNormal>Cheers,<o:p></o:p></p></div><div><p class=MsoNormal> <o:p></o:p></p></div><div><p class=MsoNormal>ellie<o:p></o:p></p></div><div><p class=MsoNormal> <o:p></o:p></p></div><div><p class=MsoNormal>On Fri, Apr 8, 2016, at 02:48 PM, Anatoli via Cyrus-devel wrote:<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><p><span class=size><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>Hi all,</span></span><o:p></o:p></p><p><span class=size><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'> </span></span><o:p></o:p></p><p><span class=size><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>Firstly, thanks, developers, for your hard work in creating Cyrus! We've deployed it recently and it worked as expected from the first try (after reading a lot of documentation first :).</span></span><o:p></o:p></p><p><span class=size><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'> </span></span><o:p></o:p></p><p><span class=size><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>We've experimented with different configure options and found that when </span></span><span class=size><span style='font-size:10.0pt;font-family:"Courier New"'>--disable-event-notification</span></span><span class=size><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'> option is enabled, the configure script fails for other options with something like:</span></span><o:p></o:p></p><p><span class=size><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'> </span></span><o:p></o:p></p><p><span class=size><span style='font-size:10.0pt;font-family:"Courier New"'>configure: error: Need libxml-2.0 for http</span></span><o:p></o:p></p><p><span class=size><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'> </span></span><o:p></o:p></p><p><span class=size><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>After some analysis we found that the dependencies detection initialization logic is placed inside the condition of event-notification option, so when it's disabled, the initialization is not performed and the detection of libraries/dependencies fails.</span></span><o:p></o:p></p><p><span class=size><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'> </span></span><o:p></o:p></p><p><span class=size><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>With this email I attach a simple patch that places the event-notification condition after the libraries detection initialization logic.</span></span><o:p></o:p></p><p><span class=size><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'> </span></span><o:p></o:p></p><p><span class=size><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'> </span></span><o:p></o:p></p><p><span class=size><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>I would like to seize the opportunity and ask you for a clarification.. Does the event notification component make any sense under normal use conditions (IMAP with email clients like Thunderbird and Outlook)? If I understand it correctly, it's only needed for some special types of notifications like for xmpp clients, debugging and similar, not for something implemented in normal IMAP clients, so it makes sense to disable it for production use. Am I right?</span></span><o:p></o:p></p><p><span class=size><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'> </span></span><o:p></o:p></p><p><span class=size><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>Thanks,</span></span><o:p></o:p></p><p><span class=size><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>Anatoli</span></span><o:p></o:p></p></div><p>Email had 1 attachment:<o:p></o:p></p><div><ul type=disc><li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1'><code><span style='font-size:10.0pt'>configure.patch</span></code><o:p></o:p></li></ul></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:36.0pt'>  1k (text/plain)<o:p></o:p></p></div></blockquote><div><p class=MsoNormal> <o:p></o:p></p></div></div></body></html>