Re: SASL Cross compilation for BSD
sachidananda sahu <[email protected]> Mon, 25 Mar 2019 10:03:38 +0530
| Newsgroups | gmane.comp.security.cyrus.sasl |
|---|---|
| Message-ID | <CAG2=8_qbLJ6BPFjc9zhdvMh0BighSfOXUaKgrSsNLEERBKxCUQ@mail.gmail.com> |
Hello All, I was able proceed by applying the patch in m4/sasl2.m4 +++ b/m4/sasl2.m4 2018-11-18 22:33:59.828746176 +0300 @@ -339,7 +339,8 @@ ], [ AC_DEFINE(HAVE_GSS_SPNEGO,,[Define if your GSSAPI implementation supports SPNEGO]) AC_MSG_RESULT(yes) ], - AC_MSG_RESULT(no)) + AC_MSG_RESULT(no), + AC_MSG_RESULT(no)) LIBS="$cmu_save_LIBS" else Reference: https://github.com/NixOS/nixpkgs/commit/b13af1e87b26a3ee7d81c4b237710a93e1f243e8 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. Any one faced this problem earlier ? Do i need to run any other command instead of "autoreconf -f --install" for generating the build files. Thanks, Sachidananda On Tue, Mar 19, 2019 at 9:30 PM <[email protected]> wrote: > Send Cyrus-sasl mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.andrew.cmu.edu/mailman/listinfo/cyrus-sasl > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Cyrus-sasl digest..." > > > Today's Topics: > > 1. (sachidananda sahu) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 19 Mar 2019 17:41:39 +0530 > From: sachidananda sahu <[email protected]> > To: [email protected] > Message-ID: > <CAG2= > [email protected]> > Content-Type: text/plain; charset="utf-8" > > Hi All, > I was trying to cross compile Cyrus sasl for LDAP purpose but getting this > following error. > > *checking for SPNEGO support in GSSAPI libraries... configure: error: in * > *configure: error: cannot run test program while cross compiling* > See `config.log' for more details > > Cyrus SASL library version : cyrus-sasl-2.1.27 > Command used : configure --host=x86_64-unknown-freebsd9 > --cache=config.cache --disable-ntlm --disable-otp --disable-sample > --enable-gssapi --with-des=no --with-gss-impl=mit > > The machine details > build system type... x86_64-unknown-linux-gnu > host system type... x86_64-unknown-freebsd9 > target system type... x86_64-unknown-freebsd9 > > Can anyone help me how can we cross compile it ? > > -- > Regards, > Sachidananda Sahu > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://lists.andrew.cmu.edu/pipermail/cyrus-sasl/attachments/20190319/d3f8b670/attachment-0001.html > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > Cyrus-sasl mailing list > [email protected] > https://lists.andrew.cmu.edu/mailman/listinfo/cyrus-sasl > > > ------------------------------ > > End of Cyrus-sasl Digest, Vol 158, Issue 1 > ****************************************** >