exercism / ocaml

Exercism exercises in OCaml.
https://exercism.org/tracks/ocaml
MIT License
93 stars 50 forks source link

Error "make: dune: No such file or directory" #375

Closed JimLynchCodes closed 1 year ago

JimLynchCodes commented 4 years ago

Hi!

Possibly the docs are out of date, but I am trying to install ocaml on my system and run the hello world tests.

I'm getting these errors when I try to run make even though I am in the hello-world directory and see that the dune file is right there:

dune clean
make: dune: No such file or directory
make: *** [clean] Error 1

Also, when I run opam init I get this error:

[NOTE] Will configure from built-in defaults.
Checking for available remotes: rsync and local, git, mercurial, darcs. Perfect!

<><> Fetching repository information ><><><><><><><><><><><><><><><><><><><>  🐫 
[ERROR] Could not update repository "default": OpamDownload.Download_fail(_, "Download command failed:
        \"/usr/local/bin/wget --content-disposition -t 3 -O
        /private/var/folders/jk/1yhv_4k52pg2y98xs_ct0dh80000gn/T/opam-66260-e7966f/index.tar.gz.part
        https://opam.ocaml.org/index.tar.gz -U opam/2.0.6\" exited with code 256")
[ERROR] Initial download of repository failed