You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello @noahehall I am not a dev in this repo. Running 'make install' in almost any project will fail because the build system assumes you want to install into system-controlled directories, not to directories in the user's home. So 'sudo' is normally expected if one runs 'make install' with no modifications. However, this is also usually able to be overridden by changing an ENV variable.
I opened the Makefile for this project and noticed that it uses ENV variable 'INSTALL' as the prefix path for where the binary will be installed. If you take a look yourself, you'll see that this does indeed default to a system-controlled path. If you want to be able to install it locally, add an ENV variable assignment to with your make command like so: $ INSTALL=~/bin; make install
and then it will use the path you specify as the installation dir. Of course you can do things to make this permanent (including editing the Makefile to use your preferred default INSTALL value) if you want.
env
when following the setup in
just/readme.md
the cmd
make -C just install
failsbut it does work with sudo...
related
The text was updated successfully, but these errors were encountered: