On Wed, Nov 06, 2013 at 11:17:14AM -0700, Jon wrote:
I tried to comment this out and recompile guestfs, but I get an
error:
make[2]: Entering directory `/root/libguestfs-1.25.6/builder'
ocamlfind ocamlopt -g -warn-error CDEFLMPSUVYZX -package str,unix -I
../src/.libs -I ../ocaml -I ../mllib -package gettext-stub -c builder.ml -o
builder.cmx
File "builder.ml", line 53, characters 4-14:
Error: Unbound value List.iteri
make[2]: *** [builder.cmx] Error 2
make[2]: Leaving directory `/root/libguestfs-1.25.6/builder'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/libguestfs-1.25.6'
make: *** [all] Error 2
Hmm, this is actually another bug :-( The attached patch should fix
this one and allow you to compile libguestfs with the older version of
OCaml that didn't have List.iteri.
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