emily icon indicating copy to clipboard operation
emily copied to clipboard

"sudo make install" broken on Debian

Open jseakle opened this issue 9 years ago • 1 comments

On my system (Debian wheezy), after 'make' succeeds, 'sudo make install' fails like so:

~/testmake/emily$ sudo make install
install -d /usr/local/bin
install -d /usr/local/share/man/man1
ocamlbuild -no-links -use-ocamlfind src/main.native
make: ocamlbuild: Command not found
make: *** [_build/src/main.native] Error 127

removing the dependency 'all' from the 'install:' target (line 49) causes it to work perfectly.

jseakle avatar Feb 16 '15 23:02 jseakle

Where is ocamlbuild installed? Is sudo set up to sanitize your PATH/the environment? It looks like ocamlbuild isn't available to your root user.

mistydemeo avatar Mar 26 '15 01:03 mistydemeo