Open Et7f3 opened 5 years ago
I have tested like the README
make produce the same error
make install produce this eror
make: *** No rule to make target 'eliom.install', needed by 'install'. Stop.
I have tested form cygwin terminal or cmd and the same bug happen so I show cmd syntax but is easy to convert to bash syntax or whatever ( ask me if you you )
step to reproduce: 1) Install cygwin 32 bits
2) Install dependencies
set root="X:\cygwin32" setup-x86.exe --site http://cygwin.mirror.constant.com --quiet-mode --root %root% --arch x86 --disable-buggy-antivirus --local-package-dir %root% --prune-install --packages opam,libgmp-devel,libssl-devel,libgdbm-devel,libpcre-devel,zlib-devel,libgtk2.0-devel,xinit
3) init opam with ocaml-base-compiler switch ( the default can't build dune so it can't build eliom )
%root%\bin\opam.exe init -n --compiler=ocaml-base-compiler --switch=ocaml-base-compiler
4) clone this repo
%root%\bin\git clone https://github.com/ocsigen/eliom.git
5) set some environment variable (like path) or switch to cygwin terminal (mintty will do that for you)
dont forget to eval $(opam env)
6) cd eliom
7) make -n
ocamlbuild -no-plugin -I src/ocamlbuild -no-links -use-ocamlfind build/build.native 1> /dev/null ocaml pkg/build.ml manpage=false native=true native-dynlink=true
8) execute first line Ocamlbuild exit with 0 status code and doesn't print anything.
9) execute last line it exit with status code 10. The last command that fail
File "src/tools/distillery.ml", line 300, characters 16-32:
Warning 3: deprecated: Stdlib.String.lowercase
Use String.lowercase_ascii instead.
+ ocamlfind ocamldep -package js_of_ocaml-ppx.deriving -package react,js_of_ocaml,reactiveData -package lwt_react,tyxml.functor,js_of_ocaml.tyxml,js_of_ocaml-lwt,js_of_ocaml-lwt.logger -package deriving.runtime,js_of_ocaml.deriving -package ocsigenserver.cookies,ocsigenserver.polytables,ocsigenserver.baselib.base -modules src/lib/client/eliom_bus.mli > src/lib/client/eliom_bus.mli.depends
File "_none_", line 1:
Error: Cannot load js_of_ocaml-ppx_deriving_json: error loading shared library: Permission denied
Command exited with code 2.
Compilation unsuccessful after building 67 targets (4 cached) in 00:01:38.
Hello,
I'm Cygwin user on Windows 10. I have installed all dependencies (you can see dbm, lwt_ssl, and so on are already installed by opam) I have this eror message. So I decide to clean and retry and get the same erorr
I gave you the version of opam. My Cygwin package are all up to date. I have cygwin 32 bits (because 64bits can't buil dune), windows 64 bits.