janestreet / janestreet/learn-ocaml-workshop
Permissions issue when running dune build
Nobody has claimed this yet.
- Dominant language
- OCaml
- Stars
- 716
- Forks
- 174
- PR merge metrics
- No merged PRs in 30d
Description
I'm having some trouble running through this tutorial: https://github.com/janestreet/install-ocaml
I've cloned the files, installed the dependencies, but I'm not able to run 'dune' properly.
I'm running this command within the 01-install-ocaml folder: dune build hello_world.exe
I get this: -bash: ./dune: Permission denied
Then, I run using this command: sudo dune build hello_world.exe
I get this: sudo: dune: command not found
Here's my environment setup: macOS 10.15.2 (Catalina) and 'bash' in Terminal. Are there any steps I've missed? How would I check?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked install-ocaml tutorial and the reported dune build hello_world.exe command in the 01-install-ocaml folder. No repository file or test is identified; done would require reproducing the macOS setup problem and documenting an actionable correction or confirming the tutorial needs an update.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bash, macos, ocaml
- Domain
- build-system, cli, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100