Closed sevillaarvin closed 5 years ago
Hello! Sorry for the late answer, for some reason I missed the notification.
I'm not sure why js-of-ocaml is not available on Ubuntu, but you figured that using opam solved the problem, so that's good.
Regarding the Char.lowercase_ascii issue, see: https://github.com/doomeer/factorio/issues/60
Basically, please upgrade to OCaml 4.03 at least (but the latest 4.07 should be fine as well I think).
Hi, I'm a beginner so I apologize in advance if this question doesn't make sense.
When I try to execute
sudo apt-get install ocaml ocaml-findlib camlp4 js-of-ocaml
I getE: Unable to locate package js-of-ocaml
on my Ubuntu 18.04.I tried:
But when I execute
make
I get:ocamlbuild -no-links -use-ocamlfind -tag annot factoriojs.bytemake: ocamlbuild: Command not foundMakefile:36: recipe for target '_build/factoriojs.byte' failedmake: *** [_build/factoriojs.byte] Error 127EDIT: Fixed above bysudo apt install ocamlbuild
ocamlbuild -no-links -use-ocamlfind -tag annot factoriojs.byte+ ocamlfind ocamldep -package js_of_ocaml.syntax -syntax camlp4o -package js_of_ocaml -modules factoriojs.ml > factoriojs.ml.dependsocamlfind: Package `js_of_ocaml.syntax' not foundCommand exited with code 2.Compilation unsuccessful after building 1 target (0 cached) in 00:00:00.Makefile:36: recipe for target '_build/factoriojs.byte' failedmake: *** [_build/factoriojs.byte] Error 10When I rerunEDIT: Fixed above usingopam install js_of_ocaml
I get[NOTE] Package js_of_ocaml is already installed (current version is 3.2.0).
opam install js_of_ocaml-camlp4
When I run
make
I get:Any help would be appreciated. Thanks!