[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help sought for compiling guestfs-browser


On 31-07-2011, Hilko Bengen <bengen@debian.org> wrote:
> Hi,
> I am trying to compile guestfs-browser[1], at the moment because I want
> to see if it's usable, but with the possible intent to package it. (I
> have just uploaded libguestfs and various bindings to experimental.)
> I have installed everything needed by the configure script
> (libcamomile-ocaml-data and libcamomile-ocaml-dev from experimental) and
> that works nicely. However, I get a bunch of compiler errors, as shown
> below[2].
> Does anyone have an idea what might be going wrong?
> Cheers,
> -Hilko
> [1] http://people.redhat.com/~rjones/guestfs-browser/files/guestfs-browser-0.2.1.tar.gz
> [2]
> $ make
> ocamlfind ocamldep -package libvirt,guestfs,hivex,lablgtk2,extlib,xml-light,calendar,camomile,threads,bitstring,bitstring.syntax -syntax bitstring cmdline.mli config.mli deviceSet.mli filetree_markup.mli filetree.mli menu_about.mli menu_open_disk.mli menu_open_uri.mli op_checksum_file.mli op_copy_regvalue.mli op_disk_usage.mli op_download_as_reg.mli op_download_dir_find0.mli op_download_dir_tarball.mli op_download_file.mli op_file_information.mli op_file_properties.mli op_inspection_dialog.mli op_view_file.mli slave.mli slave_types.mli slave_utils.mli utils.mli window.mli cmdline.ml deviceSet.ml filetree_markup.ml filetree.ml main.ml menu_about.ml menu_open_disk.ml menu_open_uri.ml op_checksum_file.ml op_copy_regvalue.ml op_disk_usage.ml op_download_as_reg.ml op_download_dir_find0.ml op_download_dir_tarball.ml op_download_file.ml op_file_information.ml op_file_properties.ml op_inspection_dialog.ml op_view_file.ml slave.ml slave_types.ml slave_utils.ml throbber.ml utils.ml w
 indow.ml | \
> 	  /bin/sed -e :a -e '/ *\\$/N; s/ *\\\n */ /; ta' | \
> 	  sort > .depend-t

Can you give us the version of bitstring, ocaml and camomile?

BTW, your command line seems wrong, it should be -syntax camlp4o rather
than -syntax bitstring.

> No level labelled ";" in entry "expr"
> Failure: "Grammar.extend"
> Preprocessing error on file cmdline.mli
> No level labelled ";" in entry "expr"
> Failure: "Grammar.extend"

Sylvain Le Gall
My company: http://www.ocamlcore.com
Linkedin:   http://fr.linkedin.com/in/sylvainlegall

Reply to: