Re: SASL Cross compilation for BSD

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxx> wrote:
Send Cyrus-sasl mailing list submissions to
        cyrus-sasl@xxxxxxxxxxxxxxxxxxxx

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@xxxxxxxxxxxxxxxxxxxx

You can reach the person managing the list at
        cyrus-sasl-owner@xxxxxxxxxxxxxxxxxxxx

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@xxxxxxxxx>
To: cyrus-sasl@xxxxxxxxxxxxxxxxxxxx
Message-ID:
        <CAG2=8_pMKEUeVWtbifTmOhReC43WNo_aczDZLhGD1n9W-ORkDQ@xxxxxxxxxxxxxx>
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@xxxxxxxxxxxxxxxxxxxx
https://lists.andrew.cmu.edu/mailman/listinfo/cyrus-sasl


------------------------------

End of Cyrus-sasl Digest, Vol 158, Issue 1
******************************************



[Index of Archives]     [Info Cyrus]     [Squirrel Mail]     [Linux Media]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux