SASL Cross compilation for BSD

sachidananda sahu sachi059 at gmail.com
Mon Mar 25 00:33:38 EDT 2019


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 <cyrus-sasl-request at lists.andrew.cmu.edu>
wrote:

> Send Cyrus-sasl mailing list submissions to
>         cyrus-sasl at lists.andrew.cmu.edu
>
> 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
>         cyrus-sasl-request at lists.andrew.cmu.edu
>
> You can reach the person managing the list at
>         cyrus-sasl-owner at lists.andrew.cmu.edu
>
> 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 <sachi059 at gmail.com>
> To: cyrus-sasl at lists.andrew.cmu.edu
> Message-ID:
>         <CAG2=
> 8_pMKEUeVWtbifTmOhReC43WNo_aczDZLhGD1n9W-ORkDQ at mail.gmail.com>
> 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
> Cyrus-sasl at lists.andrew.cmu.edu
> https://lists.andrew.cmu.edu/mailman/listinfo/cyrus-sasl
>
>
> ------------------------------
>
> End of Cyrus-sasl Digest, Vol 158, Issue 1
> ******************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.andrew.cmu.edu/pipermail/cyrus-sasl/attachments/20190325/afabe8d6/attachment.html>


More information about the Cyrus-sasl mailing list