philips-labs/tabia

make build fails, exec: "stringer": executable file not found in $PATH

bartgolsteijn opened this issue · 2 comments

make build fails with the following error message:

$ make build
BIN_OUTPUT: bin/tabia
rm -rf bin/ cover.out
go generate ./...
go: downloading github.com/urfave/cli/v2 v2.2.0
go: downloading golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
go: downloading github.com/shurcooL/githubv4 v0.0.0-20200414012201-bbc966b061dd
go: downloading github.com/antonmedv/expr v1.8.8
go: downloading golang.org/x/net v0.0.0-20200602114024-627f9648deb9
go: downloading github.com/shurcooL/graphql v0.0.0-20181231061246-d48a9a75455f
go: downloading github.com/cpuguy83/go-md2man/v2 v2.0.0
go: downloading github.com/russross/blackfriday/v2 v2.0.1
go: downloading github.com/shurcooL/sanitized_anchor_name v1.0.0
lib/github/github.go:32: running "stringer": exec: "stringer": executable file not found in $PATH
make: *** [generate] Error 1

First run the install-tools make target.

make install-tools

It will install the development tools as defined in tools.go.

Extend README.md this information and hint to add ~/bin/go to the path.