Re: [libvirt-users] Building virt-top to SLES 11 SP3

Eric Blake
2014-08-25T19:25:33Z

On 08/24/2014 10:59 PM, cjlove@san.rr.com 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
>
> As a frame of reference I was able to build virt-top 1.0.8 from source on a
Fedora Core 20 box with the necessary ocaml -devel RPMs installed (also ocaml
4.00.1), so I don't know if I'm running into other dependency issues or
something else.  The ocaml-libvirt package version 0.6.1.2 compiles
successfully, which suggests that SLES 11 SP3 has a sufficient version of
libvirt.
>
> Thanks in advance,
>
>     Chris

--
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org