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

Can't build sqoop! #50

Open
zengyuxing007 opened this issue Jun 17, 2020 · 0 comments
Open

Can't build sqoop! #50

zengyuxing007 opened this issue Jun 17, 2020 · 0 comments

Comments

@zengyuxing007
Copy link

I have used "dep ensure -v" to download all dependent modules to the vendor, but the compilation still reports errors

hzzengyuxing@test3:~/go/src/github.com/solo-io/sqoop$ make sqoop
CGO_ENABLED=0 GOARCH=amd64 GOOS=linux go build -ldflags="-X github.com/solo-io/sqoop/version.Version=dev" -gcflags=all="-N -l" -o /home/hzzengyuxing/go/src/github.com/solo-io/sqoop/_output/sqoop-linux-amd64 ./cmd/main.go
cmd/main.go:6:2: cannot find module providing package github.com/solo-io/go-utils/log: working directory is not part of a module
cmd/main.go:7:2: cannot find module providing package github.com/solo-io/go-utils/stats: working directory is not part of a module
cmd/main.go:8:2: cannot find module providing package github.com/solo-io/sqoop/pkg/setup: working directory is not part of a module
Makefile:79: recipe for target '/home/hzzengyuxing/go/src/github.com/solo-io/sqoop/_output/sqoop-linux-amd64' failed
make: *** [/home/hzzengyuxing/go/src/github.com/solo-io/sqoop/_output/sqoop-linux-amd64] Error 1

And the golang version I use is "go1.14.3 linux/amd64"

Currently sqoop uses gopkg, I think using go mod would be a better way....

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