# Pastebin oGz9CGEX =-=-= Installing js_of_ocaml.2.2 =-=-= Building js_of_ocaml.2.2: make build make install-lib BINDIR=/home/lostman/.opam/system/bin [ERROR] The compilation of js_of_ocaml.2.2 failed. Removing js_of_ocaml.2.2. ocamlfind remove js_of_ocaml ===== ERROR while installing js_of_ocaml.2.2 ===== # opam-version 1.1.1 # os linux # command make build # path /home/lostman/.opam/system/build/js_of_ocaml.2.2 # compiler system (4.01.0) # exit-code 2 # env-file /home/lostman/.opam/system/build/js_of_ocaml.2.2/js_of_ocaml-337-ffb3fd.env # stdout-file /home/lostman/.opam/system/build/js_of_ocaml.2.2/js_of_ocaml-337-ffb3fd.out # stderr-file /home/lostman/.opam/system/build/js_of_ocaml.2.2/js_of_ocaml-337-ffb3fd.err ### stdout ### # ...[truncated] # sort | uniq)) \ # > stubs.c # ocamlfind ocamlc -package lwt -c stubs.c # ocamlmklib -o js_of_ocaml js.cmo dom.cmo typed_array.cmo dom_html.cmo file.cmo dom_events.cmo firebug.cmo lwt_js.cmo sys_js.cmo regexp.cmo cSS.cmo url.cmo form.cmo xmlHttpRequest.cmo event_arrows.cmo lwt_js_events.cmo json.cmo webGL.cmo webSockets.cmo keycode.cmo stubs.o # ocamlfind ocamlopt -package camlp4.extend,camlp4.quotations -syntax camlp4o -c syntax/pa_js.ml # ocamlfind ocamlopt -shared -linkall -o syntax/pa_js.cmxs syntax/pa_js.cmx # ocamlfind ocamlc -package lwt,graphics -I ./ graphics/graphics_js.mli -o graphics/graphics_js.cmi # Makefile:93: recipe for target 'graphics/graphics_js.cmi' failed # make[1]: Leaving directory '/home/lostman/.opam/system/build/js_of_ocaml.2.2/lib' # Makefile:16: recipe for target 'library' failed ### stderr ### # ...[truncated] # Warning: you are using the standard library and/or the %inline keyword. We # recommend switching on --infer in order to avoid obscure type error messages. # Warning: 12 states have shift/reduce conflicts. # Warning: 47 shift/reduce conflicts were arbitrarily resolved. # Warning: you are using the standard library and/or the %inline keyword. We # recommend switching on --infer in order to avoid obscure type error messages. # File "graphics/graphics_js.mli", line 22, characters 23-31: # Error: Unbound module Graphics # make[1]: *** [graphics/graphics_js.cmi] Error 2 # make: *** [library] Error 2 'opam install js_of_ocaml' failed.