Thanks Rich! I was able to get OPAM to install the newer ocaml-libvirt version from a local copy and that resolved the compile issue building virt-top-1.0.8 from source. Regards, Chris ---- "Richard W.M. Jones" <rjones@xxxxxxxxxx> wrote: > On Mon, Aug 25, 2014 at 01:25:33PM -0600, Eric Blake wrote: > > On 08/24/2014 10:59 PM, cjlove@xxxxxxxxxx wrote: > > > Hi all, > > > > [can you configure your mailer to wrap long lines?] > > > > > > > > I was curious whether anyone has successfully built virt-top (version 1.0.8) on SUSE SLES11 SP3. > > > > As mentioned on http://people.redhat.com/~rjones/virt-top/, you might > > get a better response by asking the virt-tools list (added in cc). > > > > > SUSE's ocaml support is rather limited, so I've built ocaml 4.00.1 > > from source and installed the necessary dependencies using Opam. > > > > > > I'm still running into a compile error on virt_top.ml, line 697: > > > Error: This expression has type int -> D.typed_param list array > > > but an expression was expected of type > > > (string * D.typed_param_value) list array > > [Thanks Eric] > > This is not pretty, but what happened is that Hu Tao from Fujitsu and > Dave Scott from Citrix added a bunch of new features to > ocaml-libvirt[1]. > > One of these new features changes the API for an existing function. > However there is no released tarball containing this change -- the > ocaml-libvirt 0.6.1.2 in Fedora is patched. > > That causes the above error when you use new virt-top with > ocaml-libvirt 0.6.1.2 tarball without this patch. > > I have just released ocaml-libvirt 0.6.1.4 which contains this patch. > Unfortunately I cannot upload it to the website[2] for some reason > right now, so I have put it here[3] instead temporarily. > > You will need to persuade the OPAM developers to move to this version. > > Rich. > > [1] http://libvirt.org/ocaml/ > [2] http://libvirt.org/sources/ocaml/ > [3] http://oirase.annexia.org/tmp/ocaml-libvirt-0.6.1.4.tar.gz > > -- > Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones > Read my programming and virtualization blog: http://rwmj.wordpress.com > virt-builder quickly builds VMs from scratch > http://libguestfs.org/virt-builder.1.html _______________________________________________ libvirt-users mailing list libvirt-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvirt-users