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

Makefile doesn't work manually #11

Open
eriknordmark opened this issue Aug 3, 2023 · 5 comments
Open

Makefile doesn't work manually #11

eriknordmark opened this issue Aug 3, 2023 · 5 comments
Assignees

Comments

@eriknordmark
Copy link
Contributor

Back in eve/api I could do a make proto and it ran protoc etc.
That was using the go builder.

When I try that (under Linux) in the eve-api repo it fails with
nordmark@bobo:/main/eve-api$ make proto
rm -rf go//; mkdir -p go # building proto-api-go
protoc -I./proto --go_out=paths=source_relative:./go proto/
/*.proto
/bin/sh: 1: protoc: not found
make: *** [Makefile:19: proto-api-go] Error 127
nordmark@bobo:
/main/eve-api$ which protoc
nordmark@bobo:/main/eve-api$ make
protodot -inc /usr/include -src ./proto/config/devconfig.proto -output devconfig -generated ./images
make: protodot: No such file or directory
make: *** [Makefile:2: proto-diagram] Error 127
nordmark@bobo:
/main/eve-api$

Can we make this work, or add the prerequisite installs to the README.md?

@deitch
Copy link
Contributor

deitch commented Aug 6, 2023

The prerequisites are listed in the README here.

The other question is whether we want to containerize this so that it is all set ups, the same way we did in eve? I don't think we want that heavy go-builder for this, we could do something much more lightweight.

Is it worth it?

@eriknordmark
Copy link
Contributor Author

eriknordmark commented Aug 7, 2023 via email

@deitch
Copy link
Contributor

deitch commented Aug 7, 2023

Then incomplete.

Can you post here what versions of the tools you have?

Yes CI is running the tools as well. I suspect minimum version or flags or such. Let's use this failure to narrow down the issue.

Maybe we should make it run-in-docker with an option to run locally? Rather than the current run locally? I'll look into that.

Either way, do post your versions.

@eriknordmark
Copy link
Contributor Author

Either way, do post your versions.

FWIW
protoc --version
libprotoc 3.12.4

@deitch
Copy link
Contributor

deitch commented Aug 9, 2023

That is a bit old, as in released July 2020. I suspect that is the issue.

Either way, we now have the devcontainer setup.

Can we close this?

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

No branches or pull requests

2 participants