Trying to use GNU Make in my Mac, I was stuck:
|
|
The error message made it sound like I didn’t had Xcode nor the CLI tools installed (I had CLI tools installed). When I tried the command suggested by the error: I already had CLI tools installed.
|
|
I confirmed there was no ‘Software Update’ pending, so I hit a wall.
I tried a couple of times uninstalling the CLI tools and installing again, but ended up in the same place.
|
|
What sucks is that I could see working binaries in /Library/Developer/CommandLineTools/usr/bin/
but the default binary being used was pointing somewhere else (confirmed via which make
).
What ultimately resolved it was:
|
|
Nothing like copy-pasting lines from Stack Overflow into the CLI in sudo.