Closed sahand12 closed 3 years ago
Looks like the -D
flag is a GNU thing, I removed it.
Please create a new issue if there's another problem with building, unfortunately I don't have a mac to test things on.
thanks for the immediate response, but the issue continued this time with ''-- t " illegal option
Turns out neither of the flags were actually needed :smile: Let me know if it installs now.
For future reference, the man page for install
on macOS can be found on the Unix forums. The compatible flags are -BbCcdfgMmopSsv
.
Works now for the most part. Only problem is that it tries to install into /usr/bin
, when user programs are best placed into /usr/local/bin
on macOS. The latter is writeable without using sudo
. Up to you though.
go version go1.15.5 darwin/amd64
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/c++/4.2.1 Apple clang version 12.0.0 (clang-1200.0.32.29) Target: x86_64-apple-darwin19.6.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin