<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hello All,<div>I was able proceed by applying the patch in m4/sasl2.m4</div><div><table class="m_-195942539077271564gmail-highlight m_-195942539077271564gmail-tab-size m_-195942539077271564gmail-js-file-line-container" style="box-sizing:border-box;border-collapse:collapse;border-spacing:0px;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:14px"><tbody style="box-sizing:border-box"><tr style="box-sizing:border-box"><td id="m_-195942539077271564gmail-LC1" class="m_-195942539077271564gmail-blob-code m_-195942539077271564gmail-blob-code-inner m_-195942539077271564gmail-js-file-line" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;overflow:visible;white-space:pre-wrap"><br></td></tr><tr style="box-sizing:border-box"><td id="m_-195942539077271564gmail-L2" class="m_-195942539077271564gmail-blob-num m_-195942539077271564gmail-js-line-number" style="box-sizing:border-box;padding:0px 10px;color:rgba(27,31,35,0.3);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;line-height:20px;min-width:50px;text-align:right;vertical-align:top;white-space:nowrap;width:50px"></td><td id="m_-195942539077271564gmail-LC2" class="m_-195942539077271564gmail-blob-code m_-195942539077271564gmail-blob-code-inner m_-195942539077271564gmail-js-file-line" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;overflow:visible;white-space:pre-wrap"><span class="m_-195942539077271564gmail-pl-mi1" style="box-sizing:border-box;background-color:rgb(240,255,244);color:rgb(34,134,58)">+++ b/m4/sasl2.m4  2018-11-18 22:33:59.828746176 +0300</span></td></tr><tr style="box-sizing:border-box"><td id="m_-195942539077271564gmail-L3" class="m_-195942539077271564gmail-blob-num m_-195942539077271564gmail-js-line-number" style="box-sizing:border-box;padding:0px 10px;color:rgba(27,31,35,0.3);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;line-height:20px;min-width:50px;text-align:right;vertical-align:top;white-space:nowrap;width:50px"></td><td id="m_-195942539077271564gmail-LC3" class="m_-195942539077271564gmail-blob-code m_-195942539077271564gmail-blob-code-inner m_-195942539077271564gmail-js-file-line" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;overflow:visible;white-space:pre-wrap"><span class="m_-195942539077271564gmail-pl-mdr" style="box-sizing:border-box;color:rgb(111,66,193);font-weight:700">@@ -339,7 +339,8 @@</span></td></tr><tr style="box-sizing:border-box"><td id="m_-195942539077271564gmail-L4" class="m_-195942539077271564gmail-blob-num m_-195942539077271564gmail-js-line-number" style="box-sizing:border-box;padding:0px 10px;color:rgba(27,31,35,0.3);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;line-height:20px;min-width:50px;text-align:right;vertical-align:top;white-space:nowrap;width:50px"></td><td id="m_-195942539077271564gmail-LC4" class="m_-195942539077271564gmail-blob-code m_-195942539077271564gmail-blob-code-inner m_-195942539077271564gmail-js-file-line" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;overflow:visible;white-space:pre-wrap"> ],     </td></tr><tr style="box-sizing:border-box"><td id="m_-195942539077271564gmail-L5" class="m_-195942539077271564gmail-blob-num m_-195942539077271564gmail-js-line-number" style="box-sizing:border-box;padding:0px 10px;color:rgba(27,31,35,0.3);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;line-height:20px;min-width:50px;text-align:right;vertical-align:top;white-space:nowrap;width:50px"></td><td id="m_-195942539077271564gmail-LC5" class="m_-195942539077271564gmail-blob-code m_-195942539077271564gmail-blob-code-inner m_-195942539077271564gmail-js-file-line" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;overflow:visible;white-space:pre-wrap">       [ AC_DEFINE(HAVE_GSS_SPNEGO,,[Define if your GSSAPI implementation supports SPNEGO])</td></tr><tr style="box-sizing:border-box"><td id="m_-195942539077271564gmail-L6" class="m_-195942539077271564gmail-blob-num m_-195942539077271564gmail-js-line-number" style="box-sizing:border-box;padding:0px 10px;color:rgba(27,31,35,0.3);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;line-height:20px;min-width:50px;text-align:right;vertical-align:top;white-space:nowrap;width:50px"></td><td id="m_-195942539077271564gmail-LC6" class="m_-195942539077271564gmail-blob-code m_-195942539077271564gmail-blob-code-inner m_-195942539077271564gmail-js-file-line" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;overflow:visible;white-space:pre-wrap">   AC_MSG_RESULT(yes) ],</td></tr><tr style="box-sizing:border-box"><td id="m_-195942539077271564gmail-L7" class="m_-195942539077271564gmail-blob-num m_-195942539077271564gmail-js-line-number" style="box-sizing:border-box;padding:0px 10px;color:rgba(27,31,35,0.3);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;line-height:20px;min-width:50px;text-align:right;vertical-align:top;white-space:nowrap;width:50px"></td><td id="m_-195942539077271564gmail-LC7" class="m_-195942539077271564gmail-blob-code m_-195942539077271564gmail-blob-code-inner m_-195942539077271564gmail-js-file-line" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;overflow:visible;white-space:pre-wrap"><span class="m_-195942539077271564gmail-pl-md" style="box-sizing:border-box;background-color:rgb(255,238,240);color:rgb(179,29,40)"><span class="m_-195942539077271564gmail-pl-md" style="box-sizing:border-box">-</span>       AC_MSG_RESULT(no))</span></td></tr><tr style="box-sizing:border-box"><td id="m_-195942539077271564gmail-L8" class="m_-195942539077271564gmail-blob-num m_-195942539077271564gmail-js-line-number" style="box-sizing:border-box;padding:0px 10px;color:rgba(27,31,35,0.3);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;line-height:20px;min-width:50px;text-align:right;vertical-align:top;white-space:nowrap;width:50px"></td><td id="m_-195942539077271564gmail-LC8" class="m_-195942539077271564gmail-blob-code m_-195942539077271564gmail-blob-code-inner m_-195942539077271564gmail-js-file-line" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;overflow:visible;white-space:pre-wrap"><span class="m_-195942539077271564gmail-pl-mi1" style="box-sizing:border-box;background-color:rgb(240,255,244);color:rgb(34,134,58)"><span class="m_-195942539077271564gmail-pl-mi1" style="box-sizing:border-box">+</span>   AC_MSG_RESULT(no),</span></td></tr><tr style="box-sizing:border-box"><td id="m_-195942539077271564gmail-L9" class="m_-195942539077271564gmail-blob-num m_-195942539077271564gmail-js-line-number" style="box-sizing:border-box;padding:0px 10px;color:rgba(27,31,35,0.3);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;line-height:20px;min-width:50px;text-align:right;vertical-align:top;white-space:nowrap;width:50px"></td><td id="m_-195942539077271564gmail-LC9" class="m_-195942539077271564gmail-blob-code m_-195942539077271564gmail-blob-code-inner m_-195942539077271564gmail-js-file-line" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;overflow:visible;white-space:pre-wrap"><span class="m_-195942539077271564gmail-pl-mi1" style="box-sizing:border-box;background-color:rgb(240,255,244);color:rgb(34,134,58)"><span class="m_-195942539077271564gmail-pl-mi1" style="box-sizing:border-box">+</span>    AC_MSG_RESULT(no))</span></td></tr><tr style="box-sizing:border-box"><td id="m_-195942539077271564gmail-L10" class="m_-195942539077271564gmail-blob-num m_-195942539077271564gmail-js-line-number" style="box-sizing:border-box;padding:0px 10px;color:rgba(27,31,35,0.3);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;line-height:20px;min-width:50px;text-align:right;vertical-align:top;white-space:nowrap;width:50px"></td><td id="m_-195942539077271564gmail-LC10" class="m_-195942539077271564gmail-blob-code m_-195942539077271564gmail-blob-code-inner m_-195942539077271564gmail-js-file-line" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;overflow:visible;white-space:pre-wrap">   LIBS="$cmu_save_LIBS"</td></tr><tr style="box-sizing:border-box"><td id="m_-195942539077271564gmail-L11" class="m_-195942539077271564gmail-blob-num m_-195942539077271564gmail-js-line-number" style="box-sizing:border-box;padding:0px 10px;color:rgba(27,31,35,0.3);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;line-height:20px;min-width:50px;text-align:right;vertical-align:top;white-space:nowrap;width:50px"></td><td id="m_-195942539077271564gmail-LC11" class="m_-195942539077271564gmail-blob-code m_-195942539077271564gmail-blob-code-inner m_-195942539077271564gmail-js-file-line" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;overflow:visible;white-space:pre-wrap"> </td></tr><tr style="box-sizing:border-box"><td id="m_-195942539077271564gmail-L12" class="m_-195942539077271564gmail-blob-num m_-195942539077271564gmail-js-line-number" style="box-sizing:border-box;padding:0px 10px;color:rgba(27,31,35,0.3);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;line-height:20px;min-width:50px;text-align:right;vertical-align:top;white-space:nowrap;width:50px"></td><td id="m_-195942539077271564gmail-LC12" class="m_-195942539077271564gmail-blob-code m_-195942539077271564gmail-blob-code-inner m_-195942539077271564gmail-js-file-line" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;overflow:visible;white-space:pre-wrap"> else</td></tr></tbody></table></div></div>Reference:  <a href="https://github.com/NixOS/nixpkgs/commit/b13af1e87b26a3ee7d81c4b237710a93e1f243e8" target="_blank">https://github.com/NixOS/nixpkgs/commit/b13af1e87b26a3ee7d81c4b237710a93e1f243e8</a></div><div dir="ltr"><br></div><div>After the change to create new configure file, i ran autoreconf -f --install, then during compilation getting error wrt makemd5 cross compilation, so instead of taking custom compiler it's taking gcc and failing.</div><div><br></div><div>Any one faced this problem earlier ? Do i need to run any other command instead of "autoreconf -f --install" for generating the build files.</div><div dir="ltr"> </div><div>Thanks,</div><div>Sachidananda</div><div dir="ltr"><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 19, 2019 at 9:30 PM <<a href="mailto:cyrus-sasl-request@lists.andrew.cmu.edu" target="_blank">cyrus-sasl-request@lists.andrew.cmu.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Send Cyrus-sasl mailing list submissions to<br>
        <a href="mailto:cyrus-sasl@lists.andrew.cmu.edu" target="_blank">cyrus-sasl@lists.andrew.cmu.edu</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="https://lists.andrew.cmu.edu/mailman/listinfo/cyrus-sasl" rel="noreferrer" target="_blank">https://lists.andrew.cmu.edu/mailman/listinfo/cyrus-sasl</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:cyrus-sasl-request@lists.andrew.cmu.edu" target="_blank">cyrus-sasl-request@lists.andrew.cmu.edu</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:cyrus-sasl-owner@lists.andrew.cmu.edu" target="_blank">cyrus-sasl-owner@lists.andrew.cmu.edu</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Cyrus-sasl digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1.  (sachidananda sahu)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Tue, 19 Mar 2019 17:41:39 +0530<br>
From: sachidananda sahu <<a href="mailto:sachi059@gmail.com" target="_blank">sachi059@gmail.com</a>><br>
To: <a href="mailto:cyrus-sasl@lists.andrew.cmu.edu" target="_blank">cyrus-sasl@lists.andrew.cmu.edu</a><br>
Message-ID:<br>
        <CAG2=<a href="mailto:8_pMKEUeVWtbifTmOhReC43WNo_aczDZLhGD1n9W-ORkDQ@mail.gmail.com" target="_blank">8_pMKEUeVWtbifTmOhReC43WNo_aczDZLhGD1n9W-ORkDQ@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi All,<br>
I was trying to cross compile Cyrus sasl for LDAP purpose but getting this<br>
following error.<br>
<br>
*checking for SPNEGO support in GSSAPI libraries... configure: error: in *<br>
*configure: error: cannot run test program while cross compiling*<br>
See `config.log' for more details<br>
<br>
Cyrus SASL library version : cyrus-sasl-2.1.27<br>
Command used : configure --host=x86_64-unknown-freebsd9<br>
--cache=config.cache --disable-ntlm --disable-otp --disable-sample<br>
--enable-gssapi --with-des=no --with-gss-impl=mit<br>
<br>
The machine details<br>
build system type... x86_64-unknown-linux-gnu<br>
 host system type... x86_64-unknown-freebsd9<br>
 target system type... x86_64-unknown-freebsd9<br>
<br>
Can anyone help me how can we cross compile it ?<br>
<br>
-- <br>
Regards,<br>
Sachidananda Sahu<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.andrew.cmu.edu/pipermail/cyrus-sasl/attachments/20190319/d3f8b670/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.andrew.cmu.edu/pipermail/cyrus-sasl/attachments/20190319/d3f8b670/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
Cyrus-sasl mailing list<br>
<a href="mailto:Cyrus-sasl@lists.andrew.cmu.edu" target="_blank">Cyrus-sasl@lists.andrew.cmu.edu</a><br>
<a href="https://lists.andrew.cmu.edu/mailman/listinfo/cyrus-sasl" rel="noreferrer" target="_blank">https://lists.andrew.cmu.edu/mailman/listinfo/cyrus-sasl</a><br>
<br>
<br>
------------------------------<br>
<br>
End of Cyrus-sasl Digest, Vol 158, Issue 1<br>
******************************************<br>
</blockquote></div><br clear="all"><div><br></div></div></div></div></div></div>