wireguard tools cannot be installed on macos
My mac os version is Sonoma 14.4
I am installing wireguard tools from:
https://git.zx2c4.com/wireguard-tools/about/
Here are the steps I followed:
1) git clone <url above>
2) cd src; make
3) make install
At step 3 I get this error:
install: chmod 755 /usr/bin: Operation not permitted
install: /usr/bin/wg: Operation not permitted
make: *** [install] Error 71
I tried:
1) sudo make install
sudo does not accept my password
2) sudo -s
Again I got the error messages above even though I was root.
bash-3.2# whoami
root
The /etc/sudoers file does contain 'admin'.
# root and users in group wheel can run anything on any machine as any user
root ALL = (ALL) ALL
%admin ALL = (ALL) ALL
How should I proceed ?
Many thanks.
MacBook Air 13″, macOS 14.4