[Libguestfs] [PATCH libnbd 0/2] Two patches to make libnbd work on FreeBSD.

Martin Kletzander mkletzan at redhat.com
Thu Jul 4 07:45:26 UTC 2019


On Wed, Jul 03, 2019 at 05:17:42PM +0100, Richard W.M. Jones wrote:
>Two simple patches which make libnbd compile on FreeBSD.
>
>Are we OK to copy common/include/byte-swapping.h from nbdkit?  There
>is no license issue that I know of.  Should we put it in lib/ or
>create a common/ directory?  The header file is actually also needed
>by the tests (follow up patch for that) so putting it in common/ might
>make more sense.
>
>Some notes if you want to compile on FreeBSD:
>
> - OCaml is too old to run the generator, so you can't easily build
>   from git.  Tarball builds should work, or you can copy the
>   generated files across from a Linux machine.
>

Are you sure?  I checked repology.org and it says the FreeBSD Ports have 4.05.0,
which I managed to make work by a simple patch some time ago.  I'm setting up a
FreeBSD machine to try it out.

> - Running the tests is difficult because there is no nbdkit package
>   for FreeBSD.  With a local build of nbdkit you can play with PATH
>   and PKG_CONFIG_PATH to get the tests to work.
>
>Rich.
>
>
>_______________________________________________
>Libguestfs mailing list
>Libguestfs at redhat.com
>https://www.redhat.com/mailman/listinfo/libguestfs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20190704/23c81e2a/attachment.sig>


More information about the Libguestfs mailing list