Now I'm trying to build libguestfs-1.4.6, but I get a completely different error:
...
mkdir -p ../perl/lib/Sys
mkdir -p ../ruby/ext/guestfs
mkdir -p ../java/com/redhat/et/libguestfs
mkdir -p ../csharp
cd .. && ocaml -warn-error A src/generator.ml
Cannot find file xml-light.cma.
File "src/generator.ml", line 11819, characters 4-53:
Unbound constructor Xml.Element
make[3]: *** [stamp-generator] Error 2