install_binfile error MacOS
max0n1x opened this issue · comments
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?
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)