Open mthl opened 4 years ago
Hi!
did you perform:
opam install --deps-only .
to install the dependencies? Did you properly configure your environment with eval $(opam env)
?
I have used the following commands before running make
opam switch create . --deps-only --locked
opam install opam-installer
eval $(opam env)
Thanks for your quick reply.
Hi!
did you perform:
opam install --deps-only .
to install the dependencies? Did you properly configure your environment with
eval $(opam env)
?
Had the same issue in macOS 10.15.2 and this command solved it.
Hello, I gave up on this issue. the time required to run opam related command take way too long for me to continue investigating more.
the last time I tried, I noticed that there was an issue in the opam install opam-installer
step.
# ...
#=== ERROR while compiling opam-installer.2.0.6 ===============================#
# context 2.0.3 | linux/x86_64 | ocaml-system.4.05.0 | https://opam.ocaml.org#f1b6c3c1
# path ~/src/learn-ocaml/_opam/.opam-switch/build/opam-installer.2.0.6
# command ~/.opam/opam-init/hooks/sandbox.sh build make opam-installer.install
# exit-code 2
# env-file ~/.opam/log/opam-installer-29057-f7c249.env
# output-file ~/.opam/log/opam-installer-29057-f7c249.out
### output ###
# dune build --profile=release opam-installer.install
# Error: mkdir: _build: Read-only file system
# make: *** [Makefile:110: opam-installer.install] Error 1
# ...
Maybe unrelated but I noticed that when installing opam on debian it installs an older version of opam-installer which might be related.
Anyway thanks to everyone who have provided some input on that issue.
Hi! I got the environment properly set up on MacOS with
opam switch create . 4.05.0 --deps-only //I got problems with newer versions
opam install opam-installer.2.0.5 //I got problems with newer versions
eval $(opam env)
opam install --deps-only .
Hello,
I am unable to build
learn-ocaml
master branch (7f3ce568000b042986d735745b27fb5b53a56dfb) on my system with opam 2.0.3 and ocaml-4.05.0. Here is the error message I am getting when doingmake
Any clue how to solve this?