Building unbound on MXE (short version)

W.C.A. Wijngaards wouter at nlnetlabs.nl
Tue Jul 12 09:01:57 UTC 2016


Hi Henri,

http://www.nlnetlabs.nl/~wouter/unbound-1.5.10_20160712.tar.gz

This is a snapshot of the code repository with the files from today.

Best regards, Wouter

On 12/07/16 10:57, Henri Manson wrote:
> Hello Wouter,
> 
> Can you make an unbound release (unbound-X.Y.Z.tar.gz) containing these
> changes? Then I can try to make a MXE project out of it
> 
> Best regards, Henri
> 
> On Tue, Jul 5, 2016 at 9:25 AM, W.C.A. Wijngaards via Unbound-users
> <unbound-users at unbound.net <mailto:unbound-users at unbound.net>> wrote:
> 
>     Hi Henri,
> 
>     I made slightly different fixes for these issues:
>     if echo $host $target | grep mingw32 >/dev/null; then on_mingw="yes"
>     And the sldns_wire2str stuff is fixed with extra link arguments in
>     Makefile.in for anchor-update.exe.
> 
>     That should make the build work also for other ports than MXE.
> 
>     Best regards, Wouter
> 
>     On 04/07/16 23:11, Henri Manson via Unbound-users wrote:
>     > After changing:
>     >
>     > manson at manson-VirtualBox:~/unbound$ svn diff configure
>     libunbound/ubsyms.def
>     > Index: configure
>     > ===================================================================
>     > --- configure   (revision 3802)
>     > +++ configure   (working copy)
>     > @@ -4055,7 +4055,7 @@
>     >  # are we on MinGW?
>     >  if uname -s 2>&1 | grep MINGW32 >/dev/null; then on_mingw="yes"
>     >  else
>     > -       if echo $target | grep mingw32 >/dev/null; then on_mingw="yes"
>     > +       if echo $host | grep mingw32 >/dev/null; then on_mingw="yes"
>     >         else on_mingw="no"; fi
>     >  fi
>     >
>     > Index: libunbound/ubsyms.def
>     > ===================================================================
>     > --- libunbound/ubsyms.def       (revision 3802)
>     > +++ libunbound/ubsyms.def       (working copy)
>     > @@ -33,3 +33,5 @@
>     >  ub_strerror
>     >  ub_version
>     >  ub_wait
>     > +sldns_wire2str_rdata_buf
>     > +sldns_wire2str_type_buf
>     >
>     > and invoking
>     >
>     > ./configure --host=x86_64-w64-mingw32.shared
>     > --build=x86_64-unknown-linux-gnu
>     > --prefix=/home/manson/nlnet/mxe/usr/x86_64-w64-mingw32.shared
>     > --disable-flto --enable-shared --without-pthreads
>     > --with-libexpat=/home/manson/nlnet/mxe/usr/x86_64-w64-mingw32.shared
>     > LIBS=-lssl -L/home/manson/nlnet/mxe/usr/x86_64-w64-mingw32.shared/lib
>     > -lcrypto
>     >
>     > unbound builds on MXE 64-bits shared
>     >
>     > I think it's best to apply the fixes upstream before creating an
>     > official MXE .mk package
>     >
>     > Henri
> 
> 
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.nlnetlabs.nl/pipermail/unbound-users/attachments/20160712/0ee56357/attachment.bin>


More information about the Unbound-users mailing list