File "lvs.ml", line 11... : Error: Unbound value Guestfs.create
On F12, I'm getting this build failure: ocamlfind ocamlopt -ccopt '-L ../../src/.libs' \ -warn-error A -I .. mlguestfs.cmxa lvs.ml -o lvs File "lvs.ml", line 11, characters 10-24: Error: Unbound value Guestfs.create make[2]: *** [lvs] Error 2 Admittedly with STREQ-related changes, but they seem unrelated...
On Mon, Nov 09, 2009 at 10:20:30PM +0100, Jim Meyering wrote:
On F12, I'm getting this build failure:
ocamlfind ocamlopt -ccopt '-L ../../src/.libs' \ -warn-error A -I .. mlguestfs.cmxa lvs.ml -o lvs File "lvs.ml", line 11, characters 10-24: Error: Unbound value Guestfs.create make[2]: *** [lvs] Error 2
Admittedly with STREQ-related changes, but they seem unrelated...
I'm sure we've seen this one before. It's due to the ocaml/examples directory being compiled before the ocaml/ directory, and this is supposed to have fixed it: http://git.et.redhat.com/?p=libguestfs.git;a=commitdiff;h=c6b8db6493dd633bf4... Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into Xen guests. http://et.redhat.com/~rjones/virt-p2v
On Tue, Nov 10, 2009 at 12:18:03PM +0000, Richard W.M. Jones wrote:
On Mon, Nov 09, 2009 at 10:20:30PM +0100, Jim Meyering wrote:
Error: Unbound value Guestfs.create
BTW this particular error is caused because the compiler can't find the file "guestfs.cmi" (which in which case should be in ocaml/guestfs.cmi). If that file is missing, then there's a dependency or parallel build problem. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming blog: http://rwmj.wordpress.com Fedora now supports 80 OCaml packages (the OPEN alternative to F#) http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora
participants (2)
-
Jim Meyering -
Richard W.M. Jones