Closed djs55 closed 10 years ago
Is Xenstore packed? That looks like it isn't.
-anil
On 19 Jun 2013, at 11:17, Dave Scott notifications@github.com wrote:
utop $ #require "xenstore.unix";; /usr/lib64/ocaml/findlib: added to search path
/usr/lib64/ocaml/lwt: added to search path
/usr/lib64/ocaml/react: added to search path
/usr/lib64/ocaml/camomile: added to search path /usr/lib64/ocaml/zed: added to search path /usr/lib64/ocaml/lambda-term: added to search path /usr/lib64/ocaml/utop: added to search path /usr/lib64/ocaml/dynlink.cma: loaded /usr/lib64/ocaml/camlp4: added to search path /usr/lib64/ocaml/camlp4/camlp4o.cma: loaded /usr/lib64/ocaml/utop/utop-camlp4.cma: loaded Camlp4 Parsing version 4.00.1/usr/lib64/ocaml/optcomp: added to search path /usr/lib64/ocaml/optcomp/optcomp.cma: loaded /usr/lib64/ocaml/ocplib-endian: added to search path /usr/lib64/ocaml/ocplib-endian/ocplib_endian.cma: loaded /usr/lib64/ocaml/ocplib-endian/bigstring.cma: loaded /usr/lib64/ocaml/cstruct: added to search path /usr/lib64/ocaml/cstruct/cstruct.cma: loaded /usr/lib64/ocaml/cstruct/cstruct-syntax.cma: loaded /usr/lib64/ocaml/xenstore: added to search path /usr/lib64/ocaml/xenstore/xenstore.cma: loaded /usr/lib64/ocaml/xenstore/xenstore_client_unix.cma: loaded ... utop $ #use "io.ml";; Error: Parse error: unknown directive ``use''
It might be one of the dependencies above. This is on CentOS6.4 with my experimental RPMs (so it might be a packaging issue)— Reply to this email directly or view it on GitHub.
Hm I packed one part of it recently. Maybe I failed to update the META file?
On Wednesday, June 19, 2013, Anil Madhavapeddy wrote:
Is Xenstore packed? That looks like it isn't.
-anil
On 19 Jun 2013, at 11:17, Dave Scott <notifications@github.com<javascript:_e({}, 'cvml', 'notifications@github.com');>> wrote:
utop $ #require "xenstore.unix";; /usr/lib64/ocaml/findlib: added to search path /usr/lib64/ocaml/lwt: added to search path /usr/lib64/ocaml/react: added to search path /usr/lib64/ocaml/camomile: added to search path /usr/lib64/ocaml/zed: added to search path /usr/lib64/ocaml/lambda-term: added to search path /usr/lib64/ocaml/utop: added to search path /usr/lib64/ocaml/dynlink.cma: loaded /usr/lib64/ocaml/camlp4: added to search path /usr/lib64/ocaml/camlp4/camlp4o.cma: loaded /usr/lib64/ocaml/utop/utop-camlp4.cma: loaded Camlp4 Parsing version 4.00.1
/usr/lib64/ocaml/optcomp: added to search path /usr/lib64/ocaml/optcomp/optcomp.cma: loaded /usr/lib64/ocaml/ocplib-endian: added to search path /usr/lib64/ocaml/ocplib-endian/ocplib_endian.cma: loaded /usr/lib64/ocaml/ocplib-endian/bigstring.cma: loaded /usr/lib64/ocaml/cstruct: added to search path /usr/lib64/ocaml/cstruct/cstruct.cma: loaded /usr/lib64/ocaml/cstruct/cstruct-syntax.cma: loaded /usr/lib64/ocaml/xenstore: added to search path /usr/lib64/ocaml/xenstore/xenstore.cma: loaded /usr/lib64/ocaml/xenstore/xenstore_client_unix.cma: loaded ... utop $ #use "io.ml";; Error: Parse error: unknown directive ``use'' It might be one of the dependencies above. This is on CentOS6.4 with my experimental RPMs (so it might be a packaging issue)
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHubhttps://github.com/djs55/ocaml-xenstore/issues/7#issuecomment-19679383 .
Dave Scott
It looks like it breaks when optcomp is loaded:
utop $ #use "foo";;
Cannot find file foo.
-- good
─utop $ #require "camlp4";;
/usr/lib64/ocaml/threads: added to search path
/usr/lib64/ocaml/findlib: added to search path
/usr/lib64/ocaml/lwt: added to search path
/usr/lib64/ocaml/react: added to search path
/usr/lib64/ocaml/camomile: added to search path
/usr/lib64/ocaml/zed: added to search path
/usr/lib64/ocaml/lambda-term: added to search path
/usr/lib64/ocaml/utop: added to search path
/usr/lib64/ocaml/dynlink.cma: loaded
/usr/lib64/ocaml/camlp4: added to search path
/usr/lib64/ocaml/camlp4/camlp4o.cma: loaded
/usr/lib64/ocaml/utop/utop-camlp4.cma: loaded
Camlp4 Parsing version 4.00.1
utop $ #use "foo";;
Cannot find file foo.
-- still working
─utop $ #require "optcomp";;
/usr/lib64/ocaml/optcomp: added to search path
/usr/lib64/ocaml/optcomp/optcomp.cma: loaded
utop $ #use "foo";;
Error: Parse error: unknown directive ``use''
-- broken
The same thing happens on Ubuntu via opam (above was CentOS using my custom RPMs)
It could be a utop issue-- I've packaged 1.4 but I see 1.5 is available on github.
It all works beautifully with optcomp 1.5
It might be one of the dependencies above. This is on CentOS6.4 with my experimental RPMs (so it might be a packaging issue)