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

Install to /usr/local/ for macos #212

Closed
wants to merge 1 commit into from

Conversation

shitbread
Copy link

Macos does not allow modifying /usr unless System Integrity Protection (SIP) is disabled, this workaround fixes make install on stock macos

@pelwell
Copy link
Contributor

pelwell commented Apr 4, 2024

I don't think this will be merged, but see #208 and timg236@e5ffdac.

@shitbread
Copy link
Author

Ok, currently make install fails on macos because /usr/bin is not writable even by root. Maybe we could add an OS flag?

@timg236
Copy link
Collaborator

timg236 commented Apr 10, 2024

With the referenced PR you would do

make INSTALL_PREFIX=/usr/local install

@timg236
Copy link
Collaborator

timg236 commented Apr 11, 2024

The Makefile now supports INSTALL_PREFIX if you want to use a non-default install path

@timg236 timg236 closed this Apr 11, 2024
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

Successfully merging this pull request may close these issues.

3 participants