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 error #5

Open
najsgrgutin opened this issue Apr 12, 2021 · 3 comments
Open

Makefile error #5

najsgrgutin opened this issue Apr 12, 2021 · 3 comments

Comments

@najsgrgutin
Copy link

Hi,

can you, somehow, help me with the installation of this useful tool?
I have successfully installed GOLANG and configured path variables like the tutorial stated but running Makefile returns an error at line 9: The system cannot find the file specified.
I'm not able to solve this issue because I'm not familiar with Makefiles and I'm not sure which file is missing.

Thank you in advance!

@OscarTHZhang
Copy link

OscarTHZhang commented May 12, 2021

Specifically, here is an error on my end. Not sure if this is a mistake from Makefile or just my go path issue.

$ make 
env CGO_ENABLED=0 env GOPATH=/Users/Oscar/binlog-parser/_vendor:/Users/Oscar/binlog-parser go install -ldflags '-s' zalora/binlog-parser/...
go: warning: "zalora/binlog-parser/..." matched no packages

@nathan-bowman
Copy link

I just ran into this problem, I was able to solve it with

go env -w GO111MODULE=off

Then make worked properly

@OscarTHZhang
Copy link

@nathan-bowman I was able to solve this problem by the command you gave. 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

No branches or pull requests

3 participants