Skip to content

Can't build sqoop!  #50

Open
Open

Description

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions