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

make fails due to missing dependencies #26

Open
dvolpato opened this issue Apr 7, 2020 · 1 comment
Open

make fails due to missing dependencies #26

dvolpato opened this issue Apr 7, 2020 · 1 comment

Comments

@dvolpato
Copy link

dvolpato commented Apr 7, 2020

After cloning the repo and running make, I get the following error:

/bin/sh: 1: cd: can't cd to /home/daniel/Projects/git/fhirbase/.gopath/pkg/mod/github.com/gobuffalo/packr@v1.26.1-0.20190624180515-bded308e56b4/
Makefile:32: recipe for target '/home/daniel/Projects/git/fhirbase/.gopath/bin/packr' failed
make: *** [/home/daniel/Projects/git/fhirbase/.gopath/bin/packr] Error 2

As I understand, Makefile changes the GOPATH and the dependencies are never met, even if one manually runs go get before calling make. So go get must be called from the Makefile.

@dvolpato
Copy link
Author

dvolpato commented Apr 7, 2020

I'm submitting for review a small patch to fix this.
make-run-go-get-to-meet-dependencies.zip

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

1 participant