climech / grit

Multitree-based personal task manager
MIT License
1.67k stars 47 forks source link

Error building in osx 10.15.7 #3

Closed sahand12 closed 3 years ago

sahand12 commented 3 years ago

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

climech commented 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.

sahand12 commented 3 years ago

thanks for the immediate response, but the issue continued this time with ''-- t " illegal option

climech commented 3 years ago

Turns out neither of the flags were actually needed :smile: Let me know if it installs now.

ron-wolf commented 3 years ago

For future reference, the man page for install on macOS can be found on the Unix forums. The compatible flags are -BbCcdfgMmopSsv.

ron-wolf commented 3 years ago

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.