Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make install fails on OS X #7

Closed
cviebrock opened this issue Jun 28, 2021 · 3 comments · Fixed by #9
Closed

make install fails on OS X #7

cviebrock opened this issue Jun 28, 2021 · 3 comments · Fixed by #9

Comments

@cviebrock
Copy link

> sudo make install
Password:

install -Dm755 bin/tt -t /usr/local/bin
install: illegal option -- D
usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
               [-o owner] file1 file2
       install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
               [-o owner] file1 ... fileN directory
       install -d [-v] [-g group] [-m mode] [-o owner] directory ...
make: *** [install] Error 64

This is on OSX 10.15.7 with go version go1.16.5 darwin/amd64 installed via brew. It doesn't look like the OSX version of install has a -D option, so maybe this could be done with mkdir -p instead?

@AulonSal
Copy link
Contributor

Hey, not the maintainer, but would this Makefile, https://github.com/AulonSal/tt/blob/969e752c162caf26622a041e2c6e51872804fb9c/Makefile, work for you?

@lemnos
Copy link
Owner

lemnos commented Jul 27, 2021

Sorry this took so long. @AulonSal's patch looks like it should do the trick but I can't test it since I don't have a mac. Confirmation would be appreciated.

Thanks

@cviebrock
Copy link
Author

Works now @lemnos ... thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants