-
Notifications
You must be signed in to change notification settings - Fork 1
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
Problem installing Xake on Mac OS #3
Comments
I have the same issue. I ran the install with the debug option: brew install ximeraproject/xake/xake -d In additional to the message @minarzp produced, this was added on (I choose "raise" option):
If reporting this issue, please do so at (not Homebrew/brew or Homebrew/core): /usr/bin/curl --disable --globoff --show-error --user-agent Homebrew/2.2.16\ (Macintosh;\ Intel\ Mac\ OS\ X\ 10.14.6)\ curl/7.54.0 --retry 3 --location https://api.github.com/search/issues\?q=xake\+state\%3Aopen\+repo\%3Aximeraproject\%2Fhomebrew-xake\+in\%3Atitle\&per_page=100 --header Accept:\ application/vnd.github.v3+json --write-out ' Thanks for help. |
Update: I managed to install xake from source (https://github.com/XimeraProject/xake/blob/master/docs/install.md), with a couple small modifications:
There has been a change to cli API since the last Xake update and the code is no longer compatible (see urfave/cli#925). Short of migrating to cli v2, we need to pin to v1 by importing the following in main.go:
I'll see if I can send a commit with these 2 fixes. |
Thanks for this update. I was able to download and install xake. I hope to work out the bugs in deploying, now. |
Any updates on this? I tried to follow the default instructions and had the same issue as @minarzp originally. Will try the fix mentioned above as well. Edit: The instructions given in the May 17th post work for me. |
Implement suggested edits in May 17 post at XimeraProject/homebrew-xake#3
I'm trying to install xake by following the instructions here: https://ximera.osu.edu/introduction/gettingStarted/installingLocallyMac/installingLocally
First, for installing go, the "cross-compile-common" option doesn't seem to exist anymore, so I just installed it without the option ("brew install go"). Then trying to install Xake by
"brew install ximeraproject/xake/xake"
I get the following error:
Last 15 lines from /Users/mina/Library/Logs/Homebrew/xake/04.go:
cli.BoolFlag does not implement cli.Flag (Apply method has pointer receiver)
./main.go:113:15: cannot use cli.BoolFlag literal (type cli.BoolFlag) as type cli.Flag in slice literal:
cli.BoolFlag does not implement cli.Flag (Apply method has pointer receiver)
./main.go:117:15: cannot use cli.BoolFlag literal (type cli.BoolFlag) as type cli.Flag in slice literal:
cli.BoolFlag does not implement cli.Flag (Apply method has pointer receiver)
./main.go:121:14: cannot use cli.IntFlag literal (type cli.IntFlag) as type cli.Flag in slice literal:
cli.IntFlag does not implement cli.Flag (Apply method has pointer receiver)
./main.go:126:17: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in slice literal:
cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver)
./main.go:131:17: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in slice literal:
cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver)
./main.go:136:17: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in slice literal:
cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver)
./main.go:165:11: invalid argument c.Args() (type cli.Args) for len
./main.go:165:11: too many errors
I have OS X Catalina 10.15.4 (19E287) and golang version go1.14.2 darwin/amd64.
Could you please advise what is the problem? I've also tried building Xake from source using the instructions in https://github.com/XimeraProject/xake/blob/master/docs/install.md,
and I get the same error.
Thanks a lot.
--Mina
The text was updated successfully, but these errors were encountered: