<div dir="ltr">Hello,<div>Has anyone tried building nginx code on Mac ? I get the following error while building. Have installed pcre and other needed libraries</div><div><br></div><div>
<p class=""><b>src/mail/ngx_mail_handler.c:1152:30: </b><span class=""><b>error: </b></span><b>use of undeclared identifier 'sasl_callback_ft'; did you mean</b><br></p>
<p class=""><b> 'sasl_callback_t'?</b></p>
<p class=""> callbacks[i].proc = (sasl_callback_ft)&ngx_mail_sasl_log;</p>
<p class=""><b> ^</b></p>
<p class=""><b>/usr/include/sasl/sasl.h:349:3: note: </b>'sasl_callback_t' declared here</p>
<p class="">} sasl_callback_t;</p>
<p class=""><b> ^</b></p>
<p class=""><b>src/mail/ngx_mail_handler.c:1157:30: </b><span class=""><b>error: </b></span><b>use of undeclared identifier 'sasl_callback_ft'; did you mean</b></p>
<p class=""><b> 'sasl_callback_t'?</b></p>
<p class=""> callbacks[i].proc = (sasl_callback_ft)&ngx_mail_sasl_pauthorize;</p>
<p class=""><b> ^</b></p>
<p class=""><b>/usr/include/sasl/sasl.h:349:3: note: </b>'sasl_callback_t' declared here</p>
<p class="">} sasl_callback_t;</p>
<p class=""><b> ^</b></p>
<p class="">2 errors generated.</p>
<p class="">make[2]: *** [objs/src/mail/ngx_mail_handler.o] Error 1</p>
<p class="">make[1]: *** [install] Error 2</p>
<p class="">make: *** [build] Error 2</p>
<p class=""><br></p><p class="">Thanks</p><p class="">-Kunal</p></div></div>