FAQ Search Today's Posts Mark Forums Read

» Linux Archive
Home
New Posts
Search
FAQ


Go Back   Linux Archive > Redhat > Fedora/Linux Management Tools

 
 
LinkBack Thread Tools
 
Old 08-07-2008, 07:56 PM
Charles Duffy
 
Default virt-mem 0.2.9 build failure against ocaml-libvirt-0.4.4.2

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

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
 
Old 08-08-2008, 02:51 PM
"Richard W.M. Jones"
 
Default virt-mem 0.2.9 build failure against ocaml-libvirt-0.4.4.2

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

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
 

Thread Tools




All times are GMT. The time now is 10:14 AM.

VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org