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_binfile error MacOS #195

Open
max0n1x opened this issue Feb 15, 2023 · 1 comment
Open

install_binfile error MacOS #195

max0n1x opened this issue Feb 15, 2023 · 1 comment

Comments

@max0n1x
Copy link

max0n1x commented Feb 15, 2023

I'm trying "make install" after qmake and make, but i have error and don't have any idea how to fix it

Console log:
zxc@macbook-air SASM-master % make install
/opt/homebrew/opt/qt@5/bin/qmake -install qinstall -exe /Users/zxc/Downloads/SASM-master/Linux/bin/fasm /usr/bin/fasm
Error copying /Users/zxc/Downloads/SASM-master/Linux/bin/fasm to /usr/bin/fasm: Cannot create /usr/bin/fasm for output
make: *** [install_binfile] Error 3

Macbook air m2
Ventura 13.1

I try to disable System Integrity Protection, but it doesn't work
Any solutions?

@wyan
Copy link

wyan commented Dec 28, 2023

You shouldn't install user binaries on /usr, pick a different prefix when doing qmake, for example qmake PREFIX=$HOME/local (but make sure ~/local exists and is in your path)

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

3 participants
@wyan @max0n1x and others