[Libguestfs] [PATCH] Fix building on architectures where ocamlopt is not available

Richard W.M. Jones rjones at redhat.com
Tue Mar 11 11:30:53 UTC 2014


On Tue, Mar 11, 2014 at 12:07:44PM +0100, Olaf Hering wrote:
> On Tue, Mar 11, Richard W.M. Jones wrote:
> > How about carrying it as a downstream patch (just for 1.24)?
> 
> It requires changes to Makefile.in as well because, depending on the
> distversion, automake is too old at least in SLES11.

Yes, this is annoying.  The way I do it for Fedora is to carry a patch
for Makefile.in as well.  This patch still has to be prepared with
automake 1.13, so you'd have to make the patch on an OpenSUSE 13.1
box.  Something like this:

tar zxf libguestfs-1.24.8.tar.gz
cp -a libguestfs-1.24.8 libguestfs-1.24.8.old
pushd libguestfs-1.24.8
patch -p1 < ../old.patch
automake
popd
diff -ur libguestfs-1.24.8.old libguestfs-1.24.8 > new.patch

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top




More information about the Libguestfs mailing list