[et-mgmt-tools] virt-mem 0.2.9 build failure against ocaml-libvirt-0.4.4.2

Richard W.M. Jones rjones at redhat.com
Fri Aug 8 13:51:54 UTC 2008


On Thu, Aug 07, 2008 at 01:56:40PM -0500, Charles Duffy wrote:
> Trying to build virt-mem 0.2.9 against CentOS 5 + GODI OCaml install,  
> with ocaml-libvirt 0.4.4.2 and bitstring 1.9.7:
>
> ocamlfind ocamlc -dtypes -g -syntax bitstring.syntax -package  
> unix,bigarray,extlib,libvirt,xml-light,bitstring.syntax -c  
> virt_mem_utsname.ml
> File "virt_mem_utsname.ml", line 81, characters 61-65:
> This expression has type unit but is here used with type
>   Virt_mem_types.utsname option
> make[1]: *** [virt_mem_utsname.cmo] Error 2
> make[1]: Leaving directory `/root/virt-mem-0.2.9/lib'
> make: *** [all] Error 1

Yes, that'll be a bug then (and a rather nasty one at that in the
ocaml-gettext package).  This patch should fix it:

http://hg.et.redhat.com/virt/applications/virt-mem--devel/?cs=80466cc75fbc

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
Read my OCaml programming blog: http://camltastic.blogspot.com/
Fedora now supports 60 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora




More information about the et-mgmt-tools mailing list