Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot sudo make install because dune is not in sudo's PATH #225

Open
rafoo opened this issue Jan 6, 2021 · 2 comments
Open

Cannot sudo make install because dune is not in sudo's PATH #225

rafoo opened this issue Jan 6, 2021 · 2 comments

Comments

@rafoo
Copy link
Contributor

rafoo commented Jan 6, 2021

After a successful compilation with make, the README advises to run sudo make install but this fails in my environment:;

$ make
Done: 727/733 (jobs: 1)
$ sudo make install
[sudo] Mot de passe de cauderlier : 
make: dune: Command not found
make: *** [GNUmakefile:18: bin] Error 127
$ sudo dune install
sudo: dune : commande introuvable
$ dune --version
2.7.1
$ which dune
/home/cauderlier/.opam/4.10.1/bin/dune

IIRC, the problem is that I have no system-wide installation of dune but only a local one installed through Opam.

I suggest to add an opam file at the root of the repository so that Dedukti can be installed locally using opam pin.

@rafoo
Copy link
Contributor Author

rafoo commented Jan 6, 2021

I suggest to add an opam file at the root of the repository so that Dedukti can be installed locally using opam pin.

Actually there is one already...

@rafoo
Copy link
Contributor Author

rafoo commented Jan 6, 2021

Also remark that make install (without sudo) successfully installs the binaries locally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant