Installation fails because of a make failure
RuyBlast opened this issue · 1 comments
Hi ocsigen team !
I work from Ubuntu 18.04.3, I tried to install ocsigen-start following the guidelines from https://ocsigen.org/tuto/6.4/manual/start and https://github.com/ocsigen/ocsigen-start/blob/master/template.distillery/README.md
Here is what I performed succesfully:
opam switch ocsigen_start --alias-of 4.07.0
eval `opam config env`
opam depext ocsigen-start
and here is were I fail:
$ opam install ocsigen-start
The following actions will be performed:
∗ install conf-dbm 1.0.0 [required by dbm]
∗ install conf-gmp 1 [required by conf-gmp-powm-sec, zarith]
∗ install conf-pkg-config 1.1 [required by conf-zlib]
∗ install seq base [required by re]
∗ install conf-perl 1 [required by zarith]
∗ install conf-m4 1 [required by ocamlfind]
∗ install dune 1.2.1 [required by jbuilder]
∗ install conf-which 1 [required by biniou]
∗ install ocamlbuild 0.12.0 [required by js_of_ocaml-ocamlbuild]
∗ install conf-gmp-powm-sec 1 [required by cryptokit]
∗ install conf-zlib 1 [required by cryptokit]
∗ install conf-openssl 1 [required by ssl]
∗ install conf-libpcre 1 [required by pcre]
∗ install ocamlfind 1.8.0 [required by macaque, eliom, ocsigen-i18n]
∗ install jbuilder transition [required by js_of_ocaml-camlp4, safepass]
∗ install uchar 0.0.2 [required by js_of_ocaml]
∗ install camlp4 4.07+1 [required by js_of_ocaml-camlp4, macaque]
∗ install ssl 0.5.6 [required by ocsigenserver]
∗ install zarith 1.7 [required by cryptokit]
∗ install ppx_tools 5.1+4.06.0 [required by eliom]
∗ install ocsigen-i18n 3.1.0 [required by ocsigen-start]
∗ install ocamlmod 0.0.9 [required by oasis]
∗ install ocamlify 0.0.1 [required by oasis]
∗ install num 1.1 [required by deriving]
∗ install dbm 1.2 [required by eliom]
∗ install calendar 2.04 [required by ocsigen-toolkit]
∗ install base-bytes base [required by eliom]
∗ install sexplib0 v0.11.0 [required by sexplib]
∗ install safepass 3.0 [required by ocsigen-start]
∗ install result 1.3 [required by lwt, ppx_deriving]
∗ install re 1.8.0 [required by tyxml, pgocaml]
∗ install ppx_derivers 1.0 [required by ppx_deriving]
∗ install ocaml-compiler-libs v0.11.0 [required by ppxlib]
∗ install js_of_ocaml-ocamlbuild 3.1.0 [required by eliom]
∗ install easy-format 1.3.1 [required by yojson]
∗ install cppo 1.6.5 [required by lwt, js_of_ocaml-compiler, ppx_deriving]
∗ install cryptokit 1.13 [required by ocsigenserver]
∗ install oasis 0.4.11 [required by macaque]
∗ install csv 2.1 [required by pgocaml]
∗ install parsexp v0.11.0 [required by sexplib]
∗ install base v0.11.1 [required by ppx_sexp_conv]
∗ install topkg 0.9.1 [required by react, cmdliner, uutf]
∗ install ocaml-migrate-parsetree 1.0.11 [required by js_of_ocaml]
∗ install biniou 1.2.0 [required by yojson]
∗ install cppo_ocamlbuild 1.6.0 [required by ppx_deriving]
∗ install deriving 0.8.1 [required by eliom, js_of_ocaml-camlp4]
∗ install pgocaml 2.3 [required by ocsigen-start]
∗ install sexplib v0.11.0 [required by ipaddr]
∗ install stdio v0.11.0 [required by ppxlib, pcre]
∗ install react 1.2.1 [required by ocsigenserver]
∗ install cmdliner 1.0.2 [required by js_of_ocaml-compiler]
∗ install ppx_tools_versioned 5.2.1 [required by js_of_ocaml]
∗ install yojson 1.4.1 [required by ocsigen-start]
∗ install ppx_deriving 4.2.1 [required by eliom]
∗ install js_of_ocaml-camlp4 3.1.0 [required by ocsigen-start]
∗ install macaque 0.7.4 [required by ocsigen-start]
∗ install ppxlib 0.3.0 [required by ppx_sexp_conv]
∗ install configurator v0.11.0 [required by pcre]
∗ install reactiveData 0.2.1 [required by eliom]
∗ install uutf 1.0.1 [required by tyxml]
∗ install lwt 3.3.0 [required by js_of_ocaml-lwt, ocsigenserver]
For the PPX, please install package lwt_ppx
For the Camlp4 syntax, please install package lwt_camlp4
∗ install js_of_ocaml-compiler 3.2.1 [required by js_of_ocaml]
∗ install ppx_sexp_conv v0.11.2 [required by ipaddr]
∗ install pcre 7.3.4 [required by ocsigenserver]
∗ install tyxml 4.2.0 [required by eliom]
For tyxml's ppx, please install tyxml-ppx.
Tyxml's camlp4-based libraries (tyxml.syntax and tyxml.parser) are now deprecated and will be removed in the next major version.
∗ install lwt_ssl 1.1.2 [required by ocsigenserver]
∗ install lwt_react 1.1.1 [required by ocsigenserver]
∗ install lwt_log 1.0.0 [required by eliom]
∗ install js_of_ocaml 3.2.0 [required by eliom]
∗ install ipaddr 2.8.0 [required by eliom]
∗ install ocamlnet 4.1.6 [required by ocsigenserver]
∗ install js_of_ocaml-ppx_deriving_json 3.2.0 [required by eliom]
∗ install js_of_ocaml-ppx 3.2.0 [required by eliom]
∗ install ocsigenserver 2.9 [required by eliom]
∗ install js_of_ocaml-tyxml 3.2.0 [required by eliom]
∗ install js_of_ocaml-lwt 3.2.1 [required by eliom]
∗ install eliom 6.3.0 [required by ocsigen-start]
∗ install ocsigen-toolkit 1.1.0 [required by ocsigen-start]
∗ install ocsigen-start 1.1.0
===== ∗ 79 =====
Do you want to continue ? [Y/n] y
=-=- Gathering sources =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[default] https://opam.ocaml.org/1.2.2/archives/biniou.1.2.0+opam.tar.gz downloaded
[default] https://opam.ocaml.org/1.2.2/archives/base.v0.11.1+opam.tar.gz downloaded
[default] https://opam.ocaml.org/1.2.2/archives/calendar.2.04+opam.tar.gz downloaded
[default] https://opam.ocaml.org/1.2.2/archives/cmdliner.1.0.2+opam.tar.gz downloaded
[default] https://opam.ocaml.org/1.2.2/archives/camlp4.4.07+1+opam.tar.gz downloaded
[default] https://opam.ocaml.org/1.2.2/archives/configurator.v0.11.0+opam.tar.gz downloaded
[default] https://opam.ocaml.org/1.2.2/archives/cppo.1.6.5+opam.tar.gz downloaded
[default] https://opam.ocaml.org/1.2.2/archives/cppo_ocamlbuild.1.6.0+opam.tar.gz downloaded
[default] https://opam.ocaml.org/1.2.2/archives/cryptokit.1.13+opam.tar.gz downloaded
[default] https://opam.ocaml.org/1.2.2/archives/csv.2.1+opam.tar.gz downloaded
[default] https://opam.ocaml.org/1.2.2/archives/dbm.1.2+opam.tar.gz downloaded
[default] https://opam.ocaml.org/1.2.2/archives/deriving.0.8.1+opam.tar.gz downloaded
[eliom] Archive in cache
[default] https://opam.ocaml.org/1.2.2/archives/easy-format.1.3.1+opam.tar.gz downloaded
[default] https://opam.ocaml.org/1.2.2/archives/ipaddr.2.8.0+opam.tar.gz downloaded
[default] https://opam.ocaml.org/1.2.2/archives/dune.1.2.1+opam.tar.gz downloaded
[default] https://opam.ocaml.org/1.2.2/archives/js_of_ocaml-compiler.3.2.1+opam.tar.gz downloaded
[default] https://opam.ocaml.org/1.2.2/archives/js_of_ocaml.3.2.0+opam.tar.gz downloaded
[default] https://opam.ocaml.org/1.2.2/archives/js_of_ocaml-camlp4.3.1.0+opam.tar.gz downloaded
[default] https://opam.ocaml.org/1.2.2/archives/js_of_ocaml-lwt.3.2.1+opam.tar.gz downloaded
[default] https://opam.ocaml.org/1.2.2/archives/js_of_ocaml-ocamlbuild.3.1.0+opam.tar.gz downloaded
[default] https://opam.ocaml.org/1.2.2/archives/js_of_ocaml-ppx.3.2.0+opam.tar.gz downloaded
[default] https://opam.ocaml.org/1.2.2/archives/js_of_ocaml-ppx_deriving_json.3.2.0+opam.tar.gz downloaded
[default] https://opam.ocaml.org/1.2.2/archives/lwt.3.3.0+opam.tar.gz downloaded
[lwt_react] Archive in cache
[default] https://opam.ocaml.org/1.2.2/archives/js_of_ocaml-tyxml.3.2.0+opam.tar.gz downloaded
[macaque] Archive in cache
[default] https://opam.ocaml.org/1.2.2/archives/lwt_ssl.1.1.2+opam.tar.gz downloaded
[default] https://opam.ocaml.org/1.2.2/archives/lwt_log.1.0.0+opam.tar.gz downloaded
[default] https://opam.ocaml.org/1.2.2/archives/num.1.1+opam.tar.gz downloaded
[default] https://opam.ocaml.org/1.2.2/archives/ocaml-compiler-libs.v0.11.0+opam.tar.gz downloaded
[ocamlbuild] Archive in cache
[default] https://opam.ocaml.org/1.2.2/archives/oasis.0.4.11+opam.tar.gz downloaded
[default] https://opam.ocaml.org/1.2.2/archives/ocaml-migrate-parsetree.1.0.11+opam.tar.gz downloaded
[default] https://opam.ocaml.org/1.2.2/archives/ocamlfind.1.8.0+opam.tar.gz downloaded
[default] https://opam.ocaml.org/1.2.2/archives/ocamlify.0.0.1+opam.tar.gz downloaded
[default] https://opam.ocaml.org/1.2.2/archives/ocamlmod.0.0.9+opam.tar.gz downloaded
[ocsigen-start] Archive in cache
[ocsigen-toolkit] Archive in cache
[ocsigenserver] Archive in cache
[default] https://opam.ocaml.org/1.2.2/archives/ocsigen-i18n.3.1.0+opam.tar.gz downloaded
[default] https://opam.ocaml.org/1.2.2/archives/parsexp.v0.11.0+opam.tar.gz downloaded
[default] https://opam.ocaml.org/1.2.2/archives/pcre.7.3.4+opam.tar.gz downloaded
[default] https://opam.ocaml.org/1.2.2/archives/pgocaml.2.3+opam.tar.gz downloaded
[default] https://opam.ocaml.org/1.2.2/archives/ppx_derivers.1.0+opam.tar.gz downloaded
[default] https://opam.ocaml.org/1.2.2/archives/ppx_deriving.4.2.1+opam.tar.gz downloaded
[default] https://opam.ocaml.org/1.2.2/archives/ppx_sexp_conv.v0.11.2+opam.tar.gz downloaded
[default] https://opam.ocaml.org/1.2.2/archives/ocamlnet.4.1.6+opam.tar.gz downloaded
[default] https://opam.ocaml.org/1.2.2/archives/ppx_tools.5.1+4.06.0+opam.tar.gz downloaded
[re] Archive in cache
[default] https://opam.ocaml.org/1.2.2/archives/ppx_tools_versioned.5.2.1+opam.tar.gz downloaded
[default] https://opam.ocaml.org/1.2.2/archives/ppxlib.0.3.0+opam.tar.gz downloaded
[default] https://opam.ocaml.org/1.2.2/archives/react.1.2.1+opam.tar.gz downloaded
[default] https://opam.ocaml.org/1.2.2/archives/reactiveData.0.2.1+opam.tar.gz downloaded
[default] https://opam.ocaml.org/1.2.2/archives/result.1.3+opam.tar.gz downloaded
[default] https://opam.ocaml.org/1.2.2/archives/safepass.3.0+opam.tar.gz downloaded
[default] https://opam.ocaml.org/1.2.2/archives/sexplib.v0.11.0+opam.tar.gz downloaded
[default] https://opam.ocaml.org/1.2.2/archives/sexplib0.v0.11.0+opam.tar.gz downloaded
[default] https://opam.ocaml.org/1.2.2/archives/ssl.0.5.6+opam.tar.gz downloaded
[default] https://opam.ocaml.org/1.2.2/archives/stdio.v0.11.0+opam.tar.gz downloaded
[default] https://opam.ocaml.org/1.2.2/archives/topkg.0.9.1+opam.tar.gz downloaded
[default] https://opam.ocaml.org/1.2.2/archives/uchar.0.0.2+opam.tar.gz downloaded
[default] https://opam.ocaml.org/1.2.2/archives/tyxml.4.2.0+opam.tar.gz downloaded
[default] https://opam.ocaml.org/1.2.2/archives/uutf.1.0.1+opam.tar.gz downloaded
[default] https://opam.ocaml.org/1.2.2/archives/yojson.1.4.1+opam.tar.gz downloaded
[default] https://opam.ocaml.org/1.2.2/archives/zarith.1.7+opam.tar.gz downloaded
=-=- Processing actions -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
∗ installed conf-m4.1
∗ installed conf-pkg-config.1.1
∗ installed conf-libpcre.1
∗ installed conf-perl.1
∗ installed conf-openssl.1
∗ installed conf-which.1
∗ installed conf-zlib.1
∗ installed conf-gmp.1
∗ installed conf-gmp-powm-sec.1
∗ installed conf-dbm.1.0.0
∗ installed seq.base
∗ installed ocamlfind.1.8.0
∗ installed base-bytes.base
∗ installed ocamlbuild.0.12.0
∗ installed dbm.1.2
∗ installed num.1.1
∗ installed calendar.2.04
∗ installed ocamlify.0.0.1
∗ installed ocamlmod.0.0.9
∗ installed ocsigen-i18n.3.1.0
∗ installed ppx_tools.5.1+4.06.0
∗ installed uchar.0.0.2
∗ installed dune.1.2.1
∗ installed zarith.1.7
∗ installed csv.2.1
∗ installed jbuilder.transition
∗ installed cppo.1.6.5
∗ installed cppo_ocamlbuild.1.6.0
∗ installed easy-format.1.3.1
∗ installed biniou.1.2.0
∗ installed js_of_ocaml-ocamlbuild.3.1.0
∗ installed ocaml-compiler-libs.v0.11.0
∗ installed ppx_derivers.1.0
∗ installed re.1.8.0
∗ installed cryptokit.1.13
∗ installed result.1.3
∗ installed safepass.3.0
∗ installed sexplib0.v0.11.0
∗ installed ocaml-migrate-parsetree.1.0.11
∗ installed parsexp.v0.11.0
∗ installed base.v0.11.1
∗ installed oasis.0.4.11
∗ installed ppx_deriving.4.2.1
∗ installed sexplib.v0.11.0
∗ installed stdio.v0.11.0
∗ installed ssl.0.5.6
∗ installed ppx_tools_versioned.5.2.1
∗ installed configurator.v0.11.0
∗ installed pcre.7.3.4
∗ installed topkg.0.9.1
∗ installed cmdliner.1.0.2
∗ installed react.1.2.1
∗ installed reactiveData.0.2.1
∗ installed uutf.1.0.1
∗ installed ppxlib.0.3.0
∗ installed yojson.1.4.1
∗ installed ppx_sexp_conv.v0.11.2
∗ installed ipaddr.2.8.0
∗ installed js_of_ocaml-compiler.3.2.1
∗ installed js_of_ocaml.3.2.0
∗ installed js_of_ocaml-ppx_deriving_json.3.2.0
∗ installed js_of_ocaml-ppx.3.2.0
∗ installed camlp4.4.07+1
∗ installed lwt.3.3.0
∗ installed lwt_log.1.0.0
∗ installed js_of_ocaml-lwt.3.2.1
∗ installed lwt_react.1.1.1
∗ installed pgocaml.2.3
∗ installed lwt_ssl.1.1.2
∗ installed macaque.0.7.4
∗ installed deriving.0.8.1
∗ installed js_of_ocaml-camlp4.3.1.0
∗ installed tyxml.4.2.0
∗ installed js_of_ocaml-tyxml.3.2.0
∗ installed ocamlnet.4.1.6
[ERROR] The compilation of ocsigenserver failed at "make".
Processing 76/79: [ocsigenserver: rm]
#=== ERROR while installing ocsigenserver.2.9 =================================#
# opam-version 1.2.2
# os linux
# command make
# path /home/milan/.opam/ocsigen_start/build/ocsigenserver.2.9
# compiler 4.07.0
# exit-code 2
# env-file /home/milan/.opam/ocsigen_start/build/ocsigenserver.2.9/ocsigenserver-23438-963f4e.env
# stdout-file /home/milan/.opam/ocsigen_start/build/ocsigenserver.2.9/ocsigenserver-23438-963f4e.out
# stderr-file /home/milan/.opam/ocsigen_start/build/ocsigenserver.2.9/ocsigenserver-23438-963f4e.err
### stdout ###
# [...]
# ocamlfind ocamlc -g -bin-annot -thread -I ../baselib -I ../http -package lwt_ssl -package bytes -package lwt.preemptive -package ipaddr -package netstring -package netstring-pcre -package findlib -package cryptokit -package tyxml -package tyxml.parser -package dynlink -I . -c ocsigen_server.mli
# ocamlfind ocamlc -g -bin-annot -thread -I ../baselib -I ../http -package lwt_ssl -package bytes -package lwt.preemptive -package ipaddr -package netstring -package netstring-pcre -package findlib -package cryptokit -package tyxml -package tyxml.parser -package dynlink -I . -c ocsigen_server.ml
# ocamlfind ocamlc -g -bin-annot -thread -a -o ocsigenserver.cma ocsigen_socket.cmo ocsigen_request_info.cmo ocsigen_command.cmo ocsigen_range.cmo ocsigen_extensions.cmo ocsigen_parseconfig.cmo ocsigen_http_client.cmo ocsigen_local_files.cmo ocsigen_server.cmo
# ocamlfind ocamlc -g -bin-annot -thread -I ../baselib -I ../http -package lwt_ssl -package bytes -package lwt.preemptive -package ipaddr -package netstring -package netstring-pcre -package findlib -package cryptokit -package tyxml -package tyxml.parser -package dynlink -I . -c server_main.ml
# ocamlfind ocamlc -g -bin-annot -thread -o ocsigenserver -linkpkg -linkall -thread -I ../baselib -I ../http -package lwt_ssl -package bytes -package lwt.preemptive -package ipaddr -package netstring -package netstring-pcre -package findlib -package cryptokit -package tyxml -package tyxml.parser -package dynlink -I . ../baselib/parsecommandline.cma ../baselib/baselib.cma ../baselib/polytables.cma ../http/http.cma ocsigenserver.cma server_main.cmo
# Makefile:55: recipe for target 'ocsigenserver' failed
# make[2] : on quitte le répertoire « /home/milan/.opam/ocsigen_start/build/ocsigenserver.2.9/src/server »
# Makefile:4: recipe for target 'all' failed
# make[1] : on quitte le répertoire « /home/milan/.opam/ocsigen_start/build/ocsigenserver.2.9/src »
# Makefile:8: recipe for target 'all' failed
### stderr ###
# [...]
# File "ocsigen_server.ml", line 1326, characters 8-27:
# Warning 3: deprecated: module Lwt_chan
# Use module Lwt_io.
# File "_none_", line 1:
# Error: Files ../baselib/baselib.cma(Ocsigen_commandline)
# and ../baselib/parsecommandline.cma(Ocsigen_getcommandline)
# make inconsistent assumptions over interface Ocsigen_getcommandline
# make[2]: *** [ocsigenserver] Error 2
# make[1]: *** [all] Error 2
# make: *** [all] Error 2
=-=- Error report -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
The following actions were aborted
∗ install eliom 6.3.0
∗ install ocsigen-start 1.1.0
∗ install ocsigen-toolkit 1.1.0
The following actions failed
∗ install ocsigenserver 2.9
The following changes have been performed
∗ install base v0.11.1
∗ install base-bytes base
∗ install biniou 1.2.0
∗ install calendar 2.04
∗ install camlp4 4.07+1
∗ install cmdliner 1.0.2
∗ install conf-dbm 1.0.0
∗ install conf-gmp 1
∗ install conf-gmp-powm-sec 1
∗ install conf-libpcre 1
∗ install conf-m4 1
∗ install conf-openssl 1
∗ install conf-perl 1
∗ install conf-pkg-config 1.1
∗ install conf-which 1
∗ install conf-zlib 1
∗ install configurator v0.11.0
∗ install cppo 1.6.5
∗ install cppo_ocamlbuild 1.6.0
∗ install cryptokit 1.13
∗ install csv 2.1
∗ install dbm 1.2
∗ install deriving 0.8.1
∗ install dune 1.2.1
∗ install easy-format 1.3.1
∗ install ipaddr 2.8.0
∗ install jbuilder transition
∗ install js_of_ocaml 3.2.0
∗ install js_of_ocaml-camlp4 3.1.0
∗ install js_of_ocaml-compiler 3.2.1
∗ install js_of_ocaml-lwt 3.2.1
∗ install js_of_ocaml-ocamlbuild 3.1.0
∗ install js_of_ocaml-ppx 3.2.0
∗ install js_of_ocaml-ppx_deriving_json 3.2.0
∗ install js_of_ocaml-tyxml 3.2.0
∗ install lwt 3.3.0
∗ install lwt_log 1.0.0
∗ install lwt_react 1.1.1
∗ install lwt_ssl 1.1.2
∗ install macaque 0.7.4
∗ install num 1.1
∗ install oasis 0.4.11
∗ install ocaml-compiler-libs v0.11.0
∗ install ocaml-migrate-parsetree 1.0.11
∗ install ocamlbuild 0.12.0
∗ install ocamlfind 1.8.0
∗ install ocamlify 0.0.1
∗ install ocamlmod 0.0.9
∗ install ocamlnet 4.1.6
∗ install ocsigen-i18n 3.1.0
∗ install parsexp v0.11.0
∗ install pcre 7.3.4
∗ install pgocaml 2.3
∗ install ppx_derivers 1.0
∗ install ppx_deriving 4.2.1
∗ install ppx_sexp_conv v0.11.2
∗ install ppx_tools 5.1+4.06.0
∗ install ppx_tools_versioned 5.2.1
∗ install ppxlib 0.3.0
∗ install re 1.8.0
∗ install react 1.2.1
∗ install reactiveData 0.2.1
∗ install result 1.3
∗ install safepass 3.0
∗ install seq base
∗ install sexplib v0.11.0
∗ install sexplib0 v0.11.0
∗ install ssl 0.5.6
∗ install stdio v0.11.0
∗ install topkg 0.9.1
∗ install tyxml 4.2.0
∗ install uchar 0.0.2
∗ install uutf 1.0.1
∗ install yojson 1.4.1
∗ install zarith 1.7
=-=- jbuilder.transition installed successfully -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
=> Jbuilder has been renamed and the jbuilder package is now a transition
package. Use the dune package instead.
The former state can be restored with:
opam switch import
"~/.opam/ocsigen_start/backup/state-20191006212158.export"
As a result, I tried to build ocsigen start from source as such:
$ git clone https://github.com/ocsigen/ocsigen-start.git
$ make
Makefile:182: .depend: Aucun fichier ou dossier de ce type
mkdir -p _deps
mkdir -p _deps/src/
mkdir -p _deps/src/
eliomdep -server -package pgocaml -package macaque.syntax -package calendar -package safepass -package resource-pooling -eliom-inc src/ src/os_db.ml > _deps/src/os_db.ml.server
/bin/sh: 1: eliomdep: not found
Makefile:191: recipe for target '_deps/src/os_db.ml.server' failed
make: *** [_deps/src/os_db.ml.server] Error 127
And now I am blocked and sad. What should I do to be able to install ocsigen-start ? I would love to use ocsigen to build a web app (this project rocks so much that I would even change os to do so!), I am really grateful for your help in advance :)
Best regards !
Hi !
With tenacity, I finally installed ocsigen-start upgrading to opam 2 and performing the following:
opam switch create ocsigen_start 4.07.1
# note : it did not work with 4.07.0, 4.08.0 nor 4.09.0
opam install depext
opam depext ocsigen-start
# npm : Depend on: node-gyp (>= 0.10.9) but won't be installed
#OS package installation failed
opam install ocsigen-start
# -> eliom make fails
opam upgrade
opam install eliom
However, templates like os.pgocaml were not loaded, so I could only build and run a simple basic.ppx template with command:
eliom-distillery -name myapp -template basic.ppx
Then, I fixed the npm issue reinstalling node-gyp, I then ran again opam depext
, OS were properly installed, and I could build the ocsigen-start app from:
eliom-distillery -name myapp -template os.pgocaml
I then compiled the app, but I could not navigate through nor login or register for a reason I do not figure out.
Best !