Skip to content

Problem installing Xake on Mac OS #3

@minarzp

Description

@minarzp

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions